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