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