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