Files: 6a04c1500ae5d062c3a688cf9677d5229a8ca9b1 / style.css
3069 bytesRaw
1 | body { |
2 | font-family: "Source Sans Pro", sans-serif; |
3 | } |
4 | |
5 | .screen { |
6 | position: absolute; |
7 | top: 0px; bottom: 0px; |
8 | left: 0px; right: 0px; |
9 | overflow-y: hidden; |
10 | } |
11 | |
12 | .column { |
13 | display: flex; |
14 | flex-direction: column; |
15 | background: #f5f5f5; |
16 | min-height: 0px; |
17 | } |
18 | |
19 | .row { |
20 | display: flex; |
21 | flex-direction: row; |
22 | } |
23 | |
24 | .stretch { |
25 | flex-basis: 0; |
26 | } |
27 | |
28 | .fixed { |
29 | flex-grow: 1; |
30 | flex-shrink: 1; |
31 | } |
32 | |
33 | .scroll-y { |
34 | overflow-y: auto; |
35 | } |
36 | |
37 | .scroll-x { |
38 | overflow-x: auto; |
39 | } |
40 | |
41 | .button { |
42 | border: 2px; margin: 3px; |
43 | max-width: 50px; |
44 | overflow-x: hidden; |
45 | } |
46 | |
47 | |
48 | img { |
49 | max-width: 600px; |
50 | display: block; |
51 | } |
52 | |
53 | pre { |
54 | max-width: 650px; |
55 | white-space: pre-wrap; |
56 | } |
57 | |
58 | /* scrolling feeds, threads */ |
59 | |
60 | .scroller { |
61 | width: 100%; |
62 | } |
63 | |
64 | .scroller > * { |
65 | margin-left: auto; |
66 | margin-right: auto; |
67 | } |
68 | |
69 | .scroller__wrapper { |
70 | width: 100%; |
71 | } |
72 | |
73 | @media (min-width: 600px) { |
74 | .scroller__wrapper { |
75 | width: 600px; |
76 | } |
77 | } |
78 | |
79 | |
80 | /* --- hypertabs ------- */ |
81 | |
82 | .hypertabs__tabs { |
83 | overflow-y: hide; |
84 | } |
85 | |
86 | .hypertabs > .row { |
87 | flex-grow: 0; flex-shrink: 0; |
88 | margin: 10px; |
89 | } |
90 | |
91 | .hypertabs__tabs > * { |
92 | max-width: 50px; |
93 | overflow-x: hidden; |
94 | margin-right: 5px; |
95 | padding-top: 1px; |
96 | } |
97 | |
98 | .hypertabs--selected { |
99 | background: white; |
100 | border: 1px solid #ccc; |
101 | padding-top: 0; |
102 | padding-left: 5px; |
103 | padding-right: 5px; |
104 | max-width: 200px; |
105 | } |
106 | |
107 | /* message id */ |
108 | |
109 | input { |
110 | width: 100px; |
111 | margin-left: 3px; |
112 | margin-right: 3px; |
113 | } |
114 | |
115 | /* compose */ |
116 | |
117 | .compose { |
118 | width: 100%; |
119 | } |
120 | |
121 | /* messages */ |
122 | |
123 | .message { |
124 | border: 1px solid #ccc; |
125 | padding: 5px; |
126 | margin-top: 1em; |
127 | background: white; |
128 | display: block; |
129 | flex-basis: 0; |
130 | max-width: 100%; |
131 | min-width: 300px; |
132 | word-wrap:break-word; |
133 | display:inline-block; |
134 | } |
135 | |
136 | .message_meta input { |
137 | border: none; |
138 | font-size: .8em; |
139 | color: #666; |
140 | background: #ddd; |
141 | } |
142 | |
143 | .message_meta { |
144 | margin-left: auto; |
145 | } |
146 | .message_meta > * { |
147 | margin-left: 5px; |
148 | } |
149 | .message > .title > .avatar { |
150 | margin-left: 0; |
151 | } |
152 | |
153 | .message_content { |
154 | margin-top: 5px; |
155 | border-top: 1px solid #ccc; |
156 | padding-top: 3px; |
157 | } |
158 | |
159 | /* -- suggest box */ |
160 | |
161 | |
162 | .suggest-box > * { |
163 | background: #f5f5f5; |
164 | border: 1px solid #ccc; |
165 | margin: 3px; |
166 | } |
167 | |
168 | .suggest-box { |
169 | width: 200px; |
170 | margin-left: -7em; |
171 | } |
172 | |
173 | .suggest-box ul { |
174 | list-style-type: none; |
175 | padding-left: -20px; |
176 | } |
177 | |
178 | .suggest-box .selected { |
179 | background: #ccc; |
180 | } |
181 | |
182 | .suggest-box img { |
183 | width: 40px; |
184 | } |
185 | .suggest-box,.selected img { |
186 | width: 200px; |
187 | } |
188 | /* avatar */ |
189 | |
190 | .avatar { |
191 | display: flex; |
192 | flex-direction: row; |
193 | } |
194 | .avatar img { |
195 | width: 40px; |
196 | height: 40px; |
197 | margin-right: 3px; |
198 | border: 1px solid #ccc; |
199 | } |
200 | |
201 | .profile { |
202 | background: #fff; |
203 | border: 1px solid #ccc; |
204 | } |
205 | |
206 | .profile img { |
207 | width: 150px; |
208 | height: 150px; |
209 | margin-right: 1em; |
210 | margin-bottom: 1em; |
211 | border: 1px solid #ccc; |
212 | } |
213 | |
214 | /* lightbox - used in message-confirm */ |
215 | |
216 | .lightbox { |
217 | overflow: auto; |
218 | width: 80%; |
219 | border: 1px solid #ccc; // this is being overwritten in hyperlightbox module |
220 | } |
221 | |
222 | /* searchprompt */ |
223 | |
224 | .searchprompt { |
225 | position: absolute; |
226 | right: 10px; |
227 | top: 10px; |
228 | width: 200px; |
229 | } |
230 | |
231 | a { |
232 | color: #333; |
233 | } |
234 | |
235 | a:hover { |
236 | color: #000; |
237 | } |
238 | |
239 | /* TextNodeSearcher highlights */ |
240 | |
241 | highlight { |
242 | background: yellow; |
243 | } |
244 | |
245 |
Built with git-ssb-web