Files: 26c51d9bb5bfa9290085f0bc5f03055e6a881167 / style.css
3112 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 | margin-left: 3px; |
111 | margin-right: 3px; |
112 | border: 1px solid #ccc; |
113 | } |
114 | |
115 | textarea { |
116 | border: 1px solid #ccc; |
117 | } |
118 | |
119 | /* compose */ |
120 | |
121 | .compose { |
122 | width: 100%; |
123 | } |
124 | |
125 | /* messages */ |
126 | |
127 | .message { |
128 | border: 1px solid #ccc; |
129 | padding: 5px; |
130 | margin-top: 1em; |
131 | background: white; |
132 | display: block; |
133 | flex-basis: 0; |
134 | max-width: 100%; |
135 | min-width: 300px; |
136 | word-wrap:break-word; |
137 | display:inline-block; |
138 | } |
139 | |
140 | .message_meta input { |
141 | border: none; |
142 | font-size: .8em; |
143 | color: #666; |
144 | background: #ddd; |
145 | } |
146 | |
147 | .message_meta { |
148 | margin-left: auto; |
149 | } |
150 | .message_meta > * { |
151 | margin-left: 5px; |
152 | } |
153 | .message > .title > .avatar { |
154 | margin-left: 0; |
155 | } |
156 | |
157 | .message_content { |
158 | margin-top: 5px; |
159 | border-top: 1px solid #ccc; |
160 | padding-top: 3px; |
161 | } |
162 | |
163 | /* -- suggest box */ |
164 | |
165 | |
166 | .suggest-box > * { |
167 | background: #f5f5f5; |
168 | border: 1px solid #ccc; |
169 | margin: 3px; |
170 | } |
171 | |
172 | .suggest-box { |
173 | width: 200px; |
174 | margin-left: -7em; |
175 | } |
176 | |
177 | .suggest-box ul { |
178 | list-style-type: none; |
179 | padding-left: -20px; |
180 | } |
181 | |
182 | .suggest-box .selected { |
183 | background: #ccc; |
184 | } |
185 | |
186 | .suggest-box img { |
187 | width: 40px; |
188 | } |
189 | .suggest-box,.selected img { |
190 | width: 200px; |
191 | } |
192 | /* avatar */ |
193 | |
194 | .avatar { |
195 | display: flex; |
196 | flex-direction: row; |
197 | } |
198 | .avatar img { |
199 | width: 40px; |
200 | height: 40px; |
201 | margin-right: 3px; |
202 | border: 1px solid #ccc; |
203 | } |
204 | |
205 | .profile { |
206 | background: #fff; |
207 | border: 1px solid #ccc; |
208 | } |
209 | |
210 | .profile img { |
211 | width: 150px; |
212 | height: 150px; |
213 | margin-right: 1em; |
214 | margin-bottom: 1em; |
215 | border: 1px solid #ccc; |
216 | } |
217 | |
218 | /* lightbox - used in message-confirm */ |
219 | |
220 | .lightbox { |
221 | overflow: auto; |
222 | width: 80%; |
223 | border: 1px solid #ccc; // this is being overwritten in hyperlightbox module |
224 | } |
225 | |
226 | /* searchprompt */ |
227 | |
228 | .searchprompt { |
229 | width: 250px; |
230 | margin-left: 10px; |
231 | margin-bottom: 5px; |
232 | } |
233 | |
234 | a { |
235 | color: #333; |
236 | } |
237 | |
238 | a:hover { |
239 | color: #000; |
240 | } |
241 | |
242 | /* TextNodeSearcher highlights */ |
243 | |
244 | highlight { |
245 | background: yellow; |
246 | } |
247 | |
248 |
Built with git-ssb-web