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