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