Files: cca9b37ae5ee0f8f7437136236d956a01ce10a16 / style.css
5770 bytesRaw
1 | body { |
2 | font-family: sans-serif; |
3 | } |
4 | |
5 | * { |
6 | word-break: break-word; |
7 | } |
8 | |
9 | a:link, a:visited, a:active { |
10 | color: #0088cc; |
11 | text-decoration: none; |
12 | } |
13 | |
14 | a:hover, |
15 | a:focus { |
16 | color: #005580; |
17 | text-decoration: underline; |
18 | } |
19 | |
20 | .screen { |
21 | position: absolute; |
22 | top: 0px; bottom: 0px; |
23 | left: 0px; right: 0px; |
24 | overflow-y: hidden; |
25 | } |
26 | |
27 | .column { |
28 | display: flex; |
29 | flex-direction: column; |
30 | min-height:0px; |
31 | } |
32 | |
33 | .row { |
34 | display: flex; |
35 | flex-direction: row; |
36 | min-height:0px; |
37 | } |
38 | |
39 | .end { |
40 | justify-content: flex-end; |
41 | } |
42 | |
43 | .wrap { |
44 | display: flex; |
45 | flex-direction: row; |
46 | flex-wrap: wrap; |
47 | } |
48 | |
49 | .no-shrink { |
50 | flex-shrink: 0; |
51 | } |
52 | |
53 | .expand { |
54 | justify-content: space-between; |
55 | } |
56 | |
57 | .scroll-y { |
58 | overflow-y: auto; |
59 | min-height: 0px; |
60 | } |
61 | |
62 | .scroll-x { |
63 | overflow-x: auto; |
64 | min-width: 0px; |
65 | } |
66 | |
67 | pre { |
68 | white-space: pre-wrap; |
69 | word-wrap: break-word; |
70 | } |
71 | |
72 | p { |
73 | margin-top: .35ex; |
74 | } |
75 | |
76 | hr { |
77 | border: solid #eee; |
78 | clear: both; |
79 | border-width: 1px 0 0; |
80 | height: 0; |
81 | margin-bottom: .9em; |
82 | } |
83 | |
84 | input, textarea { |
85 | border: none; |
86 | border-radius: .2em; |
87 | font-family: sans-serif; |
88 | } |
89 | |
90 | input:focus, .compose:focus, .message:focus, button:focus { |
91 | outline: none; |
92 | border-color: #0088cc; |
93 | box-shadow: 0 0 4px #0088cc; |
94 | } |
95 | |
96 | textarea { |
97 | padding: .5em; |
98 | } |
99 | |
100 | textarea:focus { |
101 | outline: none; |
102 | border-color: none; |
103 | box-shadow: none; |
104 | } |
105 | |
106 | button { |
107 | background: #fff; |
108 | color: #666; |
109 | border: 1px solid #bbb; |
110 | border-radius: .5em; |
111 | padding: .7em; |
112 | margin: .5em; |
113 | cursor: pointer; |
114 | text-transform: uppercase; |
115 | font-weight: bold; |
116 | font-size: .7em; |
117 | } |
118 | |
119 | button:hover { |
120 | background: #ccc; |
121 | border: 1px solid #bbb; |
122 | } |
123 | |
124 | .menu { |
125 | position: absolute; |
126 | top: .5em; |
127 | right: .5em; |
128 | padding-top: .5em; |
129 | padding-bottom: .5em; |
130 | padding-right: 1em; |
131 | padding-left: 1em; |
132 | background: #f5f5f5; |
133 | border: 1px solid #eee; |
134 | box-shadow: 3px 0px 3px #ccc; |
135 | border-radius: .2em; |
136 | } |
137 | |
138 | /* scrolling feeds, threads */ |
139 | |
140 | .scroller { |
141 | width: 100%; |
142 | } |
143 | |
144 | .scroller__wrapper { |
145 | flex: 1; |
146 | max-width: 600px; |
147 | margin-left: auto; |
148 | margin-right: auto; |
149 | } |
150 | |
151 | /* compose */ |
152 | |
153 | .compose { |
154 | width: 100%; |
155 | margin-top: .5em; |
156 | margin-bottom: .5em; |
157 | box-shadow: #dadada 1px 2px 8px; |
158 | } |
159 | |
160 | .compose button { |
161 | float: right; |
162 | } |
163 | |
164 | /* messages */ |
165 | |
166 | .message { |
167 | display: block; |
168 | flex-basis: 0; |
169 | word-wrap: break-word; |
170 | display: inline-block; |
171 | margin-bottom: 1em; |
172 | padding: 0.3rem; |
173 | border-radius: 2px; |
174 | box-shadow: #dadada 1px 2px 8px; |
175 | } |
176 | |
177 | .message_content div > span { |
178 | font-size: 0.8rem; |
179 | margin-bottom: 0.7rem; |
180 | display: block; |
181 | color: #888; |
182 | } |
183 | |
184 | .message_content div > span a { |
185 | color: #005d8c; |
186 | } |
187 | |
188 | .message_meta input { |
189 | font-size: .8em; |
190 | } |
191 | |
192 | .message_meta { |
193 | margin-left: auto; |
194 | } |
195 | |
196 | .message_meta > * { |
197 | margin-left: .5ex; |
198 | } |
199 | |
200 | .message_actions { |
201 | float: right; |
202 | margin-right: .5ex; |
203 | margin-bottom: .5ex; |
204 | } |
205 | |
206 | .title { |
207 | padding: .5ex; |
208 | } |
209 | |
210 | .message img { |
211 | max-width: 100%; |
212 | } |
213 | |
214 | .actions > * { |
215 | padding-left: 5px; |
216 | margin-left: 1px; |
217 | } |
218 | |
219 | .actions > :not(:last-child) { |
220 | border-right: 2px solid #eee; |
221 | padding-right: 5px; |
222 | } |
223 | |
224 | .message > .title > .avatar { |
225 | margin-left: 0; |
226 | } |
227 | |
228 | .message_content { |
229 | padding: .5ex; |
230 | } |
231 | |
232 | /* -- suggest box */ |
233 | |
234 | .suggest-box > * { |
235 | display: block; |
236 | } |
237 | |
238 | .suggest-box ul { |
239 | list-style-type: none; |
240 | padding-left: -2em; |
241 | } |
242 | |
243 | .suggest-box .selected { |
244 | background: #eee; |
245 | } |
246 | |
247 | .suggest-box { |
248 | width: max-content; |
249 | background: white; |
250 | border-radius: 1em; |
251 | } |
252 | |
253 | /* avatar */ |
254 | |
255 | .avatar--large, |
256 | .avatar--thumbnail, |
257 | .avatar--fullsize { |
258 | border: 1px solid #eee; |
259 | } |
260 | |
261 | .avatar { |
262 | display: flex; |
263 | flex-direction: row; |
264 | } |
265 | |
266 | .avatar--large { |
267 | width: 10em; |
268 | height: 10em; |
269 | } |
270 | |
271 | .avatar--thumbnail { |
272 | width: 2.5em; |
273 | height: 2.5em; |
274 | margin-right: .5ex; |
275 | } |
276 | |
277 | .avatar--fullsize { |
278 | width: 100%; |
279 | } |
280 | |
281 | .profile { |
282 | padding: .5ex; |
283 | overflow: auto; |
284 | } |
285 | |
286 | .profile input { |
287 | width: 100%; |
288 | } |
289 | |
290 | .profile__info { |
291 | margin-left: .5em; |
292 | } |
293 | |
294 | /* lightbox - used in message-confirm */ |
295 | |
296 | .lightbox { |
297 | overflow: auto; |
298 | padding: 1.5em; |
299 | margin-top: 3em; |
300 | margin-bottom: 3em; |
301 | width: 600px; |
302 | background: #f5f5f5; |
303 | margin-left: auto; |
304 | margin-right: auto; |
305 | border: 1px solid #eee; |
306 | border-radius: .2em; |
307 | box-shadow: #dadada 1px 2px 8px; |
308 | } |
309 | |
310 | /* searchprompt */ |
311 | |
312 | .searchprompt { |
313 | float: left; |
314 | width: 85%; |
315 | height: 2em; |
316 | margin-top: .3em; |
317 | border-radius: 1em; |
318 | padding-left: .2em; |
319 | margin-left: 1em; |
320 | margin-right: 1em; |
321 | } |
322 | |
323 | /* TextNodeSearcher highlights */ |
324 | |
325 | .highlight { |
326 | background: #f5f5f5; |
327 | } |
328 | |
329 | /* avatar editor */ |
330 | |
331 | .hypercrop__canvas { |
332 | width: 100%; |
333 | } |
334 | |
335 | /* gitssb */ |
336 | |
337 | .git-table-wrapper { |
338 | max-height: 12em; |
339 | overflow: auto; |
340 | word-break: break-all; |
341 | margin: 1em 0; |
342 | } |
343 | |
344 | .git-table-wrapper table { |
345 | width: 100%; |
346 | } |
347 | |
348 | /* --- network status --- */ |
349 | |
350 | .status { |
351 | width: .7em; |
352 | height: .7em; |
353 | margin: .7em; |
354 | border-radius: 100%; |
355 | background: #08c; |
356 | } |
357 | |
358 | .error { |
359 | background: red; |
360 | } |
361 | |
362 | /* themes */ |
363 | |
364 | .theme { |
365 | margin-left: 1ex; |
366 | } |
367 | |
368 | .themes__form { |
369 | margin: 1ex; |
370 | } |
371 | |
372 | |
373 | /* tabs */ |
374 | |
375 | .header { |
376 | background: #f5f5f5; |
377 | border-bottom: 1px inset; |
378 | box-shadow: 3px 0px 3px #ccc; |
379 | flex-shrink: 0; |
380 | } |
381 | |
382 | .header__tabs { |
383 | width: 100%; |
384 | min-width: 0px; |
385 | } |
386 | |
387 | /* --- hypertabs ------- */ |
388 | |
389 | .hypertabs__tabs { |
390 | min-width: 0px; |
391 | width: 100%; |
392 | } |
393 | |
394 | .hypertabs__tab { |
395 | overflow-x: hidden; |
396 | min-width: 0px; |
397 | width: 100%; |
398 | } |
399 | |
400 | .hypertabs__button { |
401 | overflow-x: hidden; |
402 | min-width: 0px; |
403 | width: 100%; |
404 | } |
405 | |
406 | .hypertabs__tab { |
407 | color: black; |
408 | background: #f5f5f5; |
409 | border-top-left-radius: 5px; |
410 | margin-left: -3px; |
411 | border-bottom: none; |
412 | padding-top: .56em; |
413 | padding-left: 1em; |
414 | border-left: 1px solid #ddd; |
415 | width: 100%; |
416 | } |
417 | |
418 | .hypertabs__tab > a { |
419 | color: #666; |
420 | text-decoration: none; |
421 | white-space: nowrap; |
422 | font-size: .9em; |
423 | } |
424 | |
425 | .hypertabs--selected { |
426 | font-weight: bold; |
427 | background: #eee; |
428 | border-top-right-radius: 5px; |
429 | z-index: 1; |
430 | } |
431 | |
432 | .hypertabs__x { |
433 | display: none; |
434 | transform: translate(-4px, -3px); |
435 | } |
436 | |
437 | .hypertabs--selected .hypertabs__x { |
438 | display: block; |
439 | } |
440 | |
441 | |
442 | |
443 |
Built with git-ssb-web