Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
Commit511088d794a35b142239e868d2c3ce23dbdfccfb (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-01-01 15:00:36 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-01-01 15:00:36 +0800
Files69371ece2e73967b29444105bd83a6e6b2931f7f /src
Spectre-Dark-Gruvbox-511088d794a35b142239e868d2c3ce23dbdfccfb.tar
Spectre-Dark-Gruvbox-511088d794a35b142239e868d2c3ce23dbdfccfb.tar.gz
Spectre-Dark-Gruvbox-511088d794a35b142239e868d2c3ce23dbdfccfb.zip
Parent8a0b5be39f22b9074456c04b800a777af40f4dec (diff)
ADD: Figure element support and doc
1 files changed, 11 insertions, 0 deletions
-rw-r--r--src/media.less11
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;
+ }
+}