summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--style.css14
1 files changed, 14 insertions, 0 deletions
diff --git a/style.css b/style.css
index 70506b5..ef6886d 100644
--- a/style.css
+++ b/style.css
@@ -389,3 +389,17 @@ article .navigation .nav-next {
h6 { font-size: 1em; }
article { font-size: 0.9em; }
}
+
+.embed-container {
+ position: relative;
+ padding-bottom: 56.25%; /* 16:9 */
+ height: 0;
+}
+
+.embed-container iframe {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+}