X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=style.css;h=c19ee480200b79a12ad803f67262b7f3a38c7d65;hb=d3c3721309a5e6080162c00787f86299fa8d453f;hp=14e37a0e67f0da30345143420f8937077f0fd5a9;hpb=f34cc723fb9a552d65e40b6f4846160599eaa8b5;p=serve0 diff --git a/style.css b/style.css index 14e37a0..c19ee48 100644 --- a/style.css +++ b/style.css @@ -27,22 +27,6 @@ body { min-height: 100%; } -#prefs, #bookmarks, -#multitag, #advsearch { - display: block; - position: relative; - overflow: hidden; - height: 0; - background-color: #333; -} -#prefs:target, -#advsearch:target, -#multitag:target, -#bookmarks:target { - height: auto; - overflow: visible; -} - #navigation{ text-align: center; background-color: #333; @@ -72,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; @@ -114,24 +125,30 @@ 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; - 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 .625em 1em .625em; + margin: -1em .5em 1em .5em; padding: .5em 1em; background-color: #444; line-height: 1.5em; @@ -206,6 +223,9 @@ a[href="#advsearch"]:before { width: 50%; } + +/* ### Item Listing ### */ + .list { position: relative; display: inline-block; @@ -294,18 +314,15 @@ a[href="#advsearch"]:before { 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;