]> git.plutz.net Git - serve0/blob - style.css
implemented full multi file tagging
[serve0] / style.css
1 * {
2   box-sizing: border-box;
3   margin: 0; padding: 0;
4 }
5 button { padding: .125em .5em; }
6 a { color: inherit; text-decoration: none;}
7
8 body {
9   color: white;
10   background-color: black;
11   min-height: 100%;
12 }
13
14 #prefs, #bookmarks, #multitag {
15   display: block;
16   overflow: hidden;
17   height: 0;
18   text-align: left;
19 }
20 #prefs:target,
21 #multitag:target,
22 #bookmarks:target {
23   height: auto;
24   overflow: visible;
25 }
26
27 #navigation{
28   text-align: center;
29   background-color: #333;
30   padding: .25em;
31   border-bottom: 1px solid;
32 }
33
34 #search { display: inline; }
35
36 a[href="#prefs"] {
37   position: absolute;
38   top: 0; right: .25em;
39   font-size: 1.5em;
40 }
41
42 a[href="#bookmarks"] {
43   position: absolute;
44   top: 0; left: .25em;
45   font-size: 1.5em;
46 }
47
48 a[href="#advsearch"] {
49   margin-left: .5em;
50 }
51 a[href="#advsearch"]:before {
52   content: '\25b8';
53   margin: 0 .5em;
54 }
55
56 #prefs:target {
57   position: absolute;
58   right: 0; width: 13em;
59   margin-left: auto;
60   margin-top: -1px;
61   background-color: #333;
62   border: 1px solid;
63   border-top: none;
64   border-right: none;
65   padding: .5em 1em;
66   z-index: 1;
67   overflow: visible;
68 }
69
70 #prefs:target a[href="#"] {
71   display: block;
72   position: relative;
73   top: -1.5em; right: -.5em;
74   margin-left: 4em;
75   text-align: right;
76   font-size: 1.5em;
77   padding: 0 .25em;
78   background-color: #333;
79   z-index: 1;
80 }
81
82 #prefs label[for=prefs_ps] {
83   font-weight: bold;
84 }
85 #prefs #prefs_ps {
86   max-width: 3em;
87   margin-bottom: 1em;
88 }
89 #prefs button {
90   margin-top: 1em;
91 }
92 #prefs input { vertical-align: top; }
93 #prefs input[type=radio] + label,
94 #prefs input[type=checkbox] + label {
95   display: inline-block;
96   margin-bottom: .5em;
97   max-width: 85%;
98 }
99
100 .list {
101   position: relative;
102   display: inline-block;
103   width: 25%;
104   min-width: 250px;
105   padding: .25em;
106   overflow: none;
107   word-wrap: break-word;
108   vertical-align: top;
109   color: black;
110   overflow: hidden;
111 }
112 .list.dir {
113   padding: .5em 1em;
114 }
115
116 .list:before {
117   position: absolute;
118   top: .25em; left: .25em;
119   bottom: .25em; right: .25em;
120   z-index: -2;
121   content: '';
122 }
123 .list.dir:before { background-color: #CCF; }
124 .list.file:before { background-color: #FDD; }
125 .list.file:first-of-type { clear: left; }
126
127 .list.file a img{
128   display: block;
129   width: 100%;
130   min-height: 4em;
131 }
132 .list.file a label{
133   position: absolute;
134   top: 0; padding: .25em .5em;
135   color: white;
136   background-color: rgba(0,0,0,.625);
137 }
138
139 .list.file .time,
140 .list.file .dim,
141 .list.file .tag,
142 .list.file label {
143   display: inline-block;
144   margin-top: .125em;
145 }
146 .list.file .time,
147 .list.file .dim {
148   color: white;
149   background-color: #004;
150   padding: .125em .5em;
151 }
152
153 .list.file input[type="checkbox"] { display: none; }
154 .list.file input[type="checkbox"] + label {
155   border: 1px solid;
156   border-radius: .125em;
157   padding: 0 .25em;
158   background-color: #FBB;
159 }
160 .list.file input[type="checkbox"]:checked + label {
161   background-color: #4F4;
162 }
163
164 .pagination {
165   display: block;
166   text-align: center;
167   margin-top: 1em;
168 }
169 .page {
170   display: inline-block;
171   padding: .25em .5em;
172   color: black;
173   background-color: #FDD;
174   border: 1px solid;
175   margin: 0 .125em;
176 }
177
178 #editing {
179   text-align: left;
180   width: 100%;
181   background-color: #333;
182   border-top: 1px solid;
183   padding: .25em;
184 }
185
186 #index label:first-of-type { font-weight: bold; }
187 #index input, #index button { margin-left: 1em;}
188
189 #multitag:target a[href="#"] {
190   position: relative;
191   top: -1em;
192   padding-right: 10em;
193   background-color: #333;
194 }
195 #multitag fieldset{
196   display: inline-block;
197   width: 25%; min-width: 250px;
198   vertical-align: top;
199   padding: 0 .25em;
200   border: none;
201 }
202 #multitag fieldset * { width: 100%; }
203 #multitag fieldset button { width: 50%; }