Slightly change formatting of <h1> headers.
[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 #profile {
53         height: 80px;
54         margin-bottom: 1ex;
55 }
56
57 #sone .profile-link {
58         font-weight: bold;
59         color: rgb(28, 131, 191);
60 }
61
62 #sone #profile.online .picture {
63         position: absolute;
64         background-image: url("../images/sone.png");
65         width: 80px;
66         height: 80px;
67 }
68
69 #sone #profile.offline .picture {
70         position: absolute;
71         background-image: url("../images/sone-offline.png");
72         width: 80px;
73         height: 80px;
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 .post {
115         padding: 1ex 0px;
116         border-bottom: solid 1px #ccc;
117         clear: both;
118 }
119
120 #sone .post.last {
121         padding: 1ex 0px;
122         border-bottom: none;
123 }
124
125 #sone .post .author {
126         display: inline;
127         font-weight: bold;
128 }
129
130 #sone .post .text {
131         display: inline;
132         white-space: pre-wrap;
133 }
134
135 #sone .post .status-line {
136         clear: both;
137         margin-top: 0.5ex;
138         font-size: 85%;
139 }
140
141 #sone .post .time {
142         display: inline;
143         color: #666;
144 }
145
146 #sone .post .delete, #sone .post .likes, #sone .post .like, #sone .post .unlike {
147         display: inline;
148         font: inherit;
149 }
150
151 #sone .post .likes.hidden {
152         display: none;
153 }
154
155 #sone .post .like.hidden, #sone .post .unlike.hidden {
156         display: none;
157 }
158
159 #sone .post .delete button, #sone .post .like button, #sone .post .unlike button {
160         border: 0px;
161         background: none;
162         padding: 0px;
163         color: rgb(28, 131, 191);
164 }
165
166 #sone .post .delete button:hover, #sone .post .like button:hover, #sone .post .unlike button:hover {
167         border: 0px;
168         background: none;
169         padding: 0px;
170         color: rgb(255, 172, 0);
171         cursor: pointer;
172 }
173
174 #sone .post .delete:before, #sone .post .likes:before, #sone .post .like:before, #sone .post .unlike:before {
175         content: ' ‧ ';
176 }
177
178 #sone .post .likes span {
179         font: inherit;
180         color: green;
181 }
182
183 #sone .post .replies {
184         clear: both;
185         padding-top: 0.2ex;
186 }
187
188 #sone .post .reply {
189         clear: both;
190         background-color: #f0f0ff;
191         font-size: 85%;
192         margin: 1ex 0px;
193         padding: 1ex;
194 }
195
196 #sone .post .reply .time {
197         float: none;
198         display: inline;
199         color: #666;
200         font-size: inherit;
201 }
202
203 #sone .post .show-reply-form {
204         display: inline;
205 }
206
207 #sone .post .show-reply-form span {
208         color: rgb(28, 131, 191);
209         cursor: pointer;
210         font: inherit;
211 }
212
213 #sone .post .show-reply-form span:hover {
214         color: rgb(255, 172, 0);
215 }
216
217 #sone .post .show-reply-form:before {
218         content: ' ‧ ';
219 }
220
221 #sone .post .reply .status-line .delete {
222         float: none;
223         display: inline;
224 }
225
226 #sone .post .reply .status-line .delete:before {
227         content: ' · ';
228 }
229
230 #sone .post .create-reply {
231         clear: both;
232         background-color: #f0f0ff;
233         padding: 0.5ex;
234 }
235
236 #sone .post .create-reply input[type=text] {
237         margin-left: 0.5ex;
238         width: 50em;
239 }
240
241 #sone .post .create-reply textarea {
242         margin-left: 0.5ex;
243         width: 50em;
244         height: 4em;
245 }
246
247 #sone .post .create-reply button {
248         float: right;
249 }
250
251 #sone .sone {
252         clear: both;
253         background-color: #f0f0ff;
254         border: 1px solid #ccc;
255         margin-bottom: 0.5ex;
256         padding: 0.5ex;
257 }
258
259 #sone .sone .id {
260         display: none;
261 }
262
263 #sone .sone .profile-link {
264         display: block;
265 }
266
267 #sone .sone .short-request-uri {
268         clear: both;
269         float: right;
270 }
271
272 #sone .sone .unknown-marker, #sone .sone .download-marker, #sone .sone .insert-marker, #sone .sone .idle-marker, #sone .sone .modified-marker {
273         display: none;
274 }
275
276 #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 {
277         display: inline;
278         float: right;
279         border: solid 1px #ccc;
280         border-right: none;
281         border-top: none;
282         padding: 0 0.5ex;
283         position: relative;
284         right: -0.5ex;
285         top: -0.5ex
286 }
287
288 #sone .sone .last-update {
289         float: right;
290         display: inline;
291 }
292
293 #sone .sone .modified-marker, #sone .sone .unknown-marker {
294         color: red;
295         font-weight: bold;
296 }
297
298 #sone .sone form {
299         display: inline;
300         border: solid 1px #ccc;
301         border-left: none;
302         border-bottom: none;
303         padding: 0 0.5ex;
304         position: relative;
305         left: -0.5ex;
306         bottom: -0.5ex
307 }
308
309 #sone .sone form.hidden {
310         display: none;
311 }
312
313 #sone .sone form.block button, #sone .sone form.unblock button, #sone .sone form.follow button, #sone .sone form.unfollow button {
314         display: inline;
315         color: rgb(28, 131, 191);
316         background: none;
317         border: none;
318         font: inherit;
319         padding: 0px;
320 }
321
322 #sone .sone form.block button:hover, #sone .sone form.unblock button:hover, #sone .sone form.follow button:hover, #sone .sone form.unfollow button:hover {
323         display: inline;
324         color: rgb(255, 172, 0);
325 }
326
327 #sone .sone .spacer {
328         display: inline;
329 }
330
331 #sone #create-sone {
332
333 }
334
335 #sone #tail .import-key, #sone #import-key .import-key {
336         margin-top: 1em;
337         border-top: solid 1px #ccc;
338         padding-top: 1em;
339         text-align: center;
340         font-size: 75%;
341         color: #888;
342 }
343
344 #sone #import-key .import-key {
345         border-top: none;
346 }
347
348 #sone #add-sone textarea, #sone #create-sone textarea, #sone #load-sone textarea, #sone #edit-profile textarea {
349         height: 1.5em;
350 }
351
352 #sone #add-sone button {
353         position: absolute;
354 }
355
356 #sone .navigation {
357         text-align: center;
358 }
359
360 #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 {
361         display: block;
362         height: 1.5em;
363         padding: 0.5ex;
364         width: 3em;
365         border: solid 1px #ccc;
366         background-color: #f0f0ff;
367         margin: 1ex 0;
368 }
369
370 #sone .navigation .first, #sone .navigation .previous {
371         float: left;
372 }
373
374 #sone .navigation .current-page, #sone .navigation .total-pages {
375         position: relative;
376         top: 0.5em;
377         margin-top: 0.5ex;
378         display: inline;
379 }
380
381 #sone .navigation .total-pages:before {
382         content: '/ ';
383 }
384
385 #sone .navigation .next, #sone .navigation .last {
386         float: right;
387 }
388
389 #sone h1 {
390         font-family: inherit;
391         font-size: 200%;
392         font-weight: bold;
393         clear: both;
394 }
395
396 #sone .error label {
397         color: red;
398         font-weight: bold;
399 }
400
401 #sone input.default {
402         color: #888;
403 }
404
405 #sone input[type=text].key {
406         width: 130ex;;
407         font-size: 75%;
408 }
409
410 #sone .confirm {
411         font-weight: bold !important;
412         color: red !important;
413 }