Files: cf23c56e2b9a801e98a978e077454fa36839c631 / style.css
2686 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 | .hyperscroll { |
11 | width: 100%; |
12 | } |
13 | |
14 | .header { |
15 | padding-bottom: .7em; |
16 | border-bottom: 1px solid #252525; |
17 | } |
18 | |
19 | a { |
20 | color: white; |
21 | *text-decoration: none; |
22 | } |
23 | |
24 | a:hover { |
25 | color: #ddd; |
26 | } |
27 | |
28 | .navbar a { |
29 | color: #999; |
30 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); |
31 | text-decoration: none; |
32 | } |
33 | |
34 | .navbar a:hover, .navbar a:focus { |
35 | color: #fff; |
36 | text-decoration: none; |
37 | } |
38 | |
39 | .navbar { |
40 | background: #1b1b1b; |
41 | background: linear-gradient(#222, #111); |
42 | border-bottom: 1px solid #252525; |
43 | } |
44 | |
45 | .navbar { |
46 | width: 100%; |
47 | position: fixed; |
48 | z-index: 1000; |
49 | margin: 0; |
50 | padding-top: .3em; |
51 | padding-bottom: .3em; |
52 | left: 0; right: 0; |
53 | top: 0; |
54 | } |
55 | |
56 | .navbar .internal { |
57 | max-width: 680px; |
58 | margin-left: auto; |
59 | margin-right: auto; |
60 | } |
61 | |
62 | .navbar li { |
63 | margin-top: .3em; |
64 | float: left; |
65 | padding-right: .6em; |
66 | padding-left: .3em; |
67 | list-style-type: none; |
68 | } |
69 | |
70 | |
71 | .hyperscroll > .content { |
72 | max-width: 680px; |
73 | margin-left: auto; |
74 | margin-right: auto; |
75 | } |
76 | |
77 | .message, .message > *, .navbar, .navbar > * { |
78 | animation: fadein .5s; |
79 | } |
80 | |
81 | @keyframes fadein { |
82 | from { opacity: 0; } |
83 | to { opacity: 1; } |
84 | } |
85 | |
86 | .message, .embedded { |
87 | display: block; |
88 | margin: .6em; |
89 | background: #111; |
90 | padding: .7em; |
91 | border-radius: 3px; |
92 | border: 1px solid #252525; |
93 | } |
94 | |
95 | .embedded { |
96 | padding-left: 1em; |
97 | } |
98 | |
99 | .message:hover, .embedded:hover { |
100 | background: #141414; |
101 | } |
102 | |
103 | .message img { |
104 | max-width: 100%; |
105 | } |
106 | |
107 | .timestamp, .votes { |
108 | float: right; |
109 | } |
110 | |
111 | .avatar--small img { |
112 | vertical-align: top; |
113 | width: 1.4em; |
114 | height: 1.4em; |
115 | margin-right: .2em; |
116 | } |
117 | |
118 | .compose { |
119 | background: #222; |
120 | color: #ccc; |
121 | width: 100%; |
122 | height: 100px; |
123 | border: 1px solid #252525; |
124 | border-radius: 3px; |
125 | } |
126 | |
127 | .emoji { |
128 | float: left; |
129 | width: 1em; |
130 | vertical-align: top; |
131 | } |
132 | |
133 | pre { |
134 | width: 100%; |
135 | display: block; |
136 | } |
137 | |
138 | code { |
139 | display: inline-block; |
140 | vertical-align: bottom; |
141 | } |
142 | |
143 | code, pre { |
144 | overflow: auto; |
145 | word-break: break-all; |
146 | word-wrap: break-word; |
147 | white-space: pre; |
148 | white-space: -moz-pre-wrap; |
149 | white-space: pre-wrap; |
150 | white-space: pre\9; |
151 | } |
152 | |
153 | |
154 | .btn { |
155 | display: inline-block; |
156 | *display: inline; |
157 | padding: 2px 6px; |
158 | margin-bottom: 0; |
159 | margin-right: .2em; |
160 | font-size: 14px; |
161 | line-height: 20px; |
162 | color: #d5d5d5; |
163 | text-align: center; |
164 | text-shadow: 0 1px 1px rgba(0, 0, 0, 0.75); |
165 | vertical-align: middle; |
166 | cursor: pointer; |
167 | background-color: #222; |
168 | border: 1px solid #222; |
169 | border-radius: 4px; |
170 | } |
171 | |
172 | |
173 | .btn:hover, |
174 | .btn:focus, |
175 | .btn:active, |
176 | .btn.active, |
177 | .btn.disabled, |
178 | .btn[disabled] { |
179 | color: white; |
180 | background-color: black; |
181 | } |
182 | |
183 | .btn:active, |
184 | .btn.active { |
185 | background-color: #111; |
186 | } |
187 | |
188 | .btn:first-child { |
189 | *margin-left: 0; |
190 | } |
191 | |
192 |
Built with git-ssb-web