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