Files: 3814f0bab283660b1d7e93e049986e2c4c211a90 / style.css
6237 bytesRaw
1 | body { |
2 | font-family: 'Source Sans Pro', sans-serif; |
3 | background: #f5f5f5; |
4 | } |
5 | |
6 | h1, h2, h3, h4, h5, h6, p, ul, ol { |
7 | margin-top: .35em; |
8 | } |
9 | |
10 | h1 { font-size: 1.2em; } |
11 | h2 { font-size: 1.18em; } |
12 | h3 { font-size: 1.15em; } |
13 | h4 { font-size: 1.12em; } |
14 | h5 { font-size: 1.1em; } |
15 | h6 { font-size: 1em; } |
16 | |
17 | * { |
18 | word-break: break-word; |
19 | } |
20 | |
21 | a:link, a:visited, a:active { |
22 | color: #0088cc; |
23 | text-decoration: none; |
24 | } |
25 | |
26 | a:hover, |
27 | a:focus { |
28 | color: #005580; |
29 | text-decoration: underline; |
30 | } |
31 | |
32 | .screen { |
33 | position: absolute; |
34 | top: 0px; bottom: 0px; |
35 | left: 0px; right: 0px; |
36 | overflow-y: hidden; |
37 | } |
38 | |
39 | .column { |
40 | display: flex; |
41 | flex-direction: column; |
42 | min-height:0px; |
43 | } |
44 | |
45 | .row { |
46 | display: flex; |
47 | flex-direction: row; |
48 | min-height:0px; |
49 | } |
50 | |
51 | .end { |
52 | justify-content: flex-end; |
53 | } |
54 | |
55 | .wrap { |
56 | display: flex; |
57 | flex-direction: row; |
58 | flex-wrap: wrap; |
59 | } |
60 | |
61 | .no-shrink { |
62 | flex-shrink: 0; |
63 | } |
64 | |
65 | .expand { |
66 | justify-content: space-between; |
67 | } |
68 | |
69 | .scroll-y { |
70 | overflow-y: auto; |
71 | min-height: 0px; |
72 | } |
73 | |
74 | .scroll-x { |
75 | overflow-x: auto; |
76 | min-width: 0px; |
77 | } |
78 | |
79 | pre { |
80 | white-space: pre-wrap; |
81 | word-wrap: break-word; |
82 | } |
83 | |
84 | p { |
85 | margin-top: .35ex; |
86 | } |
87 | |
88 | hr { |
89 | border: solid #eee; |
90 | clear: both; |
91 | border-width: 1px 0 0; |
92 | height: 0; |
93 | margin-bottom: .9em; |
94 | } |
95 | |
96 | input, textarea { |
97 | border: none; |
98 | border-radius: .2em; |
99 | font-family: sans-serif; |
100 | } |
101 | |
102 | input:focus, .compose:focus, .message:focus, button:focus { |
103 | outline: none; |
104 | border-color: #0088cc; |
105 | box-shadow: 0 0 4px #0088cc; |
106 | } |
107 | |
108 | textarea { |
109 | padding: .5em; |
110 | } |
111 | |
112 | textarea:focus { |
113 | outline: none; |
114 | border-color: none; |
115 | box-shadow: none; |
116 | } |
117 | |
118 | button { |
119 | background: #fff; |
120 | color: #666; |
121 | border: 1px solid #bbb; |
122 | border-radius: .5em; |
123 | padding: .7em; |
124 | margin: .5em; |
125 | cursor: pointer; |
126 | text-transform: uppercase; |
127 | font-weight: bold; |
128 | font-size: .7em; |
129 | } |
130 | |
131 | button:hover { |
132 | background: #ccc; |
133 | border: 1px solid #bbb; |
134 | } |
135 | |
136 | .menu { |
137 | position: absolute; |
138 | top: .5em; |
139 | right: .5em; |
140 | padding-top: .5em; |
141 | padding-bottom: .5em; |
142 | padding-right: 1em; |
143 | padding-left: 1em; |
144 | background: #f5f5f5; |
145 | border: 1px solid #eee; |
146 | box-shadow: 3px 0px 3px #ccc; |
147 | border-radius: .2em; |
148 | } |
149 | |
150 | /* scrolling feeds, threads */ |
151 | |
152 | .scroller { |
153 | width: 100%; |
154 | } |
155 | |
156 | .scroller__wrapper { |
157 | flex: 1; |
158 | max-width: 600px; |
159 | margin-left: auto; |
160 | margin-right: auto; |
161 | } |
162 | |
163 | /* compose */ |
164 | |
165 | .compose { |
166 | width: 100%; |
167 | margin-top: .5em; |
168 | margin-bottom: .5em; |
169 | box-shadow: #dadada 1px 2px 8px; |
170 | } |
171 | |
172 | .compose button { |
173 | float: right; |
174 | } |
175 | |
176 | /* messages */ |
177 | |
178 | .message { |
179 | background: white; |
180 | position: relative; |
181 | flex-basis: 0; |
182 | word-wrap: break-word; |
183 | margin-bottom: 1em; |
184 | padding: 0.3rem; |
185 | border-radius: 2px; |
186 | box-shadow: #dadada 1px 2px 8px; |
187 | background: white; |
188 | } |
189 | |
190 | .message--mini { |
191 | margin-bottom: 1em; |
192 | padding: ; |
193 | border-radius: 0; |
194 | box-shadow: none; |
195 | background: inherit; |
196 | } |
197 | |
198 | .message_content div > span { |
199 | font-size: 0.8rem; |
200 | margin-bottom: 0.7rem; |
201 | display: block; |
202 | color: #888; |
203 | } |
204 | |
205 | .message_content--mini div > span { |
206 | display: inline-block; |
207 | } |
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 | margin-right: .5ex; |
298 | } |
299 | |
300 | .avatar--fullsize { |
301 | width: 100%; |
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 | box-shadow: #dadada 1px 2px 8px; |
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 | box-shadow: 3px 0px 3px #ccc; |
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 | .screen { |
465 | background: #f5f5f5 |
466 | } |
467 |
Built with git-ssb-web