summaryrefslogtreecommitdiff
path: root/css/post/media.css
diff options
context:
space:
mode:
Diffstat (limited to 'css/post/media.css')
-rw-r--r--css/post/media.css16
1 files changed, 16 insertions, 0 deletions
diff --git a/css/post/media.css b/css/post/media.css
new file mode 100644
index 00000000..c1dd9608
--- /dev/null
+++ b/css/post/media.css
@@ -0,0 +1,16 @@
+img {
+ width: 100%;
+ height: auto;
+}
+.video-container {
+ width: 100%;
+ padding-top: 56.25%;
+ position: relative;
+}
+.video-container>iframe {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+}