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