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