Make the view of a Sone a lot prettier.
[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: 68em;
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 #sidebar {
35         width: 200px;
36         position: absolute;
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         margin-left: 200px;
72         padding-left: 1em;
73 }
74
75 #sone .post {
76         padding: 1ex 0px;
77         border-bottom: solid 1px #ccc;
78         margin-bottom: 1ex;
79 }
80
81 #sone .post .author {
82         display: inline;
83         font-weight: bold;
84 }
85
86 #sone .post .text {
87         display: inline;
88         white-space: pre-wrap;
89 }
90
91 #sone .post .status-line {
92         clear: both;
93         font-size: 85%;
94 }
95
96 #sone .post .time {
97         display: inline;
98         color: #666;
99 }
100
101 #sone .post .delete {
102         display: inline;
103 }
104
105 #sone .post .delete:before {
106         content: ' ‧ ';
107 }
108
109 #sone .post .replies {
110         clear: both;
111         padding-top: 0.2ex;
112 }
113
114 #sone .post .reply {
115         clear: both;
116         background-color: #f0f0ff;
117         font-size: 85%;
118         margin: 1ex 0px;
119         padding: 1ex;
120 }
121
122 #sone .post .reply .time {
123         float: none;
124         display: inline;
125         color: #666;
126         font-size: inherit;
127 }
128
129 #sone .post .show-reply-form {
130         display: inline;
131         color: rgb(28, 131, 191);
132         cursor: pointer;
133 }
134
135 #sone .post .show-reply-form:hover {
136         color: rgb(255, 172, 0);
137 }
138
139 #sone .post .show-reply-form:before {
140         content: ' ‧ ';
141 }
142
143 #sone .post .reply .status-line .delete {
144         float: none;
145         display: inline;
146 }
147
148 #sone .post .reply .status-line .delete:before {
149         content: ' · ';
150 }
151
152 #sone .post .create-reply {
153         clear: both;
154         background-color: #f0f0ff;
155         padding: 0.5ex;
156 }
157
158 #sone .post .create-reply.light button {
159         display: none;
160 }
161
162 #sone .sone {
163         clear: both;
164         background-color: #f0f0ff;
165         border: 1px solid #ccc;
166         margin-bottom: 0.5ex;
167         padding: 0.5ex;
168 }
169
170 #sone .sone .profile-link {
171         display: block;
172 }
173
174 #sone .sone .short-request-uri {
175         clear: both;
176         float: right;
177 }
178
179 #sone .sone .unknown-marker, #sone .sone .download-marker, #sone .sone .insert-marker, #sone .sone .idle-marker, #sone .sone .modified-marker {
180         display: none;
181 }
182
183 #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 {
184         display: inline;
185         float: right;
186         border: solid 1px #ccc;
187         border-right: none;
188         border-top: none;
189         padding: 0 0.5ex;
190         position: relative;
191         right: -0.5ex;
192         top: -0.5ex
193 }
194
195 #sone .sone .last-update {
196         float: right;
197         display: inline;
198 }
199
200 #sone .sone .modified-marker, #sone .sone .unknown-marker {
201         color: red;
202         font-weight: bold;
203 }
204
205 #sone .sone form {
206         display: inline;
207         border: solid 1px #ccc;
208         border-left: none;
209         border-bottom: none;
210         padding: 0 0.5ex;
211         position: relative;
212         left: -0.5ex;
213         bottom: -0.5ex
214 }
215
216 #sone .sone form.block button, #sone .sone form.unblock button, #sone .sone form.follow button, #sone .sone form.unfollow button {
217         display: inline;
218         color: rgb(28, 131, 191);
219         background: none;
220         border: none;
221         font: inherit;
222         padding: 0px;
223 }
224
225 #sone .sone form.block button:hover, #sone .sone form.unblock button:hover, #sone .sone form.follow button:hover, #sone .sone form.unfollow button:hover {
226         display: inline;
227         color: rgb(255, 172, 0);
228 }
229
230 #sone .sone .spacer {
231         display: inline;
232 }
233
234
235 #sone h1 {
236         font-family: inherit;
237         font-size: 200%;
238         font-weight: bold;
239 }
240
241 #sone .error label {
242         color: red;
243         font-weight: bold;
244 }
245
246 #sone input.createpost.default, input.reply-input.default {
247         color: #888;
248 }