Files: f6554b8bd488b82e5501a7cbc447518a40f7d702 / style.css
3138 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 | } |
10 | |
11 | .column { |
12 | display: flex; |
13 | flex-direction: column; |
14 | background: #f5f5f5; |
15 | } |
16 | |
17 | .row { |
18 | display: flex; |
19 | flex-direction: row; |
20 | } |
21 | |
22 | .stretch { |
23 | flex-basis: 0; |
24 | // flex-grow: 1; |
25 | // flex-shrink: 1; |
26 | } |
27 | |
28 | |
29 | .fixed { |
30 | flex-grow: 1; |
31 | flex-shrink: 1; |
32 | } |
33 | |
34 | .scroll-y { |
35 | overflow-y: auto; |
36 | } |
37 | |
38 | .scroll-x { |
39 | overflow-x: auto; |
40 | } |
41 | |
42 | .button { |
43 | border: 2px; margin: 3px; |
44 | max-width: 50px; |
45 | overflow-x: hidden; |
46 | } |
47 | |
48 | |
49 | img { |
50 | max-width: 600px; |
51 | display: block; |
52 | // overflow-x: auto; |
53 | } |
54 | |
55 | pre { |
56 | max-width: 650px; |
57 | white-space: pre-wrap; |
58 | // overflow-x: auto; |
59 | // overflox-y: none; |
60 | } |
61 | |
62 | /* scrolling feeds, threads */\ |
63 | |
64 | .scroller { |
65 | width: 100% |
66 | } |
67 | |
68 | .scroller > * { |
69 | margin-left: auto; |
70 | margin-right: auto; |
71 | } |
72 | |
73 | .scroller__wrapper { |
74 | width: 100%; |
75 | } |
76 | |
77 | @media (min-width: 600px) { |
78 | .scroller__wrapper { |
79 | width: 600px; |
80 | } |
81 | } |
82 | |
83 | |
84 | /* --- hypertabs ------- */ |
85 | |
86 | .hypertabs__tabs { |
87 | // width: 1200px |
88 | overflow-y: hide; |
89 | } |
90 | |
91 | .hypertabs > .row { |
92 | flex-grow: 0; flex-shrink: 0; |
93 | margin: 10px; |
94 | } |
95 | |
96 | .hypertabs__tabs > * { |
97 | max-width: 50px; |
98 | overflow-x: hidden; |
99 | margin-right: 5px; |
100 | } |
101 | |
102 | .hypertabs__tab, .hypertabs--selected { |
103 | background: white; |
104 | border: 1px solid #ccc; |
105 | padding-left: 5px; |
106 | padding-right: 5px; |
107 | max-width: 200px; |
108 | } |
109 | |
110 | /* message id */ |
111 | |
112 | input { |
113 | width: 100px; |
114 | margin-left: 3px; |
115 | margin-right: 3px; |
116 | } |
117 | |
118 | /* compose */ |
119 | |
120 | .compose { |
121 | width: 100%; |
122 | } |
123 | |
124 | /* messages */ |
125 | |
126 | .message { |
127 | border: 1px solid #ccc; |
128 | padding: 5px; |
129 | margin-bottom: 1em; |
130 | background: white; |
131 | display: block; |
132 | flex-basis: 0; |
133 | max-width: 100%; |
134 | min-width: 300px; |
135 | word-wrap:break-word; |
136 | display:inline-block; |
137 | } |
138 | |
139 | .message_meta input { |
140 | border: none; |
141 | font-size: .8em; |
142 | color: #666; |
143 | background: #ddd; |
144 | } |
145 | |
146 | .message_meta { |
147 | margin-left: auto; |
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 | .searchprompt:not(:focus) { |
232 | opacity: 1; |
233 | } |
234 | |
235 | a { |
236 | color: #333; |
237 | } |
238 | |
239 | a:hover { |
240 | color: #000; |
241 | } |
242 | |
243 | /* TextNodeSearcher highlights */ |
244 | |
245 | highlight { |
246 | background: yellow; |
247 | } |
248 | |
249 | |
250 |
Built with git-ssb-web