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