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