Add margin below header.
[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
5         {
6         font-size: inherit;
7 }
8
9 #sone form {
10         margin: 0px;
11 }
12
13 /* now for the real stuff. */
14
15 #sone {
16         width: 55em;
17         margin: auto;
18 }
19
20 #sone .hidden {
21         display: none;
22 }
23
24 #sone a, #sone a:link, #sone a:visited {
25         color: rgb(28, 131, 191);
26         font-size: inherit;
27         text-decoration: none;
28 }
29
30 #sone a:active, #sone a:hover {
31         color: rgb(255, 172, 0);
32 }
33
34 #sone #profile {
35         height: 80px;
36         margin-bottom: 1ex;
37 }
38
39 #sone .profile-link {
40         font-weight: bold;
41         color: rgb(28, 131, 191);
42 }
43
44 #sone #profile.online .picture {
45         float: left;
46         background-image: url("../images/sone.png");
47         width: 80px;
48         height: 80px;
49 }
50
51 #sone #profile.offline .picture {
52         float: left;
53         background-image: url("../images/sone-offline.png");
54         width: 80px;
55         height: 80px;
56 }
57
58 #sone #profile.offline .edit-profile-link, #sone #profile.offline .profile-link {
59         display: none;
60 }
61
62 #sone #profile .edit-profile-link {
63         font-size: 85%;
64 }
65
66 #sone .nice-name {
67         font-weight: bold;
68 }
69
70 #sone #main {
71         padding: 1em;
72 }
73
74 #sone .post {
75         padding: 1ex 0px;
76         border-bottom: solid 1px #ccc;
77 }
78
79 #sone .post .author {
80         display: inline;
81         font-weight: bold;
82 }
83
84 #sone .post .text {
85         display: inline;
86         white-space: pre-wrap;
87 }
88
89 #sone .post .status-line {
90         clear: both;
91         margin-top: 0.5ex;
92         font-size: 85%;
93 }
94
95 #sone .post .time {
96         display: inline;
97         color: #666;
98 }
99
100 #sone .post .delete {
101         display: inline;
102 }
103
104 #sone .post .delete:before {
105         content: ' ‧ ';
106 }
107
108 #sone .post .replies {
109         clear: both;
110         padding-top: 0.2ex;
111 }
112
113 #sone .post .reply {
114         clear: both;
115         background-color: #f0f0ff;
116         font-size: 85%;
117         margin: 1ex 0px;
118         padding: 1ex;
119 }
120
121 #sone .post .reply .time {
122         float: none;
123         display: inline;
124         color: #666;
125         font-size: inherit;
126 }
127
128 #sone .post .show-reply-form {
129         display: inline;
130         color: rgb(28, 131, 191);
131         cursor: pointer;
132 }
133
134 #sone .post .show-reply-form:hover {
135         color: rgb(255, 172, 0);
136 }
137
138 #sone .post .show-reply-form:before {
139         content: ' ‧ ';
140 }
141
142 #sone .post .reply .status-line .delete {
143         float: none;
144         display: inline;
145 }
146
147 #sone .post .reply .status-line .delete:before {
148         content: ' · ';
149 }
150
151 #sone .post .create-reply {
152         clear: both;
153         background-color: #f0f0ff;
154         padding: 0.5ex;
155 }
156
157 #sone .post .create-reply.light button {
158         display: none;
159 }
160
161 #sone .sone {
162         clear: both;
163         background-color: #f0f0ff;
164         border: 1px solid #ccc;
165         margin-bottom: 0.5ex;
166         padding: 0.5ex;
167 }
168
169 #sone .sone .profile-link {
170         display: block;
171 }
172
173 #sone .sone .short-request-uri {
174         clear: both;
175         float: right;
176 }
177
178 #sone .sone .unknown-marker, #sone .sone .download-marker, #sone .sone .insert-marker, #sone .sone .idle-marker, #sone .sone .modified-marker {
179         display: none;
180 }
181
182 #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 {
183         display: inline;
184         float: right;
185         border: solid 1px #ccc;
186         border-right: none;
187         border-top: none;
188         padding: 0 0.5ex;
189         position: relative;
190         right: -0.5ex;
191         top: -0.5ex
192 }
193
194 #sone .sone .last-update {
195         float: right;
196         display: inline;
197 }
198
199 #sone .sone .modified-marker, #sone .sone .unknown-marker {
200         color: red;
201         font-weight: bold;
202 }
203
204 #sone .sone form {
205         display: inline;
206         border: solid 1px #ccc;
207         border-left: none;
208         border-bottom: none;
209         padding: 0 0.5ex;
210         position: relative;
211         left: -0.5ex;
212         bottom: -0.5ex
213 }
214
215 #sone .sone form.block button, #sone .sone form.unblock button, #sone .sone form.follow button, #sone .sone form.unfollow button {
216         display: inline;
217         color: rgb(28, 131, 191);
218         background: none;
219         border: none;
220         font: inherit;
221         padding: 0px;
222 }
223
224 #sone .sone form.block button:hover, #sone .sone form.unblock button:hover, #sone .sone form.follow button:hover, #sone .sone form.unfollow button:hover {
225         display: inline;
226         color: rgb(255, 172, 0);
227 }
228
229 #sone .sone .spacer {
230         display: inline;
231 }
232
233
234 #sone h1 {
235         font-family: inherit;
236         font-size: 200%;
237         font-weight: bold;
238 }
239
240 #sone .error label {
241         color: red;
242         font-weight: bold;
243 }
244
245 #sone input.status-input.default, input.reply-input.default {
246         color: #888;
247 }