summaryrefslogtreecommitdiff
path: root/css/post/media.css
diff options
context:
space:
mode:
authormuqiuhan <[email protected]>2023-02-28 09:58:51 +0000
committermuqiuhan <[email protected]>2023-02-28 09:58:51 +0000
commit7e2f3fca091c08771486df0b870ce187f869d363 (patch)
tree025e1b18a0d94c940a85eb631a7f48951efbc18d /css/post/media.css
parent2605fd54aa163fcfc97fc265a300b1b54bf38543 (diff)
downloadblog-7e2f3fca091c08771486df0b870ce187f869d363.tar.gz
deploy: b780169745c17f9fc971299e923e5ca5669b5a22
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%;
+}