From 219e843f34860b6b4fabb805a39d180adb13904d Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Fri, 24 Aug 2018 11:01:12 +0200 Subject: [PATCH] Move fullscreen defs to mixin. --- src/player.styl | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/player.styl b/src/player.styl index 849f29f..7a0634e 100644 --- a/src/player.styl +++ b/src/player.styl @@ -1,3 +1,10 @@ +fullscreen() + position: fixed + top: 0 + left: 0 + width: 100% + height: 100% + html background: #000 @@ -14,8 +21,4 @@ body text-align: center .video - position: fixed - top: 0 - left: 0 - width: 100% - height: 100% + fullscreen()