From 511088d794a35b142239e868d2c3ce23dbdfccfb Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Sun, 1 Jan 2017 15:00:36 +0800 Subject: ADD: Figure element support and doc --- src/media.less | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src') diff --git a/src/media.less b/src/media.less index 5f668fc..d4d2f89 100644 --- a/src/media.less +++ b/src/media.less @@ -4,6 +4,7 @@ height: auto; max-width: 100%; } + .video-responsive { height: 0; overflow: hidden; @@ -26,6 +27,16 @@ width: 100%; } } + .video-responsive-4-3 { padding-bottom: 75%; /* 4:3 */ } + +.figure { + margin: 0 0 @layout-gutter 0; + + .figure-caption { + color: @core-meta-color; + margin-top: @layout-gutter; + } +} -- cgit v1.3.1-23-gd82d