aboutsummaryrefslogtreecommitdiff
path: root/client/css/posts.styl
diff options
context:
space:
mode:
Diffstat (limited to 'client/css/posts.styl')
-rw-r--r--client/css/posts.styl29
1 files changed, 29 insertions, 0 deletions
diff --git a/client/css/posts.styl b/client/css/posts.styl
new file mode 100644
index 0000000..3ea0f8b
--- /dev/null
+++ b/client/css/posts.styl
@@ -0,0 +1,29 @@
+@import colors
+
+.post-container
+ text-align: center
+ .post-content
+ text-align: left
+ margin: 0 auto
+ max-height: 100%
+ max-width: 100%
+ object-fit: contain
+ position: relative
+
+ img, object, video, .post-overlay
+ position: absolute
+ height: 100%
+ width: 100%
+ left: 0
+ right: 0
+ top: 0
+ bottom: 0
+
+ .post-overlay>*
+ position: absolute
+ left: 0
+ right: 0
+ top: 0
+ bottom: 0
+ width: 100%
+ height: 100%

© 2015 - 2026 Jakob L. Kreuze