Summary Files Commits Branches @commit @diff @stats
path: root / dist / spectre.css
diff options
context:
space:
mode:
Commit9ab261e4f7ae1d0c69c0b479745096f51df3d687 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-04-19 15:21:59 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-04-19 15:21:59 +0800
Files65074343e57c64db93530dd4584c0222f5321603 /dist/spectre.css
Spectre-Dark-Gruvbox-9ab261e4f7ae1d0c69c0b479745096f51df3d687.tar
Spectre-Dark-Gruvbox-9ab261e4f7ae1d0c69c0b479745096f51df3d687.tar.gz
Spectre-Dark-Gruvbox-9ab261e4f7ae1d0c69c0b479745096f51df3d687.zip
Parent07e430545059b213fac058e1aafe147edf2268f5 (diff)
add 4:3 video ratio
1 files changed, 5 insertions, 1 deletions
-rw-r--r--dist/spectre.css6
diff --git a/dist/spectre.css b/dist/spectre.css
index c6327e3..3e55c9e 100644
--- a/dist/spectre.css
+++ b/dist/spectre.css
@@ -657,10 +657,14 @@ pre code {
height: 0;
overflow: hidden;
padding-bottom: 56.25%;
- /* 16:9 */
+ /* Default 16:9, you can calculate this value by dividing 9 by 16 */
padding-top: 3rem;
position: relative;
}
+.video-responsive.video-responsive-4-3 {
+ padding-bottom: 75%;
+ /* 4:3 */
+}
.video-responsive iframe,
.video-responsive object,
.video-responsive embed {