X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=style.css;h=c19ee480200b79a12ad803f67262b7f3a38c7d65;hb=915841ffcd76d15c1a6e503d6b14ec740abeac3e;hp=05d278fb649bf9c20a9bda6440ad257ea7e1ae85;hpb=b22f5dedd33a3c4b3a42f06072923b0f75b6799f;p=serve0 diff --git a/style.css b/style.css index 05d278f..c19ee48 100644 --- a/style.css +++ b/style.css @@ -1,6 +1,7 @@ * { box-sizing: border-box; margin: 0; padding: 0; + text-align: left; } button { padding: .125em .5em; } a { color: inherit; text-decoration: none;} @@ -17,6 +18,8 @@ select { border: 1px solid; padding: .125em .5em; } +select[multiple] { padding: 0; } +select[multiple] option { padding: .25em .5em; } body { color: white; @@ -24,23 +27,6 @@ body { min-height: 100%; } -#prefs, #bookmarks, -#multitag, #advsearch { - display: block; - position: relative; - overflow: hidden; - height: 0; - text-align: left; - background-color: #333; -} -#prefs:target, -#advsearch:target, -#multitag:target, -#bookmarks:target { - height: auto; - overflow: visible; -} - #navigation{ text-align: center; background-color: #333; @@ -70,29 +56,56 @@ a[href="#advsearch"]:before { margin: 0 .5em; } -#prefs { - position: absolute; - right: 0; width: 13em; - margin-left: auto; +#prefs, #bookmarks, #multitag, #advsearch { + display: block; position: absolute; + height: 0; width: 100%; max-width: 100%; margin-top: -1px; - border: 1px solid; - border-top: none; - border-right: none; padding: 0 1em; + border: 1px none; + overflow: hidden; + background-color: #333; z-index: 1; } +#bookmarks { + left: 0; width: 30%; + min-width: 300px; + margin-right: auto; +} +#prefs { + right: 0; width: 20%; + min-width: 200px; + margin-left: auto; +} +#advsearch { + text-align: center; +} +#advsearch:target, #multitag:target, +#prefs:target, #bookmarks:target { + height: auto; overflow: visible; +} +#advsearch:target { border-style: none none solid none; } +#prefs:target { border-style: none none solid solid; } +#bookmarks:target { border-style: none solid solid none; } + +#advsearch a[href="#"], +#multitag a[href="#"], +#bookmarks a[href="#"], #prefs a[href="#"] { display: block; position: relative; - top: -1.125em; - margin-right: -.5em; - margin-bottom: -1em; - text-align: right; - font-size: 1.5em; - padding-right: .25em; + top: -2em; line-height: 2em; + margin: 0 -1em -1.5em -1em; + padding: 0 .75em; + font-weight: bold; background-color: inherit; } +#prefs a[href="#"] { text-align: right; } +#advsearch a[href="#"] { border-bottom: 1px solid; } +#multitag a[href="#"] { top: -1em; line-height: 1em; } + + +/* ### Preferences Drawer ### */ #prefs label[for=prefs_ps] { font-weight: bold; @@ -112,29 +125,33 @@ a[href="#advsearch"]:before { max-width: 85%; } -#advsearch:target { - display: block; - position: relative; - text-align: center; - border-bottom: 1px solid; + +/* ### Bookmarks Drawer ### */ + +#bookmarks input, +#bookmarks button { + margin-bottom: 1.25em; } -#advsearch a[href="#"] { +#bookmarks label { display: block; - line-height: 2em; - background-color: inherit; - border-bottom: 1px solid; - text-align: left; - padding-left: .5em; - position: relative; - top: -2em; + font-weight: bold; } +#bookmarks a.link { + display: inline-block; + font-size: .75em; + text-decoration: underline; + margin: 0 1em 1.25em 0; +} + + +/* ### Advance Search Drawer ###*/ + #advsearch .help { display: block; - margin: -1em 1em 1em 1em; + margin: -1em .5em 1em .5em; padding: .5em 1em; background-color: #444; line-height: 1.5em; - text-align: left; } #advsearch input.and {display: none;} @@ -146,7 +163,7 @@ a[href="#advsearch"]:before { display: inline-block; vertical-align: top; margin: 0 .5% 1em .5%; - width: 4%; + width: 4%; min-width: 4em; padding: .5em 0; text-align: center; font-weight: bold; @@ -157,6 +174,7 @@ a[href="#advsearch"]:before { #advsearch input.and:checked + label:nth-of-type(2), #advsearch input.and:checked + label { display: none; } +#advsearch .submit, #advsearch input.and + label + .select:first-of-type, #advsearch input.and:checked + label + .select { display: inline-block; @@ -166,9 +184,12 @@ a[href="#advsearch"]:before { min-width: 200px; min-height: 12em; overflow: hidden; - text-align: left; + vertical-align: top; } +#advsearch .submit { min-height: 0; } +#advsearch .submit * { width: 50%; } + #advsearch .select input.pol { margin: .5em .25em 0 .5em; } @@ -202,6 +223,9 @@ a[href="#advsearch"]:before { width: 50%; } + +/* ### Item Listing ### */ + .list { position: relative; display: inline-block; @@ -271,6 +295,7 @@ a[href="#advsearch"]:before { background-color: #4F4; } +.itemlist, .pagination { display: block; text-align: center; @@ -286,22 +311,18 @@ a[href="#advsearch"]:before { } #editing { - text-align: left; width: 100%; background-color: #333; border-top: 1px solid; - padding: .25em; + padding: .25em 0; } #index label:first-of-type { font-weight: bold; } #index input, #index button { margin-left: 1em;} -#multitag:target a[href="#"] { - position: relative; - top: -1em; - padding-right: 10em; - background-color: inherit; -} + +/* ### Multi Tagging Drawer ### */ + #multitag fieldset{ display: inline-block; width: 25%; min-width: 250px;