X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=style.css;h=2e461e13a1ca0b7c11496339b6e5f74b1a75e248;hb=83ae7baa92d4bf2010666435813bb965f7c71561;hp=8fea85dc1a9449bdcb134d0104d62939aa1a5999;hpb=0d67bb5e67ec05be208d0954206edeb35d8c2d4b;p=serve0 diff --git a/style.css b/style.css index 8fea85d..2e461e1 100644 --- a/style.css +++ b/style.css @@ -346,9 +346,15 @@ a[href="#advsearch"]:before { display: inline-block; margin: 0 .125em; padding: .25em .5em; + color: #DAA; + background-color: #000; + border: 1px solid; +} +.page.current { + font-weight: bold; color: black; background-color: #FDD; - border: 1px solid; + border-color: #DAA; } #index label:first-of-type { font-weight: bold; } @@ -357,9 +363,11 @@ a[href="#advsearch"]:before { /* ### Video View ### */ +body#view { padding-bottom: 6em; } + #view h1 { max-width: 100%; - margin: 1em 0; padding: 0 .5em; + margin: .5em .75em; font-size: 1.25em; font-weight: bold; word-break: break-word; @@ -367,9 +375,23 @@ a[href="#advsearch"]:before { } #view #mainvideo { - display: inline; - width: 100%; - max-height: 70%; + display: block; + width: 98%; + margin-left: auto; margin-right: auto; + max-height: 240px; +} +@media(min-height: 400px) { #view #mainvideo { max-height: 320px; } } +@media(min-height: 480px) { #view #mainvideo { max-height: 460px; } } +@media(min-height: 520px) { #view #mainvideo { max-height: 480px; } } +@media(min-height: 640px) { #view #mainvideo { max-height: 600px; } } +@media(min-height: 700px) { #view #mainvideo { max-height: 640px; } } +@media(min-height: 760px) { #view #mainvideo { max-height: 720px; } } +@media(min-height: 1000px){ #view #mainvideo { max-height: 960px; } } +@media(min-height: 1200px){ #view #mainvideo { max-height: 1080px;} } + +#view a[href$=download], +#view a[href^=javascript] { + margin-left: 1em; } #view .time, #view .dim,