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