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