Files: 2227f2f14f1094019ceb5e1cb1a8254841c2fe9e / style.css
6295 bytesRaw
1 | body { |
2 | font-family: 'Source Sans Pro', 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 | input:focus, .compose:focus, .message:focus, button:focus { |
106 | outline: none; |
107 | border-color: #0088cc; |
108 | box-shadow: 0 0 4px #0088cc; |
109 | } |
110 | |
111 | textarea { |
112 | padding: .5em; |
113 | } |
114 | |
115 | textarea:focus { |
116 | outline: none; |
117 | border-color: none; |
118 | } |
119 | |
120 | button { |
121 | background: #fff; |
122 | color: #666; |
123 | border: 1px solid #bbb; |
124 | border-radius: .5em; |
125 | padding: .7em; |
126 | margin: .5em; |
127 | cursor: pointer; |
128 | text-transform: uppercase; |
129 | font-weight: bold; |
130 | font-size: .7em; |
131 | } |
132 | |
133 | button:hover { |
134 | background: #ccc; |
135 | border: 1px solid #bbb; |
136 | } |
137 | |
138 | .menu { |
139 | position: absolute; |
140 | top: .5em; |
141 | right: .5em; |
142 | padding-top: .5em; |
143 | padding-bottom: .5em; |
144 | padding-right: 1em; |
145 | padding-left: 1em; |
146 | background: #f5f5f5; |
147 | border: 1px solid #eee; |
148 | border-radius: .2em; |
149 | z-index: 5; |
150 | } |
151 | |
152 | /* scrolling feeds, threads */ |
153 | |
154 | .scroller { |
155 | width: 100%; |
156 | } |
157 | |
158 | .scroller__wrapper { |
159 | flex: 1; |
160 | max-width: 600px; |
161 | margin-left: auto; |
162 | margin-right: auto; |
163 | } |
164 | |
165 | /* compose */ |
166 | |
167 | .compose { |
168 | width: 100%; |
169 | margin-top: .5em; |
170 | margin-bottom: .5em; |
171 | border: 1px solid #f5f5f5; |
172 | } |
173 | |
174 | .compose button { |
175 | float: right; |
176 | } |
177 | |
178 | /* messages */ |
179 | |
180 | .message { |
181 | position: relative; |
182 | flex-basis: 0; |
183 | margin-top: .25em; |
184 | margin-bottom: .25em; |
185 | padding: .2em; |
186 | border-top: 1px solid #f5f5f5; |
187 | border-bottom: 1px solid #f5f5f5; |
188 | background: white; |
189 | } |
190 | |
191 | .message:hover { |
192 | background: #f9f9f9; |
193 | } |
194 | |
195 | .message--mini { |
196 | font-size: 1em; |
197 | margin: 0; |
198 | padding: .2em; |
199 | border: none; |
200 | background: inherit; |
201 | } |
202 | |
203 | .message_content div > span { |
204 | font-size: 0.9em; |
205 | margin-bottom: 0.7em; |
206 | display: block; |
207 | color: #888; |
208 | } |
209 | |
210 | .message_content--mini div > span { |
211 | display: inline-block; |
212 | } |
213 | |
214 | .message_content div > span a { |
215 | color: #005d8c; |
216 | } |
217 | |
218 | .message_meta input { |
219 | font-size: .8em; |
220 | } |
221 | |
222 | .message_meta { |
223 | margin-left: auto; |
224 | } |
225 | |
226 | .message_meta > * { |
227 | margin-left: .5ex; |
228 | } |
229 | |
230 | .message_actions { |
231 | position: absolute; |
232 | bottom: 0; right: 0; |
233 | margin-right: .5ex; |
234 | margin-bottom: .5ex; |
235 | } |
236 | |
237 | .title { |
238 | padding: .5ex; |
239 | } |
240 | |
241 | .message img { |
242 | max-width: 100%; |
243 | } |
244 | |
245 | .message > .title > .avatar { |
246 | margin-left: 0; |
247 | } |
248 | |
249 | .message_content { |
250 | padding: .5ex; |
251 | } |
252 | |
253 | .actions > * { |
254 | padding-left: 5px; |
255 | margin-left: 1px; |
256 | } |
257 | |
258 | .actions > :not(:last-child) { |
259 | border-right: 2px solid #eee; |
260 | padding-right: 5px; |
261 | } |
262 | |
263 | |
264 | /* -- suggest box */ |
265 | |
266 | .suggest-box > * { |
267 | display: block; |
268 | } |
269 | |
270 | .suggest-box ul { |
271 | list-style-type: none; |
272 | padding-left: -2em; |
273 | } |
274 | |
275 | .suggest-box .selected { |
276 | background: #eee; |
277 | } |
278 | |
279 | .suggest-box { |
280 | width: max-content; |
281 | background: white; |
282 | border-radius: 1em; |
283 | } |
284 | |
285 | /* avatar */ |
286 | |
287 | .avatar--large, |
288 | .avatar--thumbnail, |
289 | .avatar--fullsize { |
290 | border: 1px solid #eee; |
291 | } |
292 | |
293 | .avatar--large { |
294 | width: 10em; |
295 | height: 10em; |
296 | } |
297 | |
298 | .avatar--thumbnail { |
299 | width: 2.5em; |
300 | height: 2.5em; |
301 | float: left; |
302 | margin-right: .5ex; |
303 | } |
304 | |
305 | .avatar--fullsize { |
306 | width: 50%; |
307 | } |
308 | |
309 | .profile { |
310 | padding: .5ex; |
311 | overflow: auto; |
312 | } |
313 | |
314 | .profile input { |
315 | width: 100%; |
316 | } |
317 | |
318 | .profile__info { |
319 | margin-left: .5em; |
320 | } |
321 | |
322 | /* lightbox - used in message-confirm */ |
323 | |
324 | .lightbox { |
325 | overflow: auto; |
326 | padding: 1.5em; |
327 | margin-top: 3em; |
328 | margin-bottom: 3em; |
329 | width: 600px; |
330 | background: #f5f5f5; |
331 | margin-left: auto; |
332 | margin-right: auto; |
333 | border: 1px solid #eee; |
334 | border-radius: .2em; |
335 | z-index: 2; |
336 | } |
337 | |
338 | /* searchprompt */ |
339 | |
340 | .searchprompt { |
341 | float: left; |
342 | width: 85%; |
343 | height: 2em; |
344 | margin-top: .3em; |
345 | border-radius: 1em; |
346 | padding-left: .2em; |
347 | margin-left: 1em; |
348 | margin-right: 1em; |
349 | } |
350 | |
351 | /* TextNodeSearcher highlights */ |
352 | |
353 | .highlight { |
354 | background: #f5f5f5; |
355 | } |
356 | |
357 | /* avatar editor */ |
358 | |
359 | .hypercrop__canvas { |
360 | width: 100%; |
361 | } |
362 | |
363 | /* gitssb */ |
364 | |
365 | .git-table-wrapper { |
366 | max-height: 12em; |
367 | overflow: auto; |
368 | word-break: break-all; |
369 | margin: 1em 0; |
370 | } |
371 | |
372 | .git-table-wrapper table { |
373 | width: 100%; |
374 | } |
375 | |
376 | /* --- network status --- */ |
377 | |
378 | .status { |
379 | width: .7em; |
380 | height: .7em; |
381 | margin: .7em; |
382 | border-radius: 100%; |
383 | background: #08c; |
384 | } |
385 | |
386 | .error { |
387 | background: red; |
388 | } |
389 | |
390 | /* tabs */ |
391 | |
392 | .header { |
393 | background: #f5f5f5; |
394 | border-bottom: 1px inset; |
395 | flex-shrink: 0; |
396 | } |
397 | |
398 | .header__tabs { |
399 | width: 100%; |
400 | min-width: 0px; |
401 | } |
402 | |
403 | /* --- hypertabs ------- */ |
404 | |
405 | .hypertabs__tabs { |
406 | min-width: 0px; |
407 | width: 100%; |
408 | } |
409 | |
410 | .hypertabs__tab { |
411 | overflow-x: hidden; |
412 | min-width: 0px; |
413 | width: 100%; |
414 | } |
415 | |
416 | .hypertabs__button { |
417 | overflow-x: hidden; |
418 | min-width: 0px; |
419 | width: 100%; |
420 | } |
421 | |
422 | .hypertabs__tab { |
423 | color: black; |
424 | background: #f5f5f5; |
425 | border-top-left-radius: 5px; |
426 | margin-left: -3px; |
427 | border-bottom: none; |
428 | padding-top: .56em; |
429 | padding-left: 1em; |
430 | border-left: 1px solid #ddd; |
431 | width: 100%; |
432 | } |
433 | |
434 | .hypertabs__tab > a { |
435 | color: #666; |
436 | text-decoration: none; |
437 | white-space: nowrap; |
438 | font-size: .9em; |
439 | } |
440 | |
441 | .hypertabs--selected { |
442 | font-weight: bold; |
443 | background: #eee; |
444 | border-top-right-radius: 5px; |
445 | z-index: 1; |
446 | } |
447 | |
448 | .hypertabs__x { |
449 | display: none; |
450 | transform: translate(-4px, -3px); |
451 | } |
452 | |
453 | .hypertabs--selected .hypertabs__x { |
454 | display: block; |
455 | } |
456 | |
457 | .instructions { |
458 | position: absolute; |
459 | border: 1px solid #eee; |
460 | padding: 1em; |
461 | bottom: 0; |
462 | left: 0; |
463 | z-index: 1; |
464 | } |
465 | |
466 | /* progress bar */ |
467 | |
468 | .hyperprogress__bar { |
469 | background: darkgrey; |
470 | } |
471 | .hyperprogress__liquid { |
472 | background: lightblue; |
473 | } |
474 | |
475 | |
476 |
Built with git-ssb-web