2 box-sizing: border-box;
6 button { padding: .125em .5em; }
7 a { color: inherit; text-decoration: none;}
13 vertical-align: bottom;
15 input[type=number] { padding-right: 0; }
16 input[type=radio], input[type=checkbox] { vertical-align: baseline; }
21 select[multiple] { padding: 0; }
22 select[multiple] option { padding: .25em .5em; }
26 background-color: black;
31 /* ### Main Page Elements ### */
36 border-bottom: 1px solid;
37 background-color: #333;
43 bottom: 0; width: 100%;
45 border-top: 1px solid;
46 background-color: #333;
49 #search { display: inline; }
52 a[href="#bookmarks"] {
58 a[href="#prefs"] { right: 0; }
59 a[href="#bookmarks"] { left: 0; }
61 a[href="#advsearch"] { margin-left: .5em; }
62 a[href="#advsearch"]:before {
68 /* ### Expandable Drawers ### */
70 #prefs, #bookmarks, #multitag, #advsearch {
71 display: block; position: absolute;
72 max-height: 0; width: 100%; max-width: 100%;
77 background-color: #333;
78 transition: max-height .3s linear;
95 #advsearch:target, #multitag:target,
96 #prefs:target, #bookmarks:target {
97 max-height: 50em; overflow: visible;
99 #advsearch:target { border-style: none none solid none; }
100 #prefs:target { border-style: none none solid solid; }
101 #bookmarks:target { border-style: none solid solid none; }
102 #advsearch:target, #multitag:target { max-height: 500em; }
104 #advsearch a[href="#"],
105 #multitag a[href="#"],
106 #bookmarks a[href="#"],
110 margin-top: -2em; line-height: 2em;
113 background-color: inherit;
116 #prefs a[href="#"] { width: 2.5em; left: auto; }
117 #bookmarks a[href="#"] { width: 2.5em; right: auto; }
118 #advsearch a[href="#"] { border-bottom: 1px solid; }
119 #multitag a[href="#"] { position: normal; border-top: 1px solid;}
122 /* ### Preferences Drawer ### */
124 #prefs label[for=prefs_ps] {
134 #prefs input { vertical-align: top; }
135 #prefs input[type=radio] + label,
136 #prefs input[type=checkbox] + label {
137 display: inline-block;
143 /* ### Bookmarks Drawer ### */
147 margin-bottom: 1.25em;
152 word-break: break-word;
156 display: inline-block;
158 text-decoration: underline;
159 margin: 0 1em 1.25em 0;
163 /* ### Advance Search Drawer ###*/
167 margin: 1em .5em 1em .5em;
169 background-color: #444;
173 #advsearch input.and {display: none;}
174 #advsearch input.and + label {display: none}
175 #advsearch input.and + label + .select {
176 display: inline-block;
178 width: 100%; min-width: 0; max-width: 0;
183 transition: max-width .3s linear;
186 display: inline-block;
191 #advsearch input.and + label:nth-of-type(2),
192 #advsearch input.and:checked + label + .select + input + label {
193 display: inline-block;
195 margin: 0 .5% 1em .5%;
196 width: 4%; min-width: 4em;
203 #advsearch input.and:checked + label + .select + input:checked + label,
204 #advsearch input.and:checked + label:nth-of-type(2),
205 #advsearch input.and:checked + label { display: none; }
207 #advsearch input.and + label + .select:first-of-type,
208 #advsearch input.and:checked + label + .select {
209 min-width: 200px; max-width: 100%;
210 margin: 0 .5% 1em .5%;
214 @media (min-width: 460px){
216 #advsearch input.and + label + .select:first-of-type,
217 #advsearch input.and:checked + label + .select {
220 @media (min-width: 660px){
222 #advsearch input.and + label + .select:first-of-type,
223 #advsearch input.and:checked + label + .select {
226 @media (min-width: 860px){
228 #advsearch input.and + label + .select:first-of-type,
229 #advsearch input.and:checked + label + .select {
232 @media (min-width: 1060px){
234 #advsearch input.and + label + .select:first-of-type,
235 #advsearch input.and:checked + label + .select {
239 #advsearch .submit { min-height: 0; }
240 #advsearch .submit * { width: 50%; }
242 #advsearch .select input.pol {
243 margin: .5em .25em 0 .5em;
245 #advsearch .select input.pol + label {
248 #advsearch .select label.head {
251 padding: .5em 0 0 .5em;
252 border-bottom: 1px solid;
255 #advsearch .select select {display: none;}
256 #advsearch .select input.cat { display: none; }
257 #advsearch .select input.cat + label {
262 border-bottom: 1px solid;
264 #advsearch .select input.cat:checked + label {
265 background-color: #444;
267 #advsearch .select input.cat:checked + label + select {
270 top: 3.5em; bottom: 0;
276 /* ### Item Listing ### */
280 display: inline-block;
287 .list.dir { padding: .5em 1em; }
290 top: .25em; left: .25em;
291 bottom: .25em; right: .25em;
295 .list.dir:before { background-color: #CCF; color: black; }
296 .list.file:before { background-color: #333; }
297 .list.file:first-of-type { clear: left; }
303 border-bottom: 1px solid black;
305 .list.file a + label{
306 display: inline-block;
307 width: 100%; max-height: 2.5em;
310 word-break: break-word;
311 background-color: #222;
315 .list.file .time, .list.file .dim {
316 float: right; position: relative;
317 display: inline-block;
318 top: -1.5em; bottom: 1.5;
319 margin-right: .125em;
320 padding: .125em .25em;
321 background-color: rgba(0,0,0,.75);
325 .list.file input + label {
326 display: inline-block;
327 margin: .125em -.125em 0 0;
328 padding: .125em .5em;
330 background-color: #DCC;
333 .list.file input[type="checkbox"] { display: none; }
334 .list.file input[type="checkbox"] + label {
336 background-color: #ECC;
338 .list.file input[type="checkbox"]:checked + label {
339 background-color: #8F8;
348 .pagination { margin-bottom: 3em;}
350 display: inline-block;
354 background-color: #FDD;
358 #index label:first-of-type { font-weight: bold; }
359 #index input, #index button { margin-left: 1em;}
362 /* ### Video View ### */
366 margin: 1em 0; padding: 0 .5em;
369 word-break: break-word;
370 text-decoration: none;
379 #view .time, #view .dim,
381 margin-right: -.125em;
382 padding: .125em .25em;
386 #view .dim { background-color: #CCD; }
387 #view .tag { background-color: #DCC; }
391 /* ### Multi Tagging Drawer ### */
394 display: inline-block;
401 @media (min-width: 520px) { .list, #multitag fieldset { width: 50%; min-width: 250px; } }
402 @media (min-width: 760px) { .list, #multitag fieldset { width: 33%; } }
403 @media (min-width: 1020px){ .list, #multitag fieldset { width: 25%; } }
405 #multitag fieldset * { width: 100%; }
406 #multitag fieldset button { width: 50%; }