X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=style.css;h=d5007a06da3f75c3a275a9c074e00bd62e9c2322;hb=ee2a0b2dc2a7a72f6c7cb16fa5108c5597637e7d;hp=c668365c24536725c2c47df76cc14edfbb42bfa3;hpb=dfdfcfb7ac57a823e639a19d268436753385cbed;p=serve0 diff --git a/style.css b/style.css index c668365..d5007a0 100644 --- a/style.css +++ b/style.css @@ -8,16 +8,20 @@ a { color: inherit; text-decoration: none;} body { color: white; background-color: black; + min-height: 100%; } -#prefs, #bookmarks { +#prefs, #bookmarks, #multitag { display: block; overflow: hidden; height: 0; + text-align: left; } #prefs:target, +#multitag:target, #bookmarks:target { height: auto; + overflow: visible; } #navigation{ @@ -64,8 +68,11 @@ a[href="#advsearch"]:before { } #prefs:target a[href="#"] { - position: absolute; - right: .25em; margin-top: -1.5em; + display: block; + position: relative; + top: -1.5em; right: -.5em; + margin-left: 4em; + text-align: right; font-size: 1.5em; padding: 0 .25em; background-color: #333; @@ -90,18 +97,22 @@ a[href="#advsearch"]:before { max-width: 85%; } -.itemlist { overflow: hidden; } .list { position: relative; - display: block; float: left; + display: inline-block; width: 25%; min-width: 250px; - padding: .5em 1em; + padding: .25em; overflow: none; word-wrap: break-word; vertical-align: top; + color: black; + overflow: hidden; +} +.list.dir { + padding: .5em 1em; } -.list, .list a { color: black; } + .list:before { position: absolute; top: .25em; left: .25em; @@ -109,14 +120,52 @@ a[href="#advsearch"]:before { z-index: -2; content: ''; } -.list.file:first-of-type { clear: left; } .list.dir:before { background-color: #CCF; } .list.file:before { background-color: #FDD; } +.list.file:first-of-type { clear: left; } -.list.file img { +.list.file a img{ display: block; width: 100%; + min-height: 4em; +} +.list.file a label{ + position: absolute; + top: 0; padding: .25em .5em; + color: white; + background-color: rgba(0,0,0,.625); +} + +.list.file .time, +.list.file .dim, +.list.file .tag, +.list.file label { + display: inline-block; + margin-top: .125em; } +.list.file .time, +.list.file .dim { + color: white; + background-color: #004; + padding: .125em .5em; +} +.list.file .tag { + color: white; + background-color: #400; + padding: .125em .5em; +} + +.list.file input[type="checkbox"] { display: none; } +.list.file input[type="checkbox"] + label { + border: 1px solid; + border-radius: .125em; + padding: 0 .25em; + background-color: #FBB; +} +.list.file input[type="checkbox"]:checked + label { + background-color: #4F4; +} + .pagination { display: block; text-align: center; @@ -132,8 +181,8 @@ a[href="#advsearch"]:before { } #editing { - position: absolute; - width: 100%; bottom: 0; + text-align: left; + width: 100%; background-color: #333; border-top: 1px solid; padding: .25em; @@ -141,3 +190,19 @@ a[href="#advsearch"]:before { #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: #333; +} +#multitag fieldset{ + display: inline-block; + width: 25%; min-width: 250px; + vertical-align: top; + padding: 0 .25em; + border: none; +} +#multitag fieldset * { width: 100%; } +#multitag fieldset button { width: 50%; }