Show More
@@ -1,549 +1,547 b'' | |||||
1 | * { |
|
1 | * { | |
2 | text-decoration: none; |
|
2 | text-decoration: none; | |
3 | font-weight: inherit; |
|
3 | font-weight: inherit; | |
4 | } |
|
4 | } | |
5 |
|
5 | |||
6 | b, strong { |
|
6 | b, strong { | |
7 | font-weight: bold; |
|
7 | font-weight: bold; | |
8 | } |
|
8 | } | |
9 |
|
9 | |||
10 | html { |
|
10 | html { | |
11 | background: #555; |
|
11 | background: #555; | |
12 | color: #ffffff; |
|
12 | color: #ffffff; | |
13 | } |
|
13 | } | |
14 |
|
14 | |||
15 | body { |
|
15 | body { | |
16 | margin: 0; |
|
16 | margin: 0; | |
17 | } |
|
17 | } | |
18 |
|
18 | |||
19 | #admin_panel { |
|
19 | #admin_panel { | |
20 | background: #FF0000; |
|
20 | background: #FF0000; | |
21 | color: #00FF00 |
|
21 | color: #00FF00 | |
22 | } |
|
22 | } | |
23 |
|
23 | |||
24 | .input_field_error { |
|
24 | .input_field_error { | |
25 | color: #FF0000; |
|
25 | color: #FF0000; | |
26 | } |
|
26 | } | |
27 |
|
27 | |||
28 | .title { |
|
28 | .title { | |
29 | font-weight: bold; |
|
29 | font-weight: bold; | |
30 | color: #ffcc00; |
|
30 | color: #ffcc00; | |
31 | } |
|
31 | } | |
32 |
|
32 | |||
33 | .link, a { |
|
33 | .link, a { | |
34 | color: #afdcec; |
|
34 | color: #afdcec; | |
35 | } |
|
35 | } | |
36 |
|
36 | |||
37 | .block { |
|
37 | .block { | |
38 | display: inline-block; |
|
38 | display: inline-block; | |
39 | vertical-align: top; |
|
39 | vertical-align: top; | |
40 | } |
|
40 | } | |
41 |
|
41 | |||
42 | .tag { |
|
42 | .tag { | |
43 | color: #FFD37D; |
|
43 | color: #FFD37D; | |
44 | } |
|
44 | } | |
45 |
|
45 | |||
46 | .post_id { |
|
46 | .post_id { | |
47 | color: #fff380; |
|
47 | color: #fff380; | |
48 | } |
|
48 | } | |
49 |
|
49 | |||
50 | .post, .dead_post, .archive_post, #posts-table { |
|
50 | .post, .dead_post, .archive_post, #posts-table { | |
51 | background: #333; |
|
51 | background: #333; | |
52 | padding: 10px; |
|
52 | padding: 10px; | |
53 | clear: left; |
|
53 | clear: left; | |
54 | word-wrap: break-word; |
|
54 | word-wrap: break-word; | |
55 | border-top: 1px solid #777; |
|
55 | border-top: 1px solid #777; | |
56 | border-bottom: 1px solid #777; |
|
56 | border-bottom: 1px solid #777; | |
57 | } |
|
57 | } | |
58 |
|
58 | |||
59 | .post + .post { |
|
59 | .post + .post { | |
60 | border-top: none; |
|
60 | border-top: none; | |
61 | } |
|
61 | } | |
62 |
|
62 | |||
63 | .dead_post + .dead_post { |
|
63 | .dead_post + .dead_post { | |
64 | border-top: none; |
|
64 | border-top: none; | |
65 | } |
|
65 | } | |
66 |
|
66 | |||
67 | .archive_post + .archive_post { |
|
67 | .archive_post + .archive_post { | |
68 | border-top: none; |
|
68 | border-top: none; | |
69 | } |
|
69 | } | |
70 |
|
70 | |||
71 | .metadata { |
|
71 | .metadata { | |
72 | padding-top: 5px; |
|
72 | padding-top: 5px; | |
73 | margin-top: 10px; |
|
73 | margin-top: 10px; | |
74 | border-top: solid 1px #666; |
|
74 | border-top: solid 1px #666; | |
75 | color: #ddd; |
|
75 | color: #ddd; | |
76 | } |
|
76 | } | |
77 |
|
77 | |||
78 | .navigation_panel, .tag_info { |
|
78 | .navigation_panel, .tag_info { | |
79 | background: #222; |
|
79 | background: #222; | |
80 | margin-bottom: 5px; |
|
80 | margin-bottom: 5px; | |
81 | margin-top: 5px; |
|
81 | margin-top: 5px; | |
82 | padding: 10px; |
|
82 | padding: 10px; | |
83 | border-bottom: solid 1px #888; |
|
83 | border-bottom: solid 1px #888; | |
84 | border-top: solid 1px #888; |
|
84 | border-top: solid 1px #888; | |
85 | color: #eee; |
|
85 | color: #eee; | |
86 | } |
|
86 | } | |
87 |
|
87 | |||
88 | .navigation_panel .link:first-child { |
|
88 | .navigation_panel .link:first-child { | |
89 | border-right: 1px solid #fff; |
|
89 | border-right: 1px solid #fff; | |
90 | font-weight: bold; |
|
90 | font-weight: bold; | |
91 | margin-right: 1ex; |
|
91 | margin-right: 1ex; | |
92 | padding-right: 1ex; |
|
92 | padding-right: 1ex; | |
93 | } |
|
93 | } | |
94 |
|
94 | |||
95 | .navigation_panel .right-link { |
|
95 | .navigation_panel .right-link { | |
96 | border-left: 1px solid #fff; |
|
96 | border-left: 1px solid #fff; | |
97 | border-right: none; |
|
97 | border-right: none; | |
98 | float: right; |
|
98 | float: right; | |
99 | margin-left: 1ex; |
|
99 | margin-left: 1ex; | |
100 | margin-right: 0; |
|
100 | margin-right: 0; | |
101 | padding-left: 1ex; |
|
101 | padding-left: 1ex; | |
102 | padding-right: 0; |
|
102 | padding-right: 0; | |
103 | } |
|
103 | } | |
104 |
|
104 | |||
105 | .navigation_panel .link { |
|
105 | .navigation_panel .link { | |
106 | font-weight: bold; |
|
106 | font-weight: bold; | |
107 | } |
|
107 | } | |
108 |
|
108 | |||
109 | .navigation_panel::after, .post::after { |
|
109 | .navigation_panel::after, .post::after { | |
110 | clear: both; |
|
110 | clear: both; | |
111 | content: "."; |
|
111 | content: "."; | |
112 | display: block; |
|
112 | display: block; | |
113 | height: 0; |
|
113 | height: 0; | |
114 | line-height: 0; |
|
114 | line-height: 0; | |
115 | visibility: hidden; |
|
115 | visibility: hidden; | |
116 | } |
|
116 | } | |
117 |
|
117 | |||
118 | .header { |
|
118 | .header { | |
119 | border-bottom: solid 2px #ccc; |
|
119 | border-bottom: solid 2px #ccc; | |
120 | margin-bottom: 5px; |
|
120 | margin-bottom: 5px; | |
121 | border-top: none; |
|
121 | border-top: none; | |
122 | margin-top: 0; |
|
122 | margin-top: 0; | |
123 | } |
|
123 | } | |
124 |
|
124 | |||
125 | .footer { |
|
125 | .footer { | |
126 | border-top: solid 2px #ccc; |
|
126 | border-top: solid 2px #ccc; | |
127 | margin-top: 5px; |
|
127 | margin-top: 5px; | |
128 | border-bottom: none; |
|
128 | border-bottom: none; | |
129 | margin-bottom: 0; |
|
129 | margin-bottom: 0; | |
130 | } |
|
130 | } | |
131 |
|
131 | |||
132 | p, .br { |
|
132 | p, .br { | |
133 | margin-top: .5em; |
|
133 | margin-top: .5em; | |
134 | margin-bottom: .5em; |
|
134 | margin-bottom: .5em; | |
135 | } |
|
135 | } | |
136 |
|
136 | |||
137 | .post-form-w { |
|
137 | .post-form-w { | |
138 | background: #333344; |
|
138 | background: #333344; | |
139 | border-top: solid 1px #888; |
|
139 | border-top: solid 1px #888; | |
140 | border-bottom: solid 1px #888; |
|
140 | border-bottom: solid 1px #888; | |
141 | color: #fff; |
|
141 | color: #fff; | |
142 | padding: 10px; |
|
142 | padding: 10px; | |
143 | margin-bottom: 5px; |
|
143 | margin-bottom: 5px; | |
144 | margin-top: 5px; |
|
144 | margin-top: 5px; | |
145 | } |
|
145 | } | |
146 |
|
146 | |||
147 | .form-row { |
|
147 | .form-row { | |
148 | width: 100%; |
|
148 | width: 100%; | |
149 | display: table-row; |
|
149 | display: table-row; | |
150 | } |
|
150 | } | |
151 |
|
151 | |||
152 | .form-label { |
|
152 | .form-label { | |
153 | padding: .25em 1ex .25em 0; |
|
153 | padding: .25em 1ex .25em 0; | |
154 | vertical-align: top; |
|
154 | vertical-align: top; | |
155 | display: table-cell; |
|
155 | display: table-cell; | |
156 | } |
|
156 | } | |
157 |
|
157 | |||
158 | .form-input { |
|
158 | .form-input { | |
159 | padding: .25em 0; |
|
159 | padding: .25em 0; | |
160 | width: 100%; |
|
160 | width: 100%; | |
161 | display: table-cell; |
|
161 | display: table-cell; | |
162 | } |
|
162 | } | |
163 |
|
163 | |||
164 | .form-errors { |
|
164 | .form-errors { | |
165 | font-weight: bolder; |
|
165 | font-weight: bolder; | |
166 | vertical-align: middle; |
|
166 | vertical-align: middle; | |
167 | display: table-cell; |
|
167 | display: table-cell; | |
168 | } |
|
168 | } | |
169 |
|
169 | |||
170 | .post-form input:not([name="image"]), .post-form textarea, .post-form select { |
|
170 | .post-form input:not([name="image"]), .post-form textarea, .post-form select { | |
171 | background: #333; |
|
171 | background: #333; | |
172 | color: #fff; |
|
172 | color: #fff; | |
173 | border: solid 1px; |
|
173 | border: solid 1px; | |
174 | padding: 0; |
|
174 | padding: 0; | |
175 | font: medium sans-serif; |
|
175 | font: medium sans-serif; | |
176 | width: 100%; |
|
176 | width: 100%; | |
177 | } |
|
177 | } | |
178 |
|
178 | |||
179 | .post-form textarea { |
|
179 | .post-form textarea { | |
180 | resize: vertical; |
|
180 | resize: vertical; | |
181 | } |
|
181 | } | |
182 |
|
182 | |||
183 | .form-submit { |
|
183 | .form-submit { | |
184 | display: table; |
|
184 | display: table; | |
185 | margin-bottom: 1ex; |
|
185 | margin-bottom: 1ex; | |
186 | margin-top: 1ex; |
|
186 | margin-top: 1ex; | |
187 | } |
|
187 | } | |
188 |
|
188 | |||
189 | .form-title { |
|
189 | .form-title { | |
190 | font-weight: bold; |
|
190 | font-weight: bold; | |
191 | font-size: 2ex; |
|
191 | font-size: 2ex; | |
192 | margin-bottom: 0.5ex; |
|
192 | margin-bottom: 0.5ex; | |
193 | } |
|
193 | } | |
194 |
|
194 | |||
195 | .post-form input[type="submit"], input[type="submit"] { |
|
195 | .post-form input[type="submit"], input[type="submit"] { | |
196 | background: #222; |
|
196 | background: #222; | |
197 | border: solid 2px #fff; |
|
197 | border: solid 2px #fff; | |
198 | color: #fff; |
|
198 | color: #fff; | |
199 | padding: 0.5ex; |
|
199 | padding: 0.5ex; | |
200 | } |
|
200 | } | |
201 |
|
201 | |||
202 | input[type="submit"]:hover { |
|
202 | input[type="submit"]:hover { | |
203 | background: #060; |
|
203 | background: #060; | |
204 | } |
|
204 | } | |
205 |
|
205 | |||
206 | blockquote { |
|
206 | blockquote { | |
207 | border-left: solid 2px; |
|
207 | border-left: solid 2px; | |
208 | padding-left: 5px; |
|
208 | padding-left: 5px; | |
209 | color: #B1FB17; |
|
209 | color: #B1FB17; | |
210 | margin: 0; |
|
210 | margin: 0; | |
211 | } |
|
211 | } | |
212 |
|
212 | |||
213 | .post > .image { |
|
213 | .post > .image { | |
214 | float: left; |
|
214 | float: left; | |
215 | margin: 0 1ex .5ex 0; |
|
215 | margin: 0 1ex .5ex 0; | |
216 | min-width: 1px; |
|
216 | min-width: 1px; | |
217 | text-align: center; |
|
217 | text-align: center; | |
218 | display: table-row; |
|
218 | display: table-row; | |
219 | } |
|
219 | } | |
220 |
|
220 | |||
221 | .post > .metadata { |
|
221 | .post > .metadata { | |
222 | clear: left; |
|
222 | clear: left; | |
223 | } |
|
223 | } | |
224 |
|
224 | |||
225 | .get { |
|
225 | .get { | |
226 | font-weight: bold; |
|
226 | font-weight: bold; | |
227 | color: #d55; |
|
227 | color: #d55; | |
228 | } |
|
228 | } | |
229 |
|
229 | |||
230 | * { |
|
230 | * { | |
231 | text-decoration: none; |
|
231 | text-decoration: none; | |
232 | } |
|
232 | } | |
233 |
|
233 | |||
234 | .dead_post { |
|
234 | .dead_post { | |
235 | border-left: solid 5px #982C2C; |
|
235 | border-left: solid 5px #982C2C; | |
236 | } |
|
236 | } | |
237 |
|
237 | |||
238 | .archive_post { |
|
238 | .archive_post { | |
239 | border-left: solid 5px #B7B7B7; |
|
239 | border-left: solid 5px #B7B7B7; | |
240 | } |
|
240 | } | |
241 |
|
241 | |||
242 | .mark_btn { |
|
242 | .mark_btn { | |
243 | border: 1px solid; |
|
243 | border: 1px solid; | |
244 | padding: 2px 2ex; |
|
244 | padding: 2px 2ex; | |
245 | display: inline-block; |
|
245 | display: inline-block; | |
246 | margin: 0 5px 4px 0; |
|
246 | margin: 0 5px 4px 0; | |
247 | } |
|
247 | } | |
248 |
|
248 | |||
249 | .mark_btn:hover { |
|
249 | .mark_btn:hover { | |
250 | background: #555; |
|
250 | background: #555; | |
251 | } |
|
251 | } | |
252 |
|
252 | |||
253 | .quote { |
|
253 | .quote { | |
254 | color: #92cf38; |
|
254 | color: #92cf38; | |
255 | font-style: italic; |
|
255 | font-style: italic; | |
256 | } |
|
256 | } | |
257 |
|
257 | |||
258 | .multiquote { |
|
258 | .multiquote { | |
259 | padding: 3px; |
|
259 | padding: 3px; | |
260 | display: inline-block; |
|
260 | display: inline-block; | |
261 | background: #222; |
|
261 | background: #222; | |
262 | border-style: solid; |
|
262 | border-style: solid; | |
263 | border-width: 1px 1px 1px 4px; |
|
263 | border-width: 1px 1px 1px 4px; | |
264 | font-size: 0.9em; |
|
264 | font-size: 0.9em; | |
265 | } |
|
265 | } | |
266 |
|
266 | |||
267 | .spoiler { |
|
267 | .spoiler { | |
268 | background: black; |
|
268 | background: black; | |
269 | color: black; |
|
269 | color: black; | |
270 | padding: 0 1ex 0 1ex; |
|
270 | padding: 0 1ex 0 1ex; | |
271 | } |
|
271 | } | |
272 |
|
272 | |||
273 | .spoiler:hover { |
|
273 | .spoiler:hover { | |
274 | color: #ddd; |
|
274 | color: #ddd; | |
275 | } |
|
275 | } | |
276 |
|
276 | |||
277 | .comment { |
|
277 | .comment { | |
278 | color: #eb2; |
|
278 | color: #eb2; | |
279 | } |
|
279 | } | |
280 |
|
280 | |||
281 | a:hover { |
|
281 | a:hover { | |
282 | text-decoration: underline; |
|
282 | text-decoration: underline; | |
283 | } |
|
283 | } | |
284 |
|
284 | |||
285 | .last-replies { |
|
285 | .last-replies { | |
286 | margin-left: 3ex; |
|
286 | margin-left: 3ex; | |
287 | margin-right: 3ex; |
|
287 | margin-right: 3ex; | |
288 | border-left: solid 1px #777; |
|
288 | border-left: solid 1px #777; | |
289 | border-right: solid 1px #777; |
|
289 | border-right: solid 1px #777; | |
290 | } |
|
290 | } | |
291 |
|
291 | |||
292 | .last-replies > .post:first-child { |
|
292 | .last-replies > .post:first-child { | |
293 | border-top: none; |
|
293 | border-top: none; | |
294 | } |
|
294 | } | |
295 |
|
295 | |||
296 | .thread { |
|
296 | .thread { | |
297 | margin-bottom: 3ex; |
|
297 | margin-bottom: 3ex; | |
298 | margin-top: 1ex; |
|
298 | margin-top: 1ex; | |
299 | } |
|
299 | } | |
300 |
|
300 | |||
301 | .post:target { |
|
301 | .post:target { | |
302 | border: solid 2px white; |
|
302 | border: solid 2px white; | |
303 | } |
|
303 | } | |
304 |
|
304 | |||
305 | pre{ |
|
305 | pre{ | |
306 | white-space:pre-wrap |
|
306 | white-space:pre-wrap | |
307 | } |
|
307 | } | |
308 |
|
308 | |||
309 | li { |
|
309 | li { | |
310 | list-style-position: inside; |
|
310 | list-style-position: inside; | |
311 | } |
|
311 | } | |
312 |
|
312 | |||
313 | .fancybox-skin { |
|
313 | .fancybox-skin { | |
314 | position: relative; |
|
314 | position: relative; | |
315 | background-color: #fff; |
|
315 | background-color: #fff; | |
316 | color: #ddd; |
|
316 | color: #ddd; | |
317 | text-shadow: none; |
|
317 | text-shadow: none; | |
318 | } |
|
318 | } | |
319 |
|
319 | |||
320 | .fancybox-image { |
|
320 | .fancybox-image { | |
321 | border: 1px solid black; |
|
321 | border: 1px solid black; | |
322 | } |
|
322 | } | |
323 |
|
323 | |||
324 | .image-mode-tab { |
|
324 | .image-mode-tab { | |
325 | background: #444; |
|
325 | background: #444; | |
326 | color: #eee; |
|
326 | color: #eee; | |
327 | margin-top: 5px; |
|
327 | margin-top: 5px; | |
328 | padding: 5px; |
|
328 | padding: 5px; | |
329 | border-top: 1px solid #888; |
|
329 | border-top: 1px solid #888; | |
330 | border-bottom: 1px solid #888; |
|
330 | border-bottom: 1px solid #888; | |
331 | } |
|
331 | } | |
332 |
|
332 | |||
333 | .image-mode-tab > label { |
|
333 | .image-mode-tab > label { | |
334 | margin: 0 1ex; |
|
334 | margin: 0 1ex; | |
335 | } |
|
335 | } | |
336 |
|
336 | |||
337 | .image-mode-tab > label > input { |
|
337 | .image-mode-tab > label > input { | |
338 | margin-right: .5ex; |
|
338 | margin-right: .5ex; | |
339 | } |
|
339 | } | |
340 |
|
340 | |||
341 | #posts-table { |
|
341 | #posts-table { | |
342 | margin-top: 5px; |
|
342 | margin-top: 5px; | |
343 | margin-bottom: 5px; |
|
343 | margin-bottom: 5px; | |
344 | } |
|
344 | } | |
345 |
|
345 | |||
346 | .tag_info > h2 { |
|
346 | .tag_info > h2 { | |
347 | margin: 0; |
|
347 | margin: 0; | |
348 | } |
|
348 | } | |
349 |
|
349 | |||
350 | .post-info { |
|
350 | .post-info { | |
351 | color: #ddd; |
|
351 | color: #ddd; | |
352 | margin-bottom: 1ex; |
|
352 | margin-bottom: 1ex; | |
353 | } |
|
353 | } | |
354 |
|
354 | |||
355 | .moderator_info { |
|
355 | .moderator_info { | |
356 | color: #e99d41; |
|
356 | color: #e99d41; | |
357 | float: right; |
|
|||
358 | font-weight: bold; |
|
|||
359 | opacity: 0.4; |
|
357 | opacity: 0.4; | |
360 | } |
|
358 | } | |
361 |
|
359 | |||
362 | .moderator_info:hover { |
|
360 | .moderator_info:hover { | |
363 | opacity: 1; |
|
361 | opacity: 1; | |
364 | } |
|
362 | } | |
365 |
|
363 | |||
366 | .refmap { |
|
364 | .refmap { | |
367 | font-size: 0.9em; |
|
365 | font-size: 0.9em; | |
368 | color: #ccc; |
|
366 | color: #ccc; | |
369 | margin-top: 1em; |
|
367 | margin-top: 1em; | |
370 | } |
|
368 | } | |
371 |
|
369 | |||
372 | .fav { |
|
370 | .fav { | |
373 | color: yellow; |
|
371 | color: yellow; | |
374 | } |
|
372 | } | |
375 |
|
373 | |||
376 | .not_fav { |
|
374 | .not_fav { | |
377 | color: #ccc; |
|
375 | color: #ccc; | |
378 | } |
|
376 | } | |
379 |
|
377 | |||
380 | .role { |
|
378 | .role { | |
381 | text-decoration: underline; |
|
379 | text-decoration: underline; | |
382 | } |
|
380 | } | |
383 |
|
381 | |||
384 | .form-email { |
|
382 | .form-email { | |
385 | display: none; |
|
383 | display: none; | |
386 | } |
|
384 | } | |
387 |
|
385 | |||
388 | .bar-value { |
|
386 | .bar-value { | |
389 | background: rgba(50, 55, 164, 0.45); |
|
387 | background: rgba(50, 55, 164, 0.45); | |
390 | font-size: 0.9em; |
|
388 | font-size: 0.9em; | |
391 | height: 1.5em; |
|
389 | height: 1.5em; | |
392 | } |
|
390 | } | |
393 |
|
391 | |||
394 | .bar-bg { |
|
392 | .bar-bg { | |
395 | position: relative; |
|
393 | position: relative; | |
396 | border-top: solid 1px #888; |
|
394 | border-top: solid 1px #888; | |
397 | border-bottom: solid 1px #888; |
|
395 | border-bottom: solid 1px #888; | |
398 | margin-top: 5px; |
|
396 | margin-top: 5px; | |
399 | overflow: hidden; |
|
397 | overflow: hidden; | |
400 | } |
|
398 | } | |
401 |
|
399 | |||
402 | .bar-text { |
|
400 | .bar-text { | |
403 | padding: 2px; |
|
401 | padding: 2px; | |
404 | position: absolute; |
|
402 | position: absolute; | |
405 | left: 0; |
|
403 | left: 0; | |
406 | top: 0; |
|
404 | top: 0; | |
407 | } |
|
405 | } | |
408 |
|
406 | |||
409 | .page_link { |
|
407 | .page_link { | |
410 | background: #444; |
|
408 | background: #444; | |
411 | border-top: solid 1px #888; |
|
409 | border-top: solid 1px #888; | |
412 | border-bottom: solid 1px #888; |
|
410 | border-bottom: solid 1px #888; | |
413 | padding: 5px; |
|
411 | padding: 5px; | |
414 | color: #eee; |
|
412 | color: #eee; | |
415 | font-size: 2ex; |
|
413 | font-size: 2ex; | |
416 | } |
|
414 | } | |
417 |
|
415 | |||
418 | .skipped_replies { |
|
416 | .skipped_replies { | |
419 | padding: 5px; |
|
417 | padding: 5px; | |
420 | margin-left: 3ex; |
|
418 | margin-left: 3ex; | |
421 | margin-right: 3ex; |
|
419 | margin-right: 3ex; | |
422 | border-left: solid 1px #888; |
|
420 | border-left: solid 1px #888; | |
423 | border-right: solid 1px #888; |
|
421 | border-right: solid 1px #888; | |
424 | border-bottom: solid 1px #888; |
|
422 | border-bottom: solid 1px #888; | |
425 | background: #000; |
|
423 | background: #000; | |
426 | } |
|
424 | } | |
427 |
|
425 | |||
428 | .current_page { |
|
426 | .current_page { | |
429 | padding: 2px; |
|
427 | padding: 2px; | |
430 | background-color: #afdcec; |
|
428 | background-color: #afdcec; | |
431 | color: #000; |
|
429 | color: #000; | |
432 | } |
|
430 | } | |
433 |
|
431 | |||
434 | .current_mode { |
|
432 | .current_mode { | |
435 | font-weight: bold; |
|
433 | font-weight: bold; | |
436 | } |
|
434 | } | |
437 |
|
435 | |||
438 | .gallery_image { |
|
436 | .gallery_image { | |
439 | border: solid 1px; |
|
437 | border: solid 1px; | |
440 | padding: 0.5ex; |
|
438 | padding: 0.5ex; | |
441 | margin: 0.5ex; |
|
439 | margin: 0.5ex; | |
442 | text-align: center; |
|
440 | text-align: center; | |
443 | } |
|
441 | } | |
444 |
|
442 | |||
445 | code { |
|
443 | code { | |
446 | border: dashed 1px #ccc; |
|
444 | border: dashed 1px #ccc; | |
447 | background: #111; |
|
445 | background: #111; | |
448 | padding: 2px; |
|
446 | padding: 2px; | |
449 | font-size: 1.2em; |
|
447 | font-size: 1.2em; | |
450 | display: inline-block; |
|
448 | display: inline-block; | |
451 | } |
|
449 | } | |
452 |
|
450 | |||
453 | pre { |
|
451 | pre { | |
454 | overflow: auto; |
|
452 | overflow: auto; | |
455 | } |
|
453 | } | |
456 |
|
454 | |||
457 | .img-full { |
|
455 | .img-full { | |
458 | background: #222; |
|
456 | background: #222; | |
459 | border: solid 1px white; |
|
457 | border: solid 1px white; | |
460 | } |
|
458 | } | |
461 |
|
459 | |||
462 | .tag_item { |
|
460 | .tag_item { | |
463 | display: inline-block; |
|
461 | display: inline-block; | |
464 | } |
|
462 | } | |
465 |
|
463 | |||
466 | #id_models li { |
|
464 | #id_models li { | |
467 | list-style: none; |
|
465 | list-style: none; | |
468 | } |
|
466 | } | |
469 |
|
467 | |||
470 | #id_q { |
|
468 | #id_q { | |
471 | margin-left: 1ex; |
|
469 | margin-left: 1ex; | |
472 | } |
|
470 | } | |
473 |
|
471 | |||
474 | ul { |
|
472 | ul { | |
475 | padding-left: 0px; |
|
473 | padding-left: 0px; | |
476 | } |
|
474 | } | |
477 |
|
475 | |||
478 | .quote-header { |
|
476 | .quote-header { | |
479 | border-bottom: 2px solid #ddd; |
|
477 | border-bottom: 2px solid #ddd; | |
480 | margin-bottom: 1ex; |
|
478 | margin-bottom: 1ex; | |
481 | padding-bottom: .5ex; |
|
479 | padding-bottom: .5ex; | |
482 | color: #ddd; |
|
480 | color: #ddd; | |
483 | font-size: 1.2em; |
|
481 | font-size: 1.2em; | |
484 | } |
|
482 | } | |
485 |
|
483 | |||
486 | /* Reflink preview */ |
|
484 | /* Reflink preview */ | |
487 | .post_preview { |
|
485 | .post_preview { | |
488 | border-left: 1px solid #777; |
|
486 | border-left: 1px solid #777; | |
489 | border-right: 1px solid #777; |
|
487 | border-right: 1px solid #777; | |
490 | max-width: 600px; |
|
488 | max-width: 600px; | |
491 | } |
|
489 | } | |
492 |
|
490 | |||
493 | /* Code highlighter */ |
|
491 | /* Code highlighter */ | |
494 | .hljs { |
|
492 | .hljs { | |
495 | color: #fff; |
|
493 | color: #fff; | |
496 | background: #000; |
|
494 | background: #000; | |
497 | display: inline-block; |
|
495 | display: inline-block; | |
498 | } |
|
496 | } | |
499 |
|
497 | |||
500 | .hljs, .hljs-subst, .hljs-tag .hljs-title, .lisp .hljs-title, .clojure .hljs-built_in, .nginx .hljs-title { |
|
498 | .hljs, .hljs-subst, .hljs-tag .hljs-title, .lisp .hljs-title, .clojure .hljs-built_in, .nginx .hljs-title { | |
501 | color: #fff; |
|
499 | color: #fff; | |
502 | } |
|
500 | } | |
503 |
|
501 | |||
504 | #up { |
|
502 | #up { | |
505 | position: fixed; |
|
503 | position: fixed; | |
506 | bottom: 5px; |
|
504 | bottom: 5px; | |
507 | right: 5px; |
|
505 | right: 5px; | |
508 | border: 1px solid #777; |
|
506 | border: 1px solid #777; | |
509 | background: #000; |
|
507 | background: #000; | |
510 | padding: 4px; |
|
508 | padding: 4px; | |
511 | } |
|
509 | } | |
512 |
|
510 | |||
513 | .user-cast { |
|
511 | .user-cast { | |
514 | border: solid #ffffff 1px; |
|
512 | border: solid #ffffff 1px; | |
515 | padding: .2ex; |
|
513 | padding: .2ex; | |
516 | background: #152154; |
|
514 | background: #152154; | |
517 | color: #fff; |
|
515 | color: #fff; | |
518 | } |
|
516 | } | |
519 |
|
517 | |||
520 | .highlight { |
|
518 | .highlight { | |
521 | background-color: #222; |
|
519 | background-color: #222; | |
522 | } |
|
520 | } | |
523 |
|
521 | |||
524 | .post-button-form > button:hover { |
|
522 | .post-button-form > button:hover { | |
525 | text-decoration: underline; |
|
523 | text-decoration: underline; | |
526 | } |
|
524 | } | |
527 |
|
525 | |||
528 | .tree_reply > .post { |
|
526 | .tree_reply > .post { | |
529 | margin-top: 1ex; |
|
527 | margin-top: 1ex; | |
530 | border-left: solid 1px #777; |
|
528 | border-left: solid 1px #777; | |
531 | padding-right: 0; |
|
529 | padding-right: 0; | |
532 | } |
|
530 | } | |
533 |
|
531 | |||
534 | #preview-text { |
|
532 | #preview-text { | |
535 | border: solid 1px white; |
|
533 | border: solid 1px white; | |
536 | margin: 1ex 0 1ex 0; |
|
534 | margin: 1ex 0 1ex 0; | |
537 | padding: 1ex; |
|
535 | padding: 1ex; | |
538 | } |
|
536 | } | |
539 |
|
537 | |||
540 | button { |
|
538 | button { | |
541 | border: 1px solid white; |
|
539 | border: 1px solid white; | |
542 | margin-bottom: .5ex; |
|
540 | margin-bottom: .5ex; | |
543 | margin-top: .5ex; |
|
541 | margin-top: .5ex; | |
544 | } |
|
542 | } | |
545 |
|
543 | |||
546 | .image-metadata { |
|
544 | .image-metadata { | |
547 | font-style: italic; |
|
545 | font-style: italic; | |
548 | font-size: 0.9em; |
|
546 | font-size: 0.9em; | |
549 | } No newline at end of file |
|
547 | } |
@@ -1,103 +1,103 b'' | |||||
1 | {% load i18n %} |
|
1 | {% load i18n %} | |
2 | {% load board %} |
|
2 | {% load board %} | |
3 |
|
3 | |||
4 | {% get_current_language as LANGUAGE_CODE %} |
|
4 | {% get_current_language as LANGUAGE_CODE %} | |
5 |
|
5 | |||
6 | <div class="{{ css_class }}" id="{{ post.id }}" data-uid="{{ post.uid }}"> |
|
6 | <div class="{{ css_class }}" id="{{ post.id }}" data-uid="{{ post.uid }}"> | |
7 | <div class="post-info"> |
|
7 | <div class="post-info"> | |
8 | <a class="post_id" href="{{ post.get_absolute_url }}">({{ post.get_absolute_id }})</a> |
|
8 | <a class="post_id" href="{{ post.get_absolute_url }}">({{ post.get_absolute_id }})</a> | |
9 | <span class="title">{{ post.title }}</span> |
|
9 | <span class="title">{{ post.title }}</span> | |
10 | <span class="pub_time"><time datetime="{{ post.pub_time|date:'c' }}">{{ post.pub_time }}</time></span> |
|
10 | <span class="pub_time"><time datetime="{{ post.pub_time|date:'c' }}">{{ post.pub_time }}</time></span> | |
11 | {% comment %} |
|
11 | {% comment %} | |
12 | Thread death time needs to be shown only if the thread is alredy archived |
|
12 | Thread death time needs to be shown only if the thread is alredy archived | |
13 | and this is an opening post (thread death time) or a post for popup |
|
13 | and this is an opening post (thread death time) or a post for popup | |
14 | (we don't see OP here so we show the death time in the post itself). |
|
14 | (we don't see OP here so we show the death time in the post itself). | |
15 | {% endcomment %} |
|
15 | {% endcomment %} | |
16 | {% if thread.archived %} |
|
16 | {% if thread.archived %} | |
17 | {% if is_opening %} |
|
17 | {% if is_opening %} | |
18 | β <time datetime="{{ thread.bump_time|date:'c' }}">{{ thread.bump_time }}</time> |
|
18 | β <time datetime="{{ thread.bump_time|date:'c' }}">{{ thread.bump_time }}</time> | |
19 | {% endif %} |
|
19 | {% endif %} | |
20 | {% endif %} |
|
20 | {% endif %} | |
21 | {% if is_opening %} |
|
21 | {% if is_opening %} | |
22 | {% if need_open_link %} |
|
22 | {% if need_open_link %} | |
23 | {% if thread.archived %} |
|
23 | {% if thread.archived %} | |
24 | <a class="link" href="{% url 'thread' post.id %}">{% trans "Open" %}</a> |
|
24 | <a class="link" href="{% url 'thread' post.id %}">{% trans "Open" %}</a> | |
25 | {% else %} |
|
25 | {% else %} | |
26 | <a class="link" href="{% url 'thread' post.id %}#form">{% trans "Reply" %}</a> |
|
26 | <a class="link" href="{% url 'thread' post.id %}#form">{% trans "Reply" %}</a> | |
27 | {% endif %} |
|
27 | {% endif %} | |
28 | {% endif %} |
|
28 | {% endif %} | |
29 | {% else %} |
|
29 | {% else %} | |
30 | {% if need_op_data %} |
|
30 | {% if need_op_data %} | |
31 | {% with thread.get_opening_post as op %} |
|
31 | {% with thread.get_opening_post as op %} | |
32 | {% trans " in " %}<a href="{{ op.get_absolute_url }}">>>{{ op.id }}</a> <span class="title">{{ op.get_title|striptags|truncatewords:5 }}</span> |
|
32 | {% trans " in " %}<a href="{{ op.get_absolute_url }}">>>{{ op.id }}</a> <span class="title">{{ op.get_title|striptags|truncatewords:5 }}</span> | |
33 | {% endwith %} |
|
33 | {% endwith %} | |
34 | {% endif %} |
|
34 | {% endif %} | |
35 | {% endif %} |
|
35 | {% endif %} | |
36 | {% if reply_link and not thread.archived %} |
|
36 | {% if reply_link and not thread.archived %} | |
37 | <a href="#form" onclick="addQuickReply('{{ post.id }}'); return false;">{% trans 'Reply' %}</a> |
|
37 | <a href="#form" onclick="addQuickReply('{{ post.id }}'); return false;">{% trans 'Reply' %}</a> | |
38 | {% endif %} |
|
38 | {% endif %} | |
39 |
|
39 | |||
40 | {% if moderator %} |
|
40 | {% if moderator %} | |
41 | <span class="moderator_info"> |
|
41 | <span class="moderator_info"> | |
42 | <a href="{% url 'admin:boards_post_change' post.id %}">{% trans 'Edit' %}</a> |
|
42 | | <a href="{% url 'admin:boards_post_change' post.id %}">{% trans 'Edit' %}</a> | |
43 | {% if is_opening %} |
|
43 | {% if is_opening %} | |
44 |
|
|
44 | | <a href="{% url 'admin:boards_thread_change' thread.id %}">{% trans 'Edit thread' %}</a> | |
45 | {% endif %} |
|
45 | {% endif %} | |
46 | </span> |
|
46 | </span> | |
47 | {% endif %} |
|
47 | {% endif %} | |
48 | </div> |
|
48 | </div> | |
49 | {% comment %} |
|
49 | {% comment %} | |
50 | Post images. Currently only 1 image can be posted and shown, but post model |
|
50 | Post images. Currently only 1 image can be posted and shown, but post model | |
51 | supports multiple. |
|
51 | supports multiple. | |
52 | {% endcomment %} |
|
52 | {% endcomment %} | |
53 | {% if post.images.exists %} |
|
53 | {% if post.images.exists %} | |
54 | {% with post.images.all.0 as image %} |
|
54 | {% with post.images.all.0 as image %} | |
55 | {% autoescape off %} |
|
55 | {% autoescape off %} | |
56 | {{ image.get_view }} |
|
56 | {{ image.get_view }} | |
57 | {% endautoescape %} |
|
57 | {% endautoescape %} | |
58 | {% endwith %} |
|
58 | {% endwith %} | |
59 | {% endif %} |
|
59 | {% endif %} | |
60 | {% comment %} |
|
60 | {% comment %} | |
61 | Post message (text) |
|
61 | Post message (text) | |
62 | {% endcomment %} |
|
62 | {% endcomment %} | |
63 | <div class="message"> |
|
63 | <div class="message"> | |
64 | {% autoescape off %} |
|
64 | {% autoescape off %} | |
65 | {% if truncated %} |
|
65 | {% if truncated %} | |
66 | {{ post.get_text|truncatewords_html:50 }} |
|
66 | {{ post.get_text|truncatewords_html:50 }} | |
67 | {% else %} |
|
67 | {% else %} | |
68 | {{ post.get_text }} |
|
68 | {{ post.get_text }} | |
69 | {% endif %} |
|
69 | {% endif %} | |
70 | {% endautoescape %} |
|
70 | {% endautoescape %} | |
71 | {% if post.is_referenced %} |
|
71 | {% if post.is_referenced %} | |
72 | {% if mode_tree %} |
|
72 | {% if mode_tree %} | |
73 | <div class="tree_reply"> |
|
73 | <div class="tree_reply"> | |
74 | {% for refpost in post.get_referenced_posts %} |
|
74 | {% for refpost in post.get_referenced_posts %} | |
75 | {% post_view refpost mode_tree=True %} |
|
75 | {% post_view refpost mode_tree=True %} | |
76 | {% endfor %} |
|
76 | {% endfor %} | |
77 | </div> |
|
77 | </div> | |
78 | {% else %} |
|
78 | {% else %} | |
79 | <div class="refmap"> |
|
79 | <div class="refmap"> | |
80 | {% autoescape off %} |
|
80 | {% autoescape off %} | |
81 | {% trans "Replies" %}: {{ post.refmap }} |
|
81 | {% trans "Replies" %}: {{ post.refmap }} | |
82 | {% endautoescape %} |
|
82 | {% endautoescape %} | |
83 | </div> |
|
83 | </div> | |
84 | {% endif %} |
|
84 | {% endif %} | |
85 | {% endif %} |
|
85 | {% endif %} | |
86 | </div> |
|
86 | </div> | |
87 | {% comment %} |
|
87 | {% comment %} | |
88 | Thread metadata: counters, tags etc |
|
88 | Thread metadata: counters, tags etc | |
89 | {% endcomment %} |
|
89 | {% endcomment %} | |
90 | {% if is_opening %} |
|
90 | {% if is_opening %} | |
91 | <div class="metadata"> |
|
91 | <div class="metadata"> | |
92 | {% if is_opening and need_open_link %} |
|
92 | {% if is_opening and need_open_link %} | |
93 | {{ thread.get_reply_count }} {% trans 'messages' %}, |
|
93 | {{ thread.get_reply_count }} {% trans 'messages' %}, | |
94 | {{ thread.get_images_count }} {% trans 'images' %}. |
|
94 | {{ thread.get_images_count }} {% trans 'images' %}. | |
95 | {% endif %} |
|
95 | {% endif %} | |
96 | <span class="tags"> |
|
96 | <span class="tags"> | |
97 | {% autoescape off %} |
|
97 | {% autoescape off %} | |
98 | {{ thread.get_tag_url_list }} |
|
98 | {{ thread.get_tag_url_list }} | |
99 | {% endautoescape %} |
|
99 | {% endautoescape %} | |
100 | </span> |
|
100 | </span> | |
101 | </div> |
|
101 | </div> | |
102 | {% endif %} |
|
102 | {% endif %} | |
103 | </div> |
|
103 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now