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