summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-03-25 19:53:31 +0100
committerJonas Smedegaard <dr@jones.dk>2017-03-25 19:54:29 +0100
commitd8b28a4ae8bad5b57eb5e8fee941eaf19083ff60 (patch)
tree74ad9de9578fc96fa65c4c24f486a7473aa12f3e
parentb6c865429be50f3b3852124d0d090624ceee9533 (diff)
Have video fill both width and height.
-rw-r--r--style.scss16
1 files changed, 16 insertions, 0 deletions
diff --git a/style.scss b/style.scss
index cbd7eb3..11b6be5 100644
--- a/style.scss
+++ b/style.scss
@@ -6,3 +6,19 @@
#backlinks {
display: none;
}
+
+// fill width and height - with black edges as needed
+.videocontainer {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background-color: #000;
+ z-index: 999;
+}
+video {
+ display: block;
+ width: 100%;
+ height: 100%;
+}