Files: 2ab67531b8a5ecdd7419f3c8d9fa0ccee8cb9377 / style.css
4123 bytesRaw
1 | body { |
2 | margin: 0; |
3 | background: #141414; |
4 | font-family: sans-serif; |
5 | color: #d5d5d5; |
6 | font-size: 14px; |
7 | line-height: 20px; |
8 | } |
9 | |
10 | #screen { |
11 | position: absolute; |
12 | top: 35px; |
13 | bottom: 0px; |
14 | left: 0px; |
15 | right: 0px; |
16 | } |
17 | |
18 | .hyperscroll { |
19 | width: 100%; |
20 | } |
21 | |
22 | .search { |
23 | margin-top: 1.5px; |
24 | float: right; |
25 | width: 200px; |
26 | } |
27 | |
28 | .header { |
29 | padding-bottom: .7em; |
30 | border-bottom: 1px solid #252525; |
31 | } |
32 | |
33 | h1, h2, h3, h4, h5, h6 { |
34 | font-size: 1.2em; |
35 | margin-top: .35ex; |
36 | } |
37 | |
38 | hr { |
39 | border: solid #222; |
40 | clear: both; |
41 | border-width: 1px 0 0; |
42 | height: 0; |
43 | margin-bottom: .9em; |
44 | } |
45 | |
46 | |
47 | p { |
48 | margin-top: .35ex; |
49 | margin-bottom: 10px; |
50 | } |
51 | |
52 | /*a { |
53 | color: #00aaff; |
54 | text-decoration: none; |
55 | } |
56 | |
57 | a:hover, |
58 | a:focus { |
59 | color: #0088cc; |
60 | text-decoration: underline; |
61 | }*/ |
62 | |
63 | a { |
64 | color: white; |
65 | *text-decoration: none; |
66 | } |
67 | |
68 | a:hover { |
69 | color: #ddd; |
70 | } |
71 | |
72 | .navbar a { |
73 | color: #999; |
74 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); |
75 | text-decoration: none; |
76 | } |
77 | |
78 | .navbar a:hover, .navbar a:focus { |
79 | color: #fff; |
80 | text-decoration: none; |
81 | } |
82 | |
83 | .navbar { |
84 | background: #1b1b1b; |
85 | background: linear-gradient(#222, #111); |
86 | border-bottom: 1px solid #252525; |
87 | } |
88 | |
89 | .navbar { |
90 | width: 100%; |
91 | position: fixed; |
92 | z-index: 1000; |
93 | margin: 0; |
94 | padding-top: .3em; |
95 | padding-bottom: .3em; |
96 | left: 0; right: 0; |
97 | top: 0; |
98 | } |
99 | |
100 | .navbar .internal { |
101 | max-width: 97%; |
102 | margin-left: auto; |
103 | margin-right: auto; |
104 | } |
105 | |
106 | .navbar li { |
107 | margin-top: .3em; |
108 | float: left; |
109 | margin-right: .6em; |
110 | margin-left: .3em; |
111 | list-style-type: none; |
112 | } |
113 | |
114 | .navbar li.right { |
115 | padding-left: .4em; |
116 | padding-right: .4em; |
117 | margin-top: .3em; |
118 | margin-right: 1.7em; |
119 | float: right; |
120 | list-style-type: none; |
121 | background: #333; |
122 | border-radius: 100%; |
123 | } |
124 | |
125 | .content { |
126 | max-width: 680px; |
127 | margin-left: auto; |
128 | margin-right: auto; |
129 | } |
130 | |
131 | .hyperscroll > .content { |
132 | max-width: 680px; |
133 | margin-left: auto; |
134 | margin-right: auto; |
135 | } |
136 | |
137 | .message, .message > *, .navbar, .navbar > * { |
138 | animation: fadein .5s; |
139 | } |
140 | |
141 | @keyframes fadein { |
142 | from { opacity: 0; } |
143 | to { opacity: 1; } |
144 | } |
145 | |
146 | .message, .embedded { |
147 | display: block; |
148 | margin: .6em; |
149 | background: #111; |
150 | padding: .7em; |
151 | border-radius: 3px; |
152 | border: 1px solid #252525; |
153 | } |
154 | |
155 | .embedded { |
156 | padding-left: 1em; |
157 | } |
158 | |
159 | .message:hover, .embedded:hover { |
160 | background: #141414; |
161 | } |
162 | |
163 | .message img, .message video { |
164 | max-width: 100%; |
165 | } |
166 | |
167 | img { |
168 | border-radius: 3px; |
169 | } |
170 | |
171 | .timestamp, .votes { |
172 | float: right; |
173 | } |
174 | |
175 | .avatar--small img { |
176 | vertical-align: top; |
177 | width: 1.4em; |
178 | height: 1.4em; |
179 | margin-right: .2em; |
180 | } |
181 | |
182 | .avatar--medium img { |
183 | float: left; |
184 | vertical-align: top; |
185 | width: 5em; |
186 | height: 5em; |
187 | margin-right: .5em; |
188 | margin-bottom: .5em; |
189 | } |
190 | |
191 | .compose, textarea, input { |
192 | font-family: sans-serif; |
193 | font-size: 14px; |
194 | line-height: 20px; |
195 | background: #111; |
196 | color: #ccc; |
197 | border: none; |
198 | border-radius: 3px; |
199 | } |
200 | |
201 | textarea { |
202 | width: 100%; |
203 | height: 100px; |
204 | } |
205 | |
206 | .compose:hover { |
207 | background: #141414; |
208 | } |
209 | |
210 | .compose:focus { |
211 | outline: none; |
212 | } |
213 | |
214 | .emoji { |
215 | padding: .2em; |
216 | } |
217 | |
218 | .right { |
219 | float: right; |
220 | margin-right: .25em; |
221 | } |
222 | |
223 | .emoji { |
224 | *float: left; |
225 | width: 1em; |
226 | vertical-align: top; |
227 | } |
228 | |
229 | pre { |
230 | width: 100%; |
231 | display: block; |
232 | } |
233 | |
234 | code { |
235 | display: inline-block; |
236 | vertical-align: bottom; |
237 | } |
238 | |
239 | code, pre { |
240 | overflow: auto; |
241 | word-break: break-all; |
242 | word-wrap: break-word; |
243 | white-space: pre; |
244 | white-space: -moz-pre-wrap; |
245 | white-space: pre-wrap; |
246 | white-space: pre\9; |
247 | } |
248 | |
249 | code, pre { |
250 | font-size: 12px; |
251 | color: #ccc; |
252 | } |
253 | |
254 | code { |
255 | color: #ccc; |
256 | } |
257 | |
258 | pre { |
259 | margin: 0 0 10px; |
260 | font-size: 13px; |
261 | line-height: 20px; |
262 | } |
263 | |
264 | button {margin: 0; margin-top: -.2em;} |
265 | |
266 | input {width: 88%; } |
267 | |
268 | #profile input {width: 50%;} |
269 | |
270 | .btn { |
271 | display: inline-block; |
272 | *display: inline; |
273 | padding: 2px 6px; |
274 | margin-bottom: 0; |
275 | margin-right: .2em; |
276 | font-size: 14px; |
277 | line-height: 20px; |
278 | color: #d5d5d5; |
279 | text-align: center; |
280 | text-shadow: 0 1px 1px rgba(0, 0, 0, 0.75); |
281 | vertical-align: middle; |
282 | cursor: pointer; |
283 | background-color: #222; |
284 | border: 1px solid #222; |
285 | border-radius: 4px; |
286 | } |
287 | |
288 | |
289 | .btn:hover, |
290 | .btn:focus, |
291 | .btn:active, |
292 | .btn.active, |
293 | .btn.disabled, |
294 | .btn[disabled] { |
295 | color: white; |
296 | background-color: black; |
297 | } |
298 | |
299 | .btn:active, |
300 | .btn.active { |
301 | background-color: #111; |
302 | } |
303 | |
304 | .btn:first-child { |
305 | *margin-left: 0; |
306 | } |
307 | |
308 |
Built with git-ssb-web