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