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