Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
1 files changed, 9 insertions, 4 deletions
-rw-r--r--src/_media.scss13
diff --git a/src/_media.scss b/src/_media.scss
index 9b6aa1d..4029e4c 100644
--- a/src/_media.scss
+++ b/src/_media.scss
@@ -1,4 +1,5 @@
// Media
+// Image responsive
.img-responsive {
display: block;
height: auto;
@@ -40,11 +41,14 @@
top: 0;
width: 100%;
}
+}
- video {
- height: auto;
- max-width: 100%;
- width: 100%;
+video.video-responsive {
+ height: auto;
+ max-width: 100%;
+
+ &::before {
+ content: none;
}
}
@@ -60,6 +64,7 @@
}
}
+// Figure
.figure {
margin: 0 0 $layout-spacing 0;