Files: 563f3289796d5937aa1841d93260f191a0b0da45 / style.css
4100 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 | } |
221 | |
222 | .emoji { |
223 | *float: left; |
224 | width: 1em; |
225 | vertical-align: top; |
226 | } |
227 | |
228 | pre { |
229 | width: 100%; |
230 | display: block; |
231 | } |
232 | |
233 | code { |
234 | display: inline-block; |
235 | vertical-align: bottom; |
236 | } |
237 | |
238 | code, pre { |
239 | overflow: auto; |
240 | word-break: break-all; |
241 | word-wrap: break-word; |
242 | white-space: pre; |
243 | white-space: -moz-pre-wrap; |
244 | white-space: pre-wrap; |
245 | white-space: pre\9; |
246 | } |
247 | |
248 | code, pre { |
249 | font-size: 12px; |
250 | color: #ccc; |
251 | } |
252 | |
253 | code { |
254 | color: #ccc; |
255 | } |
256 | |
257 | pre { |
258 | margin: 0 0 10px; |
259 | font-size: 13px; |
260 | line-height: 20px; |
261 | } |
262 | |
263 | button {margin: 0; margin-top: -.2em;} |
264 | |
265 | input {width: 88%; } |
266 | |
267 | #profile input {width: 50%;} |
268 | |
269 | .btn { |
270 | display: inline-block; |
271 | *display: inline; |
272 | padding: 2px 6px; |
273 | margin-bottom: 0; |
274 | margin-right: .2em; |
275 | font-size: 14px; |
276 | line-height: 20px; |
277 | color: #d5d5d5; |
278 | text-align: center; |
279 | text-shadow: 0 1px 1px rgba(0, 0, 0, 0.75); |
280 | vertical-align: middle; |
281 | cursor: pointer; |
282 | background-color: #222; |
283 | border: 1px solid #222; |
284 | border-radius: 4px; |
285 | } |
286 | |
287 | |
288 | .btn:hover, |
289 | .btn:focus, |
290 | .btn:active, |
291 | .btn.active, |
292 | .btn.disabled, |
293 | .btn[disabled] { |
294 | color: white; |
295 | background-color: black; |
296 | } |
297 | |
298 | .btn:active, |
299 | .btn.active { |
300 | background-color: #111; |
301 | } |
302 | |
303 | .btn:first-child { |
304 | *margin-left: 0; |
305 | } |
306 | |
307 |
Built with git-ssb-web