Files: ddf533c74d989b38d8a15ce293a021f67153b2cc / style.css
5142 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 | /* messages */ |
167 | /* is .title used any more? */ |
168 | |
169 | .title { |
170 | padding: .5ex; |
171 | } |
172 | |
173 | .emoji { |
174 | height: 1em; |
175 | width: 1em; |
176 | vertical-align: top; |
177 | } |
178 | |
179 | |
180 | /* -- suggest box */ |
181 | |
182 | .suggest-box > * { |
183 | display: block; |
184 | } |
185 | |
186 | .suggest-box ul { |
187 | padding: 0; |
188 | list-style-type: none; |
189 | padding-left: 0; |
190 | background: #eee; |
191 | border: 1px solid #eee; |
192 | border-radius: 2px; |
193 | } |
194 | |
195 | .suggest-box .selected { |
196 | background: white; |
197 | } |
198 | |
199 | .suggest-box { |
200 | width: max-content; |
201 | background: #white; |
202 | border-radius: 1em; |
203 | } |
204 | |
205 | /* emoji */ |
206 | .suggest-box img { |
207 | height: 20px; |
208 | width: 20px; |
209 | } |
210 | |
211 | /* avatar */ |
212 | |
213 | .avatar--large, |
214 | .avatar--thumbnail, |
215 | .avatar--fullsize { |
216 | border: 1px solid #eee; |
217 | } |
218 | |
219 | .avatar--large { |
220 | width: 10em; |
221 | height: 10em; |
222 | } |
223 | |
224 | .avatar--thumbnail { |
225 | width: 2.5em; |
226 | height: 2.5em; |
227 | float: left; |
228 | margin: 0 .25ex; |
229 | } |
230 | |
231 | .\.meta .avatar--thumbnail { |
232 | width: 1.9em; |
233 | height: 1.9em; |
234 | } |
235 | |
236 | .avatar--fullsize { |
237 | width: 50%; |
238 | } |
239 | |
240 | .profile { |
241 | padding: .5ex; |
242 | overflow: auto; |
243 | } |
244 | |
245 | .profile input { |
246 | width: 100%; |
247 | } |
248 | |
249 | .profile__info { |
250 | margin-left: .5em; |
251 | } |
252 | |
253 | /* lightbox - used in message-confirm */ |
254 | |
255 | .lightbox { |
256 | overflow: auto; |
257 | width: 650px; |
258 | padding: 25px; |
259 | margin: 3em 0; |
260 | |
261 | z-index: 2; |
262 | |
263 | background: #f5f5f5; |
264 | border: 1px solid #eee; |
265 | border-radius: .2em; |
266 | } |
267 | |
268 | /* searchprompt */ |
269 | |
270 | .searchprompt { |
271 | float: left; |
272 | width: 85%; |
273 | height: 2em; |
274 | margin-top: .3em; |
275 | border-radius: 1em; |
276 | padding-left: .2em; |
277 | margin-left: 1em; |
278 | margin-right: 1em; |
279 | } |
280 | |
281 | /* TextNodeSearcher highlights */ |
282 | |
283 | .highlight { |
284 | background: #f5f5f5; |
285 | } |
286 | |
287 | /* avatar editor */ |
288 | |
289 | .hypercrop__canvas { |
290 | width: 100%; |
291 | } |
292 | |
293 | /* gitssb */ |
294 | |
295 | .git-table-wrapper { |
296 | max-height: 12em; |
297 | overflow: auto; |
298 | word-break: break-all; |
299 | margin: 1em 0; |
300 | } |
301 | |
302 | .git-table-wrapper table { |
303 | width: 100%; |
304 | } |
305 | |
306 | /* --- network status --- */ |
307 | |
308 | .status { |
309 | width: .7em; |
310 | height: .7em; |
311 | margin: .7em; |
312 | border-radius: 100%; |
313 | background: #08c; |
314 | } |
315 | |
316 | .error { |
317 | background: red; |
318 | } |
319 | |
320 | /* tabs */ |
321 | |
322 | .header { |
323 | background: #f5f5f5; |
324 | border-bottom: 1px inset; |
325 | flex-shrink: 0; |
326 | } |
327 | |
328 | .header__tabs { |
329 | width: 100%; |
330 | min-width: 0px; |
331 | } |
332 | |
333 | /* --- hypertabs ------- */ |
334 | |
335 | .hypertabs__tabs { |
336 | min-width: 0px; |
337 | width: 100%; |
338 | } |
339 | |
340 | .hypertabs__tab { |
341 | overflow-x: hidden; |
342 | min-width: 0px; |
343 | width: 100%; |
344 | } |
345 | |
346 | .hypertabs__button { |
347 | overflow-x: hidden; |
348 | min-width: 0px; |
349 | width: 100%; |
350 | } |
351 | |
352 | .hypertabs__tab { |
353 | color: black; |
354 | background: #f5f5f5; |
355 | border-top-left-radius: 5px; |
356 | margin-left: -3px; |
357 | border-bottom: none; |
358 | padding-top: .56em; |
359 | padding-left: 1em; |
360 | border-left: 1px solid #ddd; |
361 | width: 100%; |
362 | } |
363 | |
364 | .hypertabs__tab > a { |
365 | color: #666; |
366 | text-decoration: none; |
367 | white-space: nowrap; |
368 | font-size: .9em; |
369 | } |
370 | |
371 | .hypertabs--selected { |
372 | font-weight: bold; |
373 | background: #eee; |
374 | border-top-right-radius: 5px; |
375 | z-index: 1; |
376 | } |
377 | |
378 | .hypertabs__x { |
379 | display: none; |
380 | transform: translate(-4px, -3px); |
381 | } |
382 | |
383 | .hypertabs--selected .hypertabs__x { |
384 | display: block; |
385 | } |
386 | |
387 | /* progress bar */ |
388 | |
389 | .hyperprogress__bar { |
390 | background: darkgrey; |
391 | } |
392 | .hyperprogress__liquid { |
393 | background: lightblue; |
394 | } |
395 | |
396 | |
397 |
Built with git-ssb-web