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