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