X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=style.css;h=2e461e13a1ca0b7c11496339b6e5f74b1a75e248;hb=b9eab7e6648bd2aabf00bed5cf274fd6d5118d93;hp=74944ab86413798dfaf1f7baef3f957b174a96c4;hpb=3bec8918198647fff324dc30ecc8b0690e7aff0c;p=serve0 diff --git a/style.css b/style.css index 74944ab..2e461e1 100644 --- a/style.css +++ b/style.css @@ -94,28 +94,25 @@ a[href="#advsearch"]:before { #advsearch:target, #multitag:target, #prefs:target, #bookmarks:target { - max-height: 100em; overflow: visible; + max-height: 25em; overflow-y: scroll; } #advsearch:target { border-style: none none solid none; } #prefs:target { border-style: none none solid solid; } #bookmarks:target { border-style: none solid solid none; } +#multitag:target { border-style: solid none none none; } #advsearch a[href="#"], #multitag a[href="#"], #bookmarks a[href="#"], #prefs a[href="#"] { display: block; - position: absolute; - margin-top: -2em; line-height: 2em; - padding: 0 .75em; + line-height: 2em; font-weight: bold; background-color: inherit; - left: 0; right: 0; } -#prefs a[href="#"] { width: 2.5em; left: auto; } -#bookmarks a[href="#"] { width: 2.5em; right: auto; } +-#prefs a[href="#"] { width: 2.5em; left: auto; } +-#bookmarks a[href="#"] { width: 2.5em; right: auto; } #advsearch a[href="#"] { border-bottom: 1px solid; } -#multitag a[href="#"] { position: normal; border-top: 1px solid;} /* ### Preferences Drawer ### */ @@ -308,6 +305,7 @@ a[href="#advsearch"]:before { padding: .25em .5em; word-break: break-word; background-color: #222; + overflow: hidden; } .list.file .time, .list.file .dim { @@ -348,15 +346,66 @@ 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; } #index input, #index button { margin-left: 1em;} +/* ### Video View ### */ + +body#view { padding-bottom: 6em; } + +#view h1 { + max-width: 100%; + margin: .5em .75em; + font-size: 1.25em; + font-weight: bold; + word-break: break-word; + text-decoration: none; +} + +#view #mainvideo { + 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, +#view .tag { + margin-right: -.125em; + padding: .125em .25em; + color: black; +} +#view .time, +#view .dim { background-color: #CCD; } +#view .tag { background-color: #DCC; } + + + /* ### Multi Tagging Drawer ### */ #multitag fieldset{