From 610d5a6a9673cd776132a441b44ea0781b840ff2 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Mon, 11 Nov 2013 14:39:23 -0800 Subject: max width and height for player.php video --- playerstyle.css | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) (limited to 'playerstyle.css') diff --git a/playerstyle.css b/playerstyle.css index 44d73757..efb570bb 100644 --- a/playerstyle.css +++ b/playerstyle.css @@ -1,19 +1,38 @@ body { background: black; color: white; -} -video { - display: block; - margin-left: auto; - margin-right: auto; + margin: 0px; } #playerheader { + position: absolute; + left: 0px; + right: 0px; + top: 0px; + height: 24px; + padding: 0px 4px; text-align: right; + font-size: 16px; } #playerheader a { color: white; text-decoration: none; } -span.settings { - position: relative; +span.settings div { + background: black; + z-index: 1; + padding-right: 4px; +} +#playercontent { + position: absolute; + left: 0px; + right: 0px; + top: 24px; + bottom: 0px; +} +video { + display: block; + margin-left: auto; + margin-right: auto; + max-width: 100%; + max-height: 100%; } -- cgit v1.3