Summary Files Commits Branches @commit @diff @stats
path: root / src / _media.scss
diff options
context:
space:
mode:
Commit388fcd4107498400f05ccfe1dde682f6b09c0546 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-09-11 09:14:29 -0500
Committer
 GitHub <noreply@github.com>
2017-09-11 09:14:29 -0500
Files4655749d16323dd98ee4d8ae3e000c3237b4f649 /src/_media.scss
Spectre-Dark-Gruvbox-0.4.1.tar
Spectre-Dark-Gruvbox-0.4.1.tar.gz
Spectre-Dark-Gruvbox-0.4.1.zip
Parentc811cb46631e66772a108c393f6ef53a83ca010b (diff)
Parent4f15bc0c787fb87d19e26e665d5e1eadbe89b560 (diff)
Merge pull request #282 from picturepan2/0.4.1 v0.4.1
0.4.1
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;