Add flattr button to page tail.
[Sone.git] / src / main / resources / static / css / sone.css
1 /* Sone Main CSS File */
2
3 /* first, override some fproxy rules. */
4 #sone .post .reply div,#sone .post .time,#sone .post .delete,#sone .post .show-reply-form, input[type=text], textarea {
5         font: inherit;
6 }
7
8 input[type=text], textarea {
9         font-size: 90%;
10         margin: 0.5ex;
11         margin-left: 0;
12         border: solid 1px #ccc;
13         padding: 0.5ex;
14         height: 1.5em;
15         width: 50em;
16         outline: none;
17 }
18
19 textarea {
20         height: 4em;
21 }
22
23 #sone form {
24         margin: 0px;
25 }
26
27 /* now for the real stuff. */
28
29 #sone {
30         width: 55em;
31         margin: auto;
32 }
33
34 #sone .hidden {
35         display: none;
36 }
37
38 #sone #formPassword {
39         display: none;
40 }
41
42 #sone a, #sone a:link, #sone a:visited {
43         color: rgb(28, 131, 191);
44         font-size: inherit;
45         text-decoration: none;
46 }
47
48 #sone a:active, #sone a:hover {
49         color: rgb(255, 172, 0);
50 }
51
52 #sone #plugin-warning {
53         border: solid 0.5em red;
54         padding: 0.5em;
55         margin-bottom: 1em;
56 }
57
58 #sone #profile {
59         height: 80px;
60         margin-bottom: 1ex;
61 }
62
63 #sone .profile-link {
64         font-weight: bold;
65         color: rgb(28, 131, 191);
66 }
67
68 #sone #profile.online .picture {
69         position: absolute;
70 }
71
72 #sone #profile.offline .picture {
73         position: absolute;
74 }
75
76 #sone #profile.offline .edit-profile-link, #sone #profile.offline .profile-link {
77         display: none;
78 }
79
80 #sone #profile .edit-profile-link {
81         font-size: 85%;
82 }
83
84 #sone #home-sone {
85         margin-top: 1ex;
86         margin-left: 80px;
87         padding-left: 1ex;
88 }
89
90 #sone #update-status label {
91         display: none;
92 }
93
94 #sone #update-status input[type=text] {
95         width: 45em;
96 }
97
98 #sone #update-status textarea {
99         width: 45em;
100 }
101
102 #sone #update-status button {
103         float: right;
104 }
105
106 #sone .nice-name {
107         font-weight: bold;
108 }
109
110 #sone #main {
111         padding: 1em;
112 }
113
114 #sone #edit-profile #birth-day, #sone #edit-profile #birth-month, #sone #edit-profile #birth-year {
115         display: inline;
116         width: 15em;
117 }
118
119 #sone #edit-profile #birth-day input, #sone #edit-profile #birth-month input, #sone #edit-profile #birth-year input {
120         width: 4em;
121         text-align: right;
122 }
123
124 #sone .post {
125         padding: 1ex 0px;
126         border-bottom: solid 1px #ccc;
127         clear: both;
128 }
129
130 #sone .post.last {
131         padding: 1ex 0px;
132         border-bottom: none;
133 }
134
135 #sone .post > .avatar {
136         position: absolute;
137 }
138
139 #sone .post > .inner-part {
140         margin-left: 48px;
141         padding-left: 0.5em;
142         min-height: 48px;
143 }
144
145 #sone .post .author {
146         display: inline;
147         font-weight: bold;
148 }
149
150 #sone .post .text {
151         display: inline;
152         white-space: pre-wrap;
153 }
154
155 #sone .post .status-line {
156         margin-top: 0.5ex;
157         font-size: 85%;
158 }
159
160 #sone .post .time {
161         display: inline;
162         color: #666;
163 }
164
165 #sone .post .delete, #sone .post .likes, #sone .post .like, #sone .post .unlike {
166         display: inline;
167         font: inherit;
168 }
169
170 #sone .post .likes.hidden {
171         display: none;
172 }
173
174 #sone .post .like.hidden, #sone .post .unlike.hidden {
175         display: none;
176 }
177
178 #sone .post .delete button, #sone .post .like button, #sone .post .unlike button {
179         border: 0px;
180         background: none;
181         padding: 0px;
182         color: rgb(28, 131, 191);
183 }
184
185 #sone .post .delete button:hover, #sone .post .like button:hover, #sone .post .unlike button:hover {
186         border: 0px;
187         background: none;
188         padding: 0px;
189         color: rgb(255, 172, 0);
190         cursor: pointer;
191 }
192
193 #sone .post .delete:before, #sone .post .likes:before, #sone .post .like:before, #sone .post .unlike:before {
194         content: ' ‧ ';
195 }
196
197 #sone .post .likes span {
198         font: inherit;
199         color: green;
200 }
201
202 #sone .post .replies {
203         clear: both;
204         padding-top: 0.2ex;
205 }
206
207 #sone .post .replies .click-to-show {
208         background-color: #f0f0ff;
209         font-size: 85%;
210         padding: 0.5em;
211         cursor: pointer;
212 }
213
214 #sone .post .reply > .avatar {
215         position: absolute;
216 }
217
218 #sone .post .reply > .inner-part {
219         margin-left: 36px;
220         padding-left: 0.5em;
221         min-height: 36px;
222 }
223
224 #sone .post .reply {
225         clear: both;
226         background-color: #f0f0ff;
227         font-size: 85%;
228         margin: 1ex 0px;
229         padding: 1ex;
230 }
231
232 #sone .post .reply .time {
233         float: none;
234         display: inline;
235         color: #666;
236         font-size: inherit;
237 }
238
239 #sone .post .show-reply-form {
240         display: inline;
241 }
242
243 #sone .post .show-reply-form span {
244         color: rgb(28, 131, 191);
245         cursor: pointer;
246         font: inherit;
247 }
248
249 #sone .post .show-reply-form span:hover {
250         color: rgb(255, 172, 0);
251 }
252
253 #sone .post .show-reply-form:before {
254         content: ' ‧ ';
255 }
256
257 #sone .post .reply .status-line .delete {
258         float: none;
259         display: inline;
260 }
261
262 #sone .post .reply .status-line .delete:before {
263         content: ' · ';
264 }
265
266 #sone .post .create-reply {
267         clear: both;
268         background-color: #f0f0ff;
269         padding: 0.5ex;
270 }
271
272 #sone .post .create-reply input[type=text] {
273         margin-left: 0.5ex;
274         width: 45em;
275 }
276
277 #sone .post .create-reply textarea {
278         margin-left: 0.5ex;
279         width: 45em;
280         height: 4em;
281 }
282
283 #sone .post .create-reply button {
284         float: right;
285 }
286
287 #sone .sone {
288         clear: both;
289         background-color: #f0f0ff;
290         border: 1px solid #ccc;
291         margin-bottom: 0.5ex;
292         padding: 0.5ex;
293 }
294
295 #sone .sone.local {
296         background-color: #f0fff0;
297 }
298
299 #sone .sone.new {
300         background-color: #ffffa0;
301 }
302
303 #sone .sone .id {
304         display: none;
305 }
306
307 #sone .sone .profile-link {
308         display: block;
309 }
310
311 #sone .sone .short-request-uri {
312         clear: both;
313         float: right;
314 }
315
316 #sone .sone .unknown-marker, #sone .sone .download-marker, #sone .sone .insert-marker, #sone .sone .idle-marker, #sone .sone .modified-marker {
317         display: none;
318 }
319
320 #sone .sone.unknown .unknown-marker, #sone .sone.idle .idle-marker, #sone .sone.downloading .download-marker, #sone .sone.inserting .insert-marker, #sone .sone.modified .modified-marker {
321         display: inline;
322         float: right;
323         border: solid 1px #ccc;
324         border-right: none;
325         border-top: none;
326         padding: 0 0.5ex;
327         position: relative;
328         right: -0.5ex;
329         top: -0.5ex
330 }
331
332 #sone .sone.idle.modified .idle-marker {
333         display: none;
334 }
335
336 #sone .sone .last-update {
337         float: right;
338         display: inline;
339 }
340
341 #sone .sone .modified-marker, #sone .sone .unknown-marker {
342         color: red;
343         font-weight: bold;
344 }
345
346 #sone .sone form {
347         display: inline;
348         border: solid 1px #ccc;
349         border-left: none;
350         border-bottom: none;
351         padding: 0 0.5ex;
352         position: relative;
353         left: -0.5ex;
354         bottom: -0.5ex
355 }
356
357 #sone .sone form.hidden {
358         display: none;
359 }
360
361 #sone .sone form.block button, #sone .sone form.unblock button, #sone .sone form.follow button, #sone .sone form.unfollow button, #sone .sone form.blacklist button, #sone .sone form.unblacklist button {
362         display: inline;
363         color: rgb(28, 131, 191);
364         background: none;
365         border: none;
366         font: inherit;
367         padding: 0px;
368 }
369
370 #sone .sone form.block button:hover, #sone .sone form.unblock button:hover, #sone .sone form.follow button:hover, #sone .sone form.unfollow button:hover, #sone .sone form.blacklist button:hover, #sone .sone form.unblacklist button:hover {
371         display: inline;
372         color: rgb(255, 172, 0);
373 }
374
375 #sone .sone .spacer {
376         display: inline;
377 }
378
379 #sone #create-sone {
380
381 }
382
383 #sone #tail {
384         margin-top: 1em;
385         border-top: solid 1px #ccc;
386         padding-top: 2em;
387         text-align: center;
388         font-size: 75%;
389         color: #888;
390 }
391
392 #sone #add-sone textarea, #sone #create-sone textarea, #sone #load-sone textarea, #sone #edit-profile textarea {
393         height: 1.5em;
394 }
395
396 #sone #add-sone button {
397         position: absolute;
398 }
399
400 #sone .navigation {
401         text-align: center;
402 }
403
404 #sone .navigation .first a, #sone .navigation .previous a, #sone .navigation .next a, #sone .navigation .last a, #sone .navigation .first span, #sone .navigation .previous span, #sone .navigation .next span, #sone .navigation .last span {
405         display: block;
406         height: 1.5em;
407         padding: 0.5ex;
408         width: 3em;
409         border: solid 1px #ccc;
410         background-color: #f0f0ff;
411         margin: 1ex 0;
412 }
413
414 #sone .navigation .first, #sone .navigation .previous {
415         float: left;
416 }
417
418 #sone .navigation .current-page, #sone .navigation .total-pages {
419         position: relative;
420         top: 0.5em;
421         margin-top: 0.5ex;
422         display: inline;
423 }
424
425 #sone .navigation .total-pages:before {
426         content: '/ ';
427 }
428
429 #sone .navigation .next, #sone .navigation .last {
430         float: right;
431 }
432
433 #sone h1 {
434         font-family: inherit;
435         font-size: 200%;
436         font-weight: bold;
437         clear: both;
438 }
439
440 #sone h2 {
441         font-family: inherit;
442         font-size: 150%;
443         font-weight: bold;
444         clear: both;
445 }
446
447 #sone .error label {
448         color: red;
449         font-weight: bold;
450 }
451
452 #sone input.default {
453         color: #888;
454 }
455
456 #sone input[type=text].key {
457         width: 130ex;;
458         font-size: 75%;
459 }
460
461 #sone .confirm {
462         font-weight: bold !important;
463         color: red !important;
464 }