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