##// END OF EJS Templates
Small fix for the bumplimit bar.
neko259 -
r282:0414f856 default
parent child Browse files
Show More
@@ -1,334 +1,343 b''
1 html {
1 html {
2 background: #555;
2 background: #555;
3 color: #ffffff;
3 color: #ffffff;
4 }
4 }
5
5
6 #admin_panel {
6 #admin_panel {
7 background: #FF0000;
7 background: #FF0000;
8 color: #00FF00
8 color: #00FF00
9 }
9 }
10
10
11 .input_field {
11 .input_field {
12
12
13 }
13 }
14
14
15 .input_field_name {
15 .input_field_name {
16
16
17 }
17 }
18
18
19 .input_field_error {
19 .input_field_error {
20 color: #FF0000;
20 color: #FF0000;
21 }
21 }
22
22
23
23
24 .title {
24 .title {
25 font-weight: bold;
25 font-weight: bold;
26 color: #ffcc00;
26 color: #ffcc00;
27 }
27 }
28
28
29 .link, a {
29 .link, a {
30 color: #afdcec;
30 color: #afdcec;
31 }
31 }
32
32
33 .block {
33 .block {
34 display: inline-block;
34 display: inline-block;
35 vertical-align: top;
35 vertical-align: top;
36 }
36 }
37
37
38 .tag {
38 .tag {
39 color: #b4cfec;
39 color: #b4cfec;
40 }
40 }
41
41
42 .post_id {
42 .post_id {
43 color: #fff380;
43 color: #fff380;
44 }
44 }
45
45
46 .post, .dead_post, #posts-table {
46 .post, .dead_post, #posts-table {
47 background: #333;
47 background: #333;
48 margin: 5px;
48 margin: 5px;
49 padding: 10px;
49 padding: 10px;
50 border: solid 1px #888;
50 border: solid 1px #888;
51 clear: left;
51 clear: left;
52 word-wrap: break-word;
52 word-wrap: break-word;
53 }
53 }
54
54
55 .metadata {
55 .metadata {
56 padding: 5px;
56 padding: 5px;
57 margin-top: 10px;
57 margin-top: 10px;
58 border: solid 1px #666;
58 border: solid 1px #666;
59 font-size: 0.9em;
59 font-size: 0.9em;
60 color: #ddd;
60 color: #ddd;
61 display: table;
61 display: table;
62 }
62 }
63
63
64 .navigation_panel, .tag_info {
64 .navigation_panel, .tag_info {
65 background: #444;
65 background: #444;
66 margin: 5px;
66 margin: 5px;
67 padding: 10px;
67 padding: 10px;
68 border: solid 1px #888;
68 border: solid 1px #888;
69 color: #eee;
69 color: #eee;
70 }
70 }
71
71
72 .navigation_panel .link {
72 .navigation_panel .link {
73 border-right: 1px solid #fff;
73 border-right: 1px solid #fff;
74 font-weight: bold;
74 font-weight: bold;
75 margin-right: 1ex;
75 margin-right: 1ex;
76 padding-right: 1ex;
76 padding-right: 1ex;
77 }
77 }
78 .navigation_panel .link:last-child {
78 .navigation_panel .link:last-child {
79 border-left: 1px solid #fff;
79 border-left: 1px solid #fff;
80 border-right: none;
80 border-right: none;
81 float: right;
81 float: right;
82 margin-left: 1ex;
82 margin-left: 1ex;
83 margin-right: 0;
83 margin-right: 0;
84 padding-left: 1ex;
84 padding-left: 1ex;
85 padding-right: 0;
85 padding-right: 0;
86 }
86 }
87
87
88 .navigation_panel::after, .post::after {
88 .navigation_panel::after, .post::after {
89 clear: both;
89 clear: both;
90 content: ".";
90 content: ".";
91 display: block;
91 display: block;
92 height: 0;
92 height: 0;
93 line-height: 0;
93 line-height: 0;
94 visibility: hidden;
94 visibility: hidden;
95 }
95 }
96
96
97 p {
97 p {
98 margin-top: .5em;
98 margin-top: .5em;
99 margin-bottom: .5em;
99 margin-bottom: .5em;
100 }
100 }
101
101
102 .post-form-w {
102 .post-form-w {
103 display: table;
103 display: table;
104 background: #333344;
104 background: #333344;
105 border: solid 1px #888;
105 border: solid 1px #888;
106 color: #fff;
106 color: #fff;
107 padding: 10px;
107 padding: 10px;
108 margin: 5;
108 margin: 5;
109 }
109 }
110
110
111 .form-row {
111 .form-row {
112 display: table-row;
112 display: table-row;
113 }
113 }
114
114
115 .form-label, .form-input, .form-errors {
115 .form-label, .form-input, .form-errors {
116 display: table-cell;
116 display: table-cell;
117 }
117 }
118
118
119 .form-label {
119 .form-label {
120 padding: .25em 1ex .25em 0;
120 padding: .25em 1ex .25em 0;
121 vertical-align: top;
121 vertical-align: top;
122 }
122 }
123
123
124 .form-input {
124 .form-input {
125 padding: .25em 0;
125 padding: .25em 0;
126 }
126 }
127
127
128 .form-errors {
128 .form-errors {
129 padding-left: 1ex;
129 padding-left: 1ex;
130 font-weight: bold;
130 font-weight: bold;
131 vertical-align: middle;
131 vertical-align: middle;
132 }
132 }
133
133
134 .post-form input, .post-form textarea {
134 .post-form input, .post-form textarea {
135 background: #333;
135 background: #333;
136 color: #fff;
136 color: #fff;
137 border: solid 1px;
137 border: solid 1px;
138 padding: 0;
138 padding: 0;
139 width: 100%;
139 width: 100%;
140 }
140 }
141
141
142 .form-submit {
142 .form-submit {
143 border-bottom: 2px solid #ddd;
143 border-bottom: 2px solid #ddd;
144 margin-bottom: .5em;
144 margin-bottom: .5em;
145 padding-bottom: .5em;
145 padding-bottom: .5em;
146 }
146 }
147
147
148 .form-title {
148 .form-title {
149 font-weight: bold;
149 font-weight: bold;
150 }
150 }
151
151
152 input[type="submit"] {
152 input[type="submit"] {
153 background: #222;
153 background: #222;
154 border: solid 1px #fff;
154 border: solid 1px #fff;
155 color: #fff;
155 color: #fff;
156 }
156 }
157
157
158 blockquote {
158 blockquote {
159 border-left: solid 2px;
159 border-left: solid 2px;
160 padding-left: 5px;
160 padding-left: 5px;
161 color: #B1FB17;
161 color: #B1FB17;
162 margin: 0;
162 margin: 0;
163 }
163 }
164
164
165 .post > .image {
165 .post > .image {
166 float: left;
166 float: left;
167 margin: 0 1ex .5ex 0;
167 margin: 0 1ex .5ex 0;
168 min-width: 1px;
168 min-width: 1px;
169 text-align: center;
169 text-align: center;
170 display: table-row;
170 display: table-row;
171
171
172 height: 150px;
172 height: 150px;
173 }
173 }
174
174
175 .post > .metadata {
175 .post > .metadata {
176 clear: left;
176 clear: left;
177 }
177 }
178
178
179 .get {
179 .get {
180 font-weight: bold;
180 font-weight: bold;
181 color: #d55;
181 color: #d55;
182 }
182 }
183
183
184 * {
184 * {
185 text-decoration: none;
185 text-decoration: none;
186 }
186 }
187
187
188 .dead_post {
188 .dead_post {
189 background-color: #442222;
189 background-color: #442222;
190 }
190 }
191
191
192 .mark_btn {
192 .mark_btn {
193 padding: 2px 4px;
193 padding: 2px 4px;
194 border: 1px solid;
194 border: 1px solid;
195 }
195 }
196
196
197 .mark_btn:hover {
197 .mark_btn:hover {
198 background: #555;
198 background: #555;
199 }
199 }
200
200
201 .quote {
201 .quote {
202 color: #92cf38;
202 color: #92cf38;
203 font-style: italic;
203 font-style: italic;
204 }
204 }
205
205
206 .spoiler {
206 .spoiler {
207 background: white;
207 background: white;
208 color: white;
208 color: white;
209 }
209 }
210
210
211 .spoiler:hover {
211 .spoiler:hover {
212 color: black;
212 color: black;
213 }
213 }
214
214
215 .comment {
215 .comment {
216 color: #eb2;
216 color: #eb2;
217 font-style: italic;
217 font-style: italic;
218 }
218 }
219
219
220 a:hover {
220 a:hover {
221 text-decoration: underline;
221 text-decoration: underline;
222 }
222 }
223
223
224 .last-replies {
224 .last-replies {
225 margin-left: 3ex;
225 margin-left: 3ex;
226 }
226 }
227
227
228 .thread {
228 .thread {
229 margin-bottom: 3ex;
229 margin-bottom: 3ex;
230 }
230 }
231
231
232 .post:target {
232 .post:target {
233 border: solid 2px white;
233 border: solid 2px white;
234 }
234 }
235
235
236 pre{
236 pre{
237 white-space:pre-wrap
237 white-space:pre-wrap
238 }
238 }
239
239
240 li {
240 li {
241 list-style-position: inside;
241 list-style-position: inside;
242 }
242 }
243
243
244 .fancybox-skin {
244 .fancybox-skin {
245 position: relative;
245 position: relative;
246 background-color: #fff;
246 background-color: #fff;
247 color: #ddd;
247 color: #ddd;
248 text-shadow: none;
248 text-shadow: none;
249 }
249 }
250
250
251 .fancybox-image {
251 .fancybox-image {
252 border: 1px solid black;
252 border: 1px solid black;
253 }
253 }
254
254
255 .image-mode-tab {
255 .image-mode-tab {
256 background: #444;
256 background: #444;
257 color: #eee;
257 color: #eee;
258 display: table;
258 display: table;
259 margin: 5px;
259 margin: 5px;
260 padding: 5px;
260 padding: 5px;
261 border: 1px solid #888;
261 border: 1px solid #888;
262 }
262 }
263
263
264 .image-mode-tab > label {
264 .image-mode-tab > label {
265 margin: 0 1ex;
265 margin: 0 1ex;
266 }
266 }
267
267
268 .image-mode-tab > label > input {
268 .image-mode-tab > label > input {
269 margin-right: .5ex;
269 margin-right: .5ex;
270 }
270 }
271
271
272 #posts-table {
272 #posts-table {
273 margin: 5px;
273 margin: 5px;
274 }
274 }
275
275
276 .tag_info {
276 .tag_info {
277 display: table;
277 display: table;
278 }
278 }
279
279
280 .tag_info > h2 {
280 .tag_info > h2 {
281 margin: 0;
281 margin: 0;
282 }
282 }
283
283
284 .post-info {
284 .post-info {
285 color: #ddd;
285 color: #ddd;
286 }
286 }
287
287
288 .moderator_info {
288 .moderator_info {
289 color: #e99d41;
289 color: #e99d41;
290 float: right;
290 float: right;
291 border: dashed 1px;
291 border: dashed 1px;
292 padding: 3px;
292 padding: 3px;
293 }
293 }
294
294
295 .refmap {
295 .refmap {
296 font-size: 0.9em;
296 font-size: 0.9em;
297 color: #ccc;
297 color: #ccc;
298 margin-top: 1em;
298 margin-top: 1em;
299 }
299 }
300
300
301 input[type="submit"]:hover {
301 input[type="submit"]:hover {
302 background: #555;
302 background: #555;
303 }
303 }
304
304
305 .fav {
305 .fav {
306 color: yellow;
306 color: yellow;
307 }
307 }
308
308
309 .not_fav {
309 .not_fav {
310 color: #ccc;
310 color: #ccc;
311 }
311 }
312
312
313 .role {
313 .role {
314 text-decoration: underline;
314 text-decoration: underline;
315 }
315 }
316
316
317 .form-email {
317 .form-email {
318 display: none;
318 display: none;
319 }
319 }
320
320
321 .footer {
321 .footer {
322 margin: 5px;
322 margin: 5px;
323 }
323 }
324
324
325 .bar-value {
325 .bar-value {
326 background: rgba(50, 55, 164, 0.45);
326 background: rgba(50, 55, 164, 0.45);
327 padding: 2px;
328 font-size: 0.9em;
327 font-size: 0.9em;
328 height: 1.5em;
329 }
329 }
330
330
331 .bar-bg {
331 .bar-bg {
332 position: relative;
332 border: solid 1px #888;
333 border: solid 1px #888;
333 margin: 5px;
334 margin: 5px;
335 overflow: hidden;
336 }
337
338 .bar-text {
339 padding: 2px;
340 position: absolute;
341 left: 0;
342 top: 0;
334 } No newline at end of file
343 }
@@ -1,329 +1,339 b''
1 html {
1 html {
2 background: rgb(238, 238, 238);
2 background: rgb(238, 238, 238);
3 color: rgb(51, 51, 51);
3 color: rgb(51, 51, 51);
4 }
4 }
5
5
6 #admin_panel {
6 #admin_panel {
7 background: #FF0000;
7 background: #FF0000;
8 color: #00FF00
8 color: #00FF00
9 }
9 }
10
10
11 .input_field {
11 .input_field {
12
12
13 }
13 }
14
14
15 .input_field_name {
15 .input_field_name {
16
16
17 }
17 }
18
18
19 .input_field_error {
19 .input_field_error {
20 color: #FF0000;
20 color: #FF0000;
21 }
21 }
22
22
23
23
24 .title {
24 .title {
25 font-weight: bold;
25 font-weight: bold;
26 color: #333;
26 color: #333;
27 font-size: 2ex;
27 font-size: 2ex;
28 }
28 }
29
29
30 .link, a {
30 .link, a {
31 color: rgb(255, 102, 0);
31 color: rgb(255, 102, 0);
32 }
32 }
33
33
34 .block {
34 .block {
35 display: inline-block;
35 display: inline-block;
36 vertical-align: top;
36 vertical-align: top;
37 }
37 }
38
38
39 .tag {
39 .tag {
40 color: #222;
40 color: #222;
41 }
41 }
42
42
43 .post_id:hover {
43 .post_id:hover {
44 color: #11f;
44 color: #11f;
45 }
45 }
46
46
47 .post_id {
47 .post_id {
48 color: #444;
48 color: #444;
49 }
49 }
50
50
51 .post, .dead_post, #posts-table {
51 .post, .dead_post, #posts-table {
52 margin: 5px;
52 margin: 5px;
53 padding: 10px;
53 padding: 10px;
54 background: rgb(221, 221, 221);
54 background: rgb(221, 221, 221);
55 border: 1px solid rgb(204, 204, 204);
55 border: 1px solid rgb(204, 204, 204);
56 border-radius: 5px 5px 5px 5px;
56 border-radius: 5px 5px 5px 5px;
57 clear: left;
57 clear: left;
58 word-wrap: break-word;
58 word-wrap: break-word;
59 display: table;
59 display: table;
60 }
60 }
61
61
62 .metadata {
62 .metadata {
63 padding: 5px;
63 padding: 5px;
64 margin-top: 10px;
64 margin-top: 10px;
65 border: solid 1px #666;
65 border: solid 1px #666;
66 font-size: 0.9em;
66 font-size: 0.9em;
67 display: table;
67 display: table;
68 }
68 }
69
69
70 .navigation_panel, .tag_info {
70 .navigation_panel, .tag_info {
71 margin: 5px;
71 margin: 5px;
72 padding: 10px;
72 padding: 10px;
73 border: 1px solid rgb(204, 204, 204);
73 border: 1px solid rgb(204, 204, 204);
74 border-radius: 5px 5px 5px 5px;
74 border-radius: 5px 5px 5px 5px;
75 }
75 }
76
76
77 .navigation_panel .link {
77 .navigation_panel .link {
78 border-right: 1px solid #000;
78 border-right: 1px solid #000;
79 font-weight: bold;
79 font-weight: bold;
80 margin-right: 1ex;
80 margin-right: 1ex;
81 padding-right: 1ex;
81 padding-right: 1ex;
82 }
82 }
83 .navigation_panel .link:last-child {
83 .navigation_panel .link:last-child {
84 border-left: 1px solid #000;
84 border-left: 1px solid #000;
85 border-right: none;
85 border-right: none;
86 float: right;
86 float: right;
87 margin-left: 1ex;
87 margin-left: 1ex;
88 margin-right: 0;
88 margin-right: 0;
89 padding-left: 1ex;
89 padding-left: 1ex;
90 padding-right: 0;
90 padding-right: 0;
91 }
91 }
92
92
93 .navigation_panel::after, .post::after {
93 .navigation_panel::after, .post::after {
94 clear: both;
94 clear: both;
95 content: ".";
95 content: ".";
96 display: block;
96 display: block;
97 height: 0;
97 height: 0;
98 line-height: 0;
98 line-height: 0;
99 visibility: hidden;
99 visibility: hidden;
100 }
100 }
101
101
102 p {
102 p {
103 margin-top: .5em;
103 margin-top: .5em;
104 margin-bottom: .5em;
104 margin-bottom: .5em;
105 }
105 }
106
106
107 .post-form-w {
107 .post-form-w {
108 display: table;
108 display: table;
109 padding: 10px;
109 padding: 10px;
110 margin: 5px
110 margin: 5px
111 }
111 }
112
112
113 .form-row {
113 .form-row {
114 display: table-row;
114 display: table-row;
115 }
115 }
116
116
117 .form-label, .form-input, .form-errors {
117 .form-label, .form-input, .form-errors {
118 display: table-cell;
118 display: table-cell;
119 }
119 }
120
120
121 .form-label {
121 .form-label {
122 padding: .25em 1ex .25em 0;
122 padding: .25em 1ex .25em 0;
123 vertical-align: top;
123 vertical-align: top;
124 }
124 }
125
125
126 .form-input {
126 .form-input {
127 padding: .25em 0;
127 padding: .25em 0;
128 }
128 }
129
129
130 .form-errors {
130 .form-errors {
131 padding-left: 1ex;
131 padding-left: 1ex;
132 font-weight: bold;
132 font-weight: bold;
133 vertical-align: middle;
133 vertical-align: middle;
134 }
134 }
135
135
136 .post-form input, .post-form textarea {
136 .post-form input, .post-form textarea {
137 background: #fff;
137 background: #fff;
138 color: #000;
138 color: #000;
139 border: solid 1px;
139 border: solid 1px;
140 padding: 0;
140 padding: 0;
141 width: 100%;
141 width: 100%;
142 }
142 }
143
143
144 .form-submit {
144 .form-submit {
145 border-bottom: 2px solid #ddd;
145 border-bottom: 2px solid #ddd;
146 margin-bottom: .5em;
146 margin-bottom: .5em;
147 padding-bottom: .5em;
147 padding-bottom: .5em;
148 }
148 }
149
149
150 .form-title {
150 .form-title {
151 font-weight: bold;
151 font-weight: bold;
152 }
152 }
153
153
154 input[type="submit"] {
154 input[type="submit"] {
155 background: #fff;
155 background: #fff;
156 border: solid 1px #000;
156 border: solid 1px #000;
157 color: #000;
157 color: #000;
158 }
158 }
159
159
160 blockquote {
160 blockquote {
161 border-left: solid 2px;
161 border-left: solid 2px;
162 padding-left: 5px;
162 padding-left: 5px;
163 color: #B1FB17;
163 color: #B1FB17;
164 margin: 0;
164 margin: 0;
165 }
165 }
166
166
167 .post > .image {
167 .post > .image {
168 float: left;
168 float: left;
169 margin: 0 1ex .5ex 0;
169 margin: 0 1ex .5ex 0;
170 min-width: 1px;
170 min-width: 1px;
171 text-align: center;
171 text-align: center;
172 display: table-row;
172 display: table-row;
173
173
174 height: 150px;
174 height: 150px;
175 }
175 }
176
176
177 .post > .metadata {
177 .post > .metadata {
178 clear: left;
178 clear: left;
179 }
179 }
180
180
181 .get {
181 .get {
182 font-weight: bold;
182 font-weight: bold;
183 color: #d55;
183 color: #d55;
184 }
184 }
185
185
186 * {
186 * {
187 text-decoration: none;
187 text-decoration: none;
188 }
188 }
189
189
190 .dead_post {
190 .dead_post {
191 background-color: #ecc;
191 background-color: #ecc;
192 }
192 }
193
193
194 .quote {
194 .quote {
195 color: #080;
195 color: #080;
196 font-style: italic;
196 font-style: italic;
197 }
197 }
198
198
199 .spoiler {
199 .spoiler {
200 background: white;
200 background: white;
201 color: white;
201 color: white;
202 }
202 }
203
203
204 .spoiler:hover {
204 .spoiler:hover {
205 color: black;
205 color: black;
206 }
206 }
207
207
208 .comment {
208 .comment {
209 color: #8B6914;
209 color: #8B6914;
210 font-style: italic;
210 font-style: italic;
211 }
211 }
212
212
213 a:hover {
213 a:hover {
214 text-decoration: underline;
214 text-decoration: underline;
215 }
215 }
216
216
217 .last-replies {
217 .last-replies {
218 margin-left: 3ex;
218 margin-left: 3ex;
219 }
219 }
220
220
221 .thread {
221 .thread {
222 margin-bottom: 3ex;
222 margin-bottom: 3ex;
223 }
223 }
224
224
225 .post:target {
225 .post:target {
226 border: solid 2px black;
226 border: solid 2px black;
227 }
227 }
228
228
229 pre{
229 pre{
230 white-space:pre-wrap
230 white-space:pre-wrap
231 }
231 }
232
232
233 li {
233 li {
234 list-style-position: inside;
234 list-style-position: inside;
235 }
235 }
236
236
237 .fancybox-skin {
237 .fancybox-skin {
238 position: relative;
238 position: relative;
239 background-color: #fff;
239 background-color: #fff;
240 color: #ddd;
240 color: #ddd;
241 text-shadow: none;
241 text-shadow: none;
242 }
242 }
243
243
244 .fancybox-image {
244 .fancybox-image {
245 border: 1px solid black;
245 border: 1px solid black;
246 }
246 }
247
247
248 .image-mode-tab {
248 .image-mode-tab {
249 display: table;
249 display: table;
250 margin: 5px;
250 margin: 5px;
251 padding: 5px;
251 padding: 5px;
252 background: rgb(221, 221, 221);
252 background: rgb(221, 221, 221);
253 border: 1px solid rgb(204, 204, 204);
253 border: 1px solid rgb(204, 204, 204);
254 border-radius: 5px 5px 5px 5px;
254 border-radius: 5px 5px 5px 5px;
255 }
255 }
256
256
257 .image-mode-tab > label {
257 .image-mode-tab > label {
258 margin: 0 1ex;
258 margin: 0 1ex;
259 }
259 }
260
260
261 .image-mode-tab > label > input {
261 .image-mode-tab > label > input {
262 margin-right: .5ex;
262 margin-right: .5ex;
263 }
263 }
264
264
265 #posts-table {
265 #posts-table {
266 margin: 5px;
266 margin: 5px;
267 }
267 }
268
268
269 .tag_info {
269 .tag_info {
270 display: table;
270 display: table;
271 }
271 }
272
272
273 .tag_info > h2 {
273 .tag_info > h2 {
274 margin: 0;
274 margin: 0;
275 }
275 }
276
276
277 .moderator_info {
277 .moderator_info {
278 color: #e99d41;
278 color: #e99d41;
279 border: dashed 1px;
279 border: dashed 1px;
280 padding: 3px;
280 padding: 3px;
281 }
281 }
282
282
283 .refmap {
283 .refmap {
284 font-size: 0.9em;
284 font-size: 0.9em;
285 color: #444;
285 color: #444;
286 margin-top: 1em;
286 margin-top: 1em;
287 }
287 }
288
288
289 input[type="submit"]:hover {
289 input[type="submit"]:hover {
290 background: #ccc;
290 background: #ccc;
291 }
291 }
292
292
293
293
294 .fav {
294 .fav {
295 color: rgb(255, 102, 0);
295 color: rgb(255, 102, 0);
296 }
296 }
297
297
298 .not_fav {
298 .not_fav {
299 color: #555;
299 color: #555;
300 }
300 }
301
301
302 .role {
302 .role {
303 text-decoration: underline;
303 text-decoration: underline;
304 }
304 }
305
305
306 .form-email {
306 .form-email {
307 display: none;
307 display: none;
308 }
308 }
309
309
310 .mark_btn {
310 .mark_btn {
311 padding: 2px 4px;
311 padding: 2px 4px;
312 border: 1px solid;
312 border: 1px solid;
313 }
313 }
314
314
315 .mark_btn:hover {
315 .mark_btn:hover {
316 background: #ccc;
316 background: #ccc;
317 }
317 }
318
318
319 .bar-value {
319 .bar-value {
320 background: rgba(251, 199, 16, 0.61);
320 background: rgba(251, 199, 16, 0.61);
321 padding: 2px;
321 padding: 2px;
322 font-size: 0.9em;
322 font-size: 0.9em;
323 height: 1.5em;
323 }
324 }
324
325
325 .bar-bg {
326 .bar-bg {
327 position: relative;
326 border: 1px solid rgb(204, 204, 204);
328 border: 1px solid rgb(204, 204, 204);
327 border-radius: 5px 5px 5px 5px;
329 border-radius: 5px 5px 5px 5px;
328 margin: 5px;
330 margin: 5px;
331 overflow: hidden;
332 }
333
334 .bar-text {
335 padding: 2px;
336 position: absolute;
337 left: 0;
338 top: 0;
329 } No newline at end of file
339 }
@@ -1,298 +1,310 b''
1 * {
1 * {
2 font-size: inherit;
2 font-size: inherit;
3 margin: 0;
3 margin: 0;
4 padding: 0;
4 padding: 0;
5 }
5 }
6 html {
6 html {
7 background: #fff;
7 background: #fff;
8 color: #000;
8 color: #000;
9 font: medium sans-serif;
9 font: medium sans-serif;
10 }
10 }
11 a {
11 a {
12 color: inherit;
12 color: inherit;
13 text-decoration: underline;
13 text-decoration: underline;
14 }
14 }
15 li {
15 li {
16 list-style-position: inside;
16 list-style-position: inside;
17 }
17 }
18
18
19 #admin_panel {
19 #admin_panel {
20 background: #182F6F;
20 background: #182F6F;
21 color: #fff;
21 color: #fff;
22 padding: .5ex 1ex .5ex 1ex;
22 padding: .5ex 1ex .5ex 1ex;
23 }
23 }
24
24
25 .navigation_panel {
25 .navigation_panel {
26 background: #182F6F;
26 background: #182F6F;
27 color: #B4CFEC;
27 color: #B4CFEC;
28 margin-bottom: 1em;
28 margin-bottom: 1em;
29 padding: .5ex 1ex 1ex 1ex;
29 padding: .5ex 1ex 1ex 1ex;
30 }
30 }
31 .navigation_panel::after {
31 .navigation_panel::after {
32 clear: both;
32 clear: both;
33 content: ".";
33 content: ".";
34 display: block;
34 display: block;
35 height: 0;
35 height: 0;
36 line-height: 0;
36 line-height: 0;
37 visibility: hidden;
37 visibility: hidden;
38 }
38 }
39
39
40 .navigation_panel a:link, .navigation_panel a:visited, .navigation_panel a:hover {
40 .navigation_panel a:link, .navigation_panel a:visited, .navigation_panel a:hover {
41 text-decoration: none;
41 text-decoration: none;
42 }
42 }
43
43
44 .navigation_panel .link {
44 .navigation_panel .link {
45 border-right: 1px solid #fff;
45 border-right: 1px solid #fff;
46 color: #fff;
46 color: #fff;
47 font-weight: bold;
47 font-weight: bold;
48 margin-right: 1ex;
48 margin-right: 1ex;
49 padding-right: 1ex;
49 padding-right: 1ex;
50 }
50 }
51 .navigation_panel .link:last-child {
51 .navigation_panel .link:last-child {
52 border-left: 1px solid #fff;
52 border-left: 1px solid #fff;
53 border-right: none;
53 border-right: none;
54 float: right;
54 float: right;
55 margin-left: 1ex;
55 margin-left: 1ex;
56 margin-right: 0;
56 margin-right: 0;
57 padding-left: 1ex;
57 padding-left: 1ex;
58 padding-right: 0;
58 padding-right: 0;
59 }
59 }
60
60
61 .navigation_panel .tag {
61 .navigation_panel .tag {
62 color: #fff;
62 color: #fff;
63 }
63 }
64
64
65 .input_field {
65 .input_field {
66
66
67 }
67 }
68
68
69 .input_field_name {
69 .input_field_name {
70
70
71 }
71 }
72
72
73 .input_field_error {
73 .input_field_error {
74 color: #FF0000;
74 color: #FF0000;
75 }
75 }
76
76
77
77
78 .title {
78 .title {
79 color: #182F6F;
79 color: #182F6F;
80 font-weight: bold;
80 font-weight: bold;
81 }
81 }
82
82
83 .post-form-w {
83 .post-form-w {
84 background: #182F6F;
84 background: #182F6F;
85 border-radius: 1ex;
85 border-radius: 1ex;
86 color: #fff;
86 color: #fff;
87 margin: 1em 1ex;
87 margin: 1em 1ex;
88 padding: 1ex;
88 padding: 1ex;
89 }
89 }
90 .post-form {
90 .post-form {
91 display: table;
91 display: table;
92 border-collapse: collapse;
92 border-collapse: collapse;
93 width: 100%;
93 width: 100%;
94
94
95 }
95 }
96 .form-row {
96 .form-row {
97 display: table-row;
97 display: table-row;
98 }
98 }
99 .form-label, .form-input {
99 .form-label, .form-input {
100 display: table-cell;
100 display: table-cell;
101 vertical-align: top;
101 vertical-align: top;
102 }
102 }
103 .form-label {
103 .form-label {
104 padding: .25em 1ex .25em 0;
104 padding: .25em 1ex .25em 0;
105 }
105 }
106 .form-input {
106 .form-input {
107 padding: .25em 0;
107 padding: .25em 0;
108 }
108 }
109 .form-input > * {
109 .form-input > * {
110 background: #fff;
110 background: #fff;
111 color: #000;
111 color: #000;
112 border: none;
112 border: none;
113 padding: 0;
113 padding: 0;
114 resize: vertical;
114 resize: vertical;
115 width: 100%;
115 width: 100%;
116 }
116 }
117 .form-submit {
117 .form-submit {
118 border-bottom: 1px solid #666;
118 border-bottom: 1px solid #666;
119 margin-bottom: .5em;
119 margin-bottom: .5em;
120 padding-bottom: .5em;
120 padding-bottom: .5em;
121 }
121 }
122 .form-title {
122 .form-title {
123 font-weight: bold;
123 font-weight: bold;
124 margin-bottom: .5em;
124 margin-bottom: .5em;
125 }
125 }
126 .post-form .settings_item {
126 .post-form .settings_item {
127 margin: .5em 0;
127 margin: .5em 0;
128 }
128 }
129 .form-submit input {
129 .form-submit input {
130 margin-top: .5em;
130 margin-top: .5em;
131 padding: .2em 1ex;
131 padding: .2em 1ex;
132 }
132 }
133 .form-label {
133 .form-label {
134 text-align: right;
134 text-align: right;
135 }
135 }
136
136
137 .block {
137 .block {
138 display: inline-block;
138 display: inline-block;
139 vertical-align: top;
139 vertical-align: top;
140 }
140 }
141
141
142 .post_id {
142 .post_id {
143 color: #a00;
143 color: #a00;
144 }
144 }
145
145
146 .post {
146 .post {
147 clear: left;
147 clear: left;
148 margin: 0 1ex 1em 1ex;
148 margin: 0 1ex 1em 1ex;
149 overflow-x: auto;
149 overflow-x: auto;
150 word-wrap: break-word;
150 word-wrap: break-word;
151 background: #FFF;
151 background: #FFF;
152 padding: 1ex;
152 padding: 1ex;
153 border: 1px solid #666;
153 border: 1px solid #666;
154 box-shadow: 1px 1px 2px 1px #666;
154 box-shadow: 1px 1px 2px 1px #666;
155 }
155 }
156
156
157 #posts > .post:last-child {
157 #posts > .post:last-child {
158 border-bottom: none;
158 border-bottom: none;
159 padding-bottom: 0;
159 padding-bottom: 0;
160 }
160 }
161
161
162 .metadata {
162 .metadata {
163 background: #C0E4E8;
163 background: #C0E4E8;
164 border: 1px solid #7F9699;
164 border: 1px solid #7F9699;
165 border-radius: .4ex;
165 border-radius: .4ex;
166 display: table;
166 display: table;
167 margin-top: .5em;
167 margin-top: .5em;
168 padding: .4em;
168 padding: .4em;
169 }
169 }
170
170
171 .post ul, .post ol {
171 .post ul, .post ol {
172 margin: .5em 0 .5em 3ex;
172 margin: .5em 0 .5em 3ex;
173 }
173 }
174 .post li {
174 .post li {
175 margin: .2em 0;
175 margin: .2em 0;
176 }
176 }
177 .post p {
177 .post p {
178 margin: .5em 0;
178 margin: .5em 0;
179 }
179 }
180 .post blockquote {
180 .post blockquote {
181 border-left: 3px solid #182F6F;
181 border-left: 3px solid #182F6F;
182 margin: .5em 0 .5em 3ex;
182 margin: .5em 0 .5em 3ex;
183 padding-left: 1ex;
183 padding-left: 1ex;
184 }
184 }
185 .post blockquote > blockquote {
185 .post blockquote > blockquote {
186 padding-top: .1em;
186 padding-top: .1em;
187 }
187 }
188
188
189 .post > .image {
189 .post > .image {
190 float: left;
190 float: left;
191 margin-right: 1ex;
191 margin-right: 1ex;
192 }
192 }
193 .post > .metadata {
193 .post > .metadata {
194 clear: left;
194 clear: left;
195 }
195 }
196
196
197 .post > .message .get {
197 .post > .message .get {
198 color: #182F6F; font-weight: bold;
198 color: #182F6F; font-weight: bold;
199 }
199 }
200
200
201 .dead_post > .metadata {
201 .dead_post > .metadata {
202 background: #eee;
202 background: #eee;
203 }
203 }
204
204
205 .quote {
205 .quote {
206 color: #182F6F;
206 color: #182F6F;
207 }
207 }
208
208
209 .spoiler {
209 .spoiler {
210 background: black;
210 background: black;
211 color: black;
211 color: black;
212 }
212 }
213
213
214 .spoiler:hover {
214 .spoiler:hover {
215 background: #ffffff;
215 background: #ffffff;
216 }
216 }
217
217
218 .comment {
218 .comment {
219 color: #557055;
219 color: #557055;
220 }
220 }
221
221
222 .last-replies {
222 .last-replies {
223 margin-left: 6ex;
223 margin-left: 6ex;
224 }
224 }
225
225
226 .thread > .post > .message > .post-info {
226 .thread > .post > .message > .post-info {
227 border-bottom: 1px solid #ccc;
227 border-bottom: 1px solid #ccc;
228 padding-bottom: .5em;
228 padding-bottom: .5em;
229 }
229 }
230
230
231 :target .post_id {
231 :target .post_id {
232 background: #182F6F;
232 background: #182F6F;
233 color: #FFF;
233 color: #FFF;
234 text-decoration: none;
234 text-decoration: none;
235 }
235 }
236
236
237 .image-mode-tab {
237 .image-mode-tab {
238 background: #182F6F;
238 background: #182F6F;
239 color: #FFF;
239 color: #FFF;
240 display: table;
240 display: table;
241 margin: 1em auto 1em 0;
241 margin: 1em auto 1em 0;
242 padding: .2em .5ex;
242 padding: .2em .5ex;
243 }
243 }
244
244
245 .image-mode-tab > label {
245 .image-mode-tab > label {
246 margin: 0 1ex;
246 margin: 0 1ex;
247 }
247 }
248
248
249 .image-mode-tab > label > input {
249 .image-mode-tab > label > input {
250 margin-right: .5ex;
250 margin-right: .5ex;
251 }
251 }
252
252
253 .tag_info {
253 .tag_info {
254 margin: 1em 0;
254 margin: 1em 0;
255 text-align: center;
255 text-align: center;
256 }
256 }
257
257
258 .form-errors {
258 .form-errors {
259 margin-left: 1ex;
259 margin-left: 1ex;
260 }
260 }
261
261
262 .moderator_info {
262 .moderator_info {
263 font-weight: bold;
263 font-weight: bold;
264 float: right;
264 float: right;
265 }
265 }
266
266
267 .refmap {
267 .refmap {
268 border: 1px dashed #aaa;
268 border: 1px dashed #aaa;
269 padding: 0.5em;
269 padding: 0.5em;
270 display: table;
270 display: table;
271 }
271 }
272
272
273 .fav {
273 .fav {
274 color: blue;
274 color: blue;
275 }
275 }
276
276
277 .not_fav {
277 .not_fav {
278 color: #ccc;
278 color: #ccc;
279 }
279 }
280
280
281 .role {
281 .role {
282 text-decoration: underline;
282 text-decoration: underline;
283 }
283 }
284
284
285 .form-email {
285 .form-email {
286 display: none;
286 display: none;
287 }
287 }
288
288
289 .bar-value {
289 .bar-value {
290 background: #E3E7F2;
290 background: #E3E7F2;
291 padding: .1em 1ex;
291 padding: .1em 1ex;
292 moz-box-sizing: border-box;
293 box-sizing: border-box;
294 height: 1.5em;
292 }
295 }
293
296
294 .bar-bg {
297 .bar-bg {
295 background: #EA4649;
298 background: #EA4649;
296 border: 1px solid #666;
299 border: 1px solid #666;
297 margin: 0 1ex 1em 1ex;
300 margin: 0 1ex 1em 1ex;
301 position: relative;
302 overflow: hidden;
303 }
304
305 .bar-text {
306 padding: 2px;
307 position: absolute;
308 left: 0;
309 top: 0;
298 } No newline at end of file
310 }
@@ -1,150 +1,152 b''
1 {% extends "boards/base.html" %}
1 {% extends "boards/base.html" %}
2
2
3 {% load i18n %}
3 {% load i18n %}
4 {% load markup %}
4 {% load markup %}
5 {% load cache %}
5 {% load cache %}
6 {% load static from staticfiles %}
6 {% load static from staticfiles %}
7
7
8 {% block head %}
8 {% block head %}
9 <title>Neboard - {{ posts.0.get_title }}</title>
9 <title>Neboard - {{ posts.0.get_title }}</title>
10 {% endblock %}
10 {% endblock %}
11
11
12 {% block content %}
12 {% block content %}
13 {% get_current_language as LANGUAGE_CODE %}
13 {% get_current_language as LANGUAGE_CODE %}
14
14
15 <script src="{% static 'js/thread.js' %}"></script>
15 <script src="{% static 'js/thread.js' %}"></script>
16
16
17 {% if posts %}
17 {% if posts %}
18 {% cache 600 thread_view posts.0.last_edit_time moderator LANGUAGE_CODE %}
18 {% cache 600 thread_view posts.0.last_edit_time moderator LANGUAGE_CODE %}
19 {% if bumpable %}
19 {% if bumpable %}
20 <div class="bar-bg">
20 <div class="bar-bg">
21 <div class="bar-value" style="width:{{ bumplimit_progress }}%">
21 <div class="bar-value" style="width:{{ bumplimit_progress }}%">
22 </div>
23 <div class="bar-text">
22 {{ posts_left }} {% trans 'posts to bumplimit' %}
24 {{ posts_left }} {% trans 'posts to bumplimit' %}
23 </div>
25 </div>
24 </div>
26 </div>
25 {% endif %}
27 {% endif %}
26 <div class="thread">
28 <div class="thread">
27 {% for post in posts %}
29 {% for post in posts %}
28 {% if bumpable %}
30 {% if bumpable %}
29 <div class="post" id="{{ post.id }}">
31 <div class="post" id="{{ post.id }}">
30 {% else %}
32 {% else %}
31 <div class="post dead_post" id="{{ post.id }}">
33 <div class="post dead_post" id="{{ post.id }}">
32 {% endif %}
34 {% endif %}
33 {% if post.image %}
35 {% if post.image %}
34 <div class="image">
36 <div class="image">
35 <a
37 <a
36 class="thumb"
38 class="thumb"
37 href="{{ post.image.url }}"><img
39 href="{{ post.image.url }}"><img
38 src="{{ post.image.url_200x150 }}"
40 src="{{ post.image.url_200x150 }}"
39 alt="{{ post.id }}"
41 alt="{{ post.id }}"
40 data-width="{{ post.image_width }}"
42 data-width="{{ post.image_width }}"
41 data-height="{{ post.image_height }}"/>
43 data-height="{{ post.image_height }}"/>
42 </a>
44 </a>
43 </div>
45 </div>
44 {% endif %}
46 {% endif %}
45 <div class="message">
47 <div class="message">
46 <div class="post-info">
48 <div class="post-info">
47 <span class="title">{{ post.title }}</span>
49 <span class="title">{{ post.title }}</span>
48 <a class="post_id" href="#{{ post.id }}">
50 <a class="post_id" href="#{{ post.id }}">
49 (#{{ post.id }})</a>
51 (#{{ post.id }})</a>
50 [{{ post.pub_time }}]
52 [{{ post.pub_time }}]
51 [<a href="#" onclick="javascript:addQuickReply('{{ post.id }}')
53 [<a href="#" onclick="javascript:addQuickReply('{{ post.id }}')
52 ; return false;">&gt;&gt;</a>]
54 ; return false;">&gt;&gt;</a>]
53
55
54 {% if moderator %}
56 {% if moderator %}
55 <span class="moderator_info">
57 <span class="moderator_info">
56 [<a href="{% url 'delete' post_id=post.id %}"
58 [<a href="{% url 'delete' post_id=post.id %}"
57 >{% trans 'Delete' %}</a>]
59 >{% trans 'Delete' %}</a>]
58 ({{ post.poster_ip }})
60 ({{ post.poster_ip }})
59 [<a href="{% url 'ban' post_id=post.id %}?next={{ request.path }}"
61 [<a href="{% url 'ban' post_id=post.id %}?next={{ request.path }}"
60 >{% trans 'Ban IP' %}</a>]
62 >{% trans 'Ban IP' %}</a>]
61 </span>
63 </span>
62 {% endif %}
64 {% endif %}
63 </div>
65 </div>
64 {% autoescape off %}
66 {% autoescape off %}
65 {{ post.text.rendered }}
67 {{ post.text.rendered }}
66 {% endautoescape %}
68 {% endautoescape %}
67 </div>
69 </div>
68 {% if post.id == posts.0.id %}
70 {% if post.id == posts.0.id %}
69 <div class="metadata">
71 <div class="metadata">
70 <span class="tags">{% trans 'Tags' %}:
72 <span class="tags">{% trans 'Tags' %}:
71 {% for tag in post.tags.all %}
73 {% for tag in post.tags.all %}
72 <a class="tag" href="{% url 'tag' tag.name %}">
74 <a class="tag" href="{% url 'tag' tag.name %}">
73 {{ tag.name }}</a>
75 {{ tag.name }}</a>
74 {% endfor %}
76 {% endfor %}
75 </span>
77 </span>
76 </div>
78 </div>
77 {% endif %}
79 {% endif %}
78 </div>
80 </div>
79 {% endfor %}
81 {% endfor %}
80 </div>
82 </div>
81 {% endcache %}
83 {% endcache %}
82 {% endif %}
84 {% endif %}
83
85
84 <form id="form" enctype="multipart/form-data" method="post"
86 <form id="form" enctype="multipart/form-data" method="post"
85 >{% csrf_token %}
87 >{% csrf_token %}
86 <div class="post-form-w">
88 <div class="post-form-w">
87 <div class="form-title">{% trans "Reply to thread" %} #{{ posts.0.id }}</div>
89 <div class="form-title">{% trans "Reply to thread" %} #{{ posts.0.id }}</div>
88 <div class="post-form">
90 <div class="post-form">
89 <div class="form-row">
91 <div class="form-row">
90 <div class="form-label">{% trans 'Title' %}</div>
92 <div class="form-label">{% trans 'Title' %}</div>
91 <div class="form-input">{{ form.title }}</div>
93 <div class="form-input">{{ form.title }}</div>
92 <div class="form-errors">{{ form.title.errors }}</div>
94 <div class="form-errors">{{ form.title.errors }}</div>
93 </div>
95 </div>
94 <div class="form-row">
96 <div class="form-row">
95 <div class="form-label">{% trans 'Formatting' %}</div>
97 <div class="form-label">{% trans 'Formatting' %}</div>
96 <div class="form-input" id="mark_panel">
98 <div class="form-input" id="mark_panel">
97 <span class="mark_btn" id="quote"><span class="quote">&gt;{% trans 'quote' %}</span></span>
99 <span class="mark_btn" id="quote"><span class="quote">&gt;{% trans 'quote' %}</span></span>
98 <span class="mark_btn" id="italic"><i>{% trans 'italic' %}</i></span>
100 <span class="mark_btn" id="italic"><i>{% trans 'italic' %}</i></span>
99 <span class="mark_btn" id="bold"><b>{% trans 'bold' %}</b></span>
101 <span class="mark_btn" id="bold"><b>{% trans 'bold' %}</b></span>
100 <span class="mark_btn" id="spoiler"><span class="spoiler">{% trans 'spoiler' %}</span></span>
102 <span class="mark_btn" id="spoiler"><span class="spoiler">{% trans 'spoiler' %}</span></span>
101 <span class="mark_btn" id="comment"><span class="comment">// {% trans 'comment' %}</span></span>
103 <span class="mark_btn" id="comment"><span class="comment">// {% trans 'comment' %}</span></span>
102 </div>
104 </div>
103 </div>
105 </div>
104 <div class="form-row">
106 <div class="form-row">
105 <div class="form-label">{% trans 'Text' %}</div>
107 <div class="form-label">{% trans 'Text' %}</div>
106 <div class="form-input">{{ form.text }}</div>
108 <div class="form-input">{{ form.text }}</div>
107 <div class="form-errors">{{ form.text.errors }}</div>
109 <div class="form-errors">{{ form.text.errors }}</div>
108 </div>
110 </div>
109 <div class="form-row">
111 <div class="form-row">
110 <div class="form-label">{% trans 'Image' %}</div>
112 <div class="form-label">{% trans 'Image' %}</div>
111 <div class="form-input">{{ form.image }}</div>
113 <div class="form-input">{{ form.image }}</div>
112 <div class="form-errors">{{ form.image.errors }}</div>
114 <div class="form-errors">{{ form.image.errors }}</div>
113 </div>
115 </div>
114 <div class="form-row form-email">
116 <div class="form-row form-email">
115 <div class="form-label">{% trans 'e-mail' %}</div>
117 <div class="form-label">{% trans 'e-mail' %}</div>
116 <div class="form-input">{{ form.email }}</div>
118 <div class="form-input">{{ form.email }}</div>
117 <div class="form-errors">{{ form.email.errors }}</div>
119 <div class="form-errors">{{ form.email.errors }}</div>
118 </div>
120 </div>
119 <div class="form-row">
121 <div class="form-row">
120 {{ form.captcha }}
122 {{ form.captcha }}
121 <div class="form-errors">{{ form.captcha.errors }}</div>
123 <div class="form-errors">{{ form.captcha.errors }}</div>
122 </div>
124 </div>
123 <div class="form-row">
125 <div class="form-row">
124 <div class="form-errors">{{ form.other.errors }}</div>
126 <div class="form-errors">{{ form.other.errors }}</div>
125 </div>
127 </div>
126 </div>
128 </div>
127
129
128 <div class="form-submit"><input type="submit"
130 <div class="form-submit"><input type="submit"
129 value="{% trans "Post" %}"/></div>
131 value="{% trans "Post" %}"/></div>
130 <div><a href="{% url "staticpage" name="help" %}">
132 <div><a href="{% url "staticpage" name="help" %}">
131 {% trans 'Text syntax' %}</a></div>
133 {% trans 'Text syntax' %}</a></div>
132 </div>
134 </div>
133 </form>
135 </form>
134
136
135 {% endblock %}
137 {% endblock %}
136
138
137 {% block metapanel %}
139 {% block metapanel %}
138
140
139 {% get_current_language as LANGUAGE_CODE %}
141 {% get_current_language as LANGUAGE_CODE %}
140
142
141 <span class="metapanel">
143 <span class="metapanel">
142 {% cache 600 thread_meta posts.0.last_edit_time moderator LANGUAGE_CODE %}
144 {% cache 600 thread_meta posts.0.last_edit_time moderator LANGUAGE_CODE %}
143 {{ posts.0.get_reply_count }} {% trans 'replies' %},
145 {{ posts.0.get_reply_count }} {% trans 'replies' %},
144 {{ posts.0.get_images_count }} {% trans 'images' %}.
146 {{ posts.0.get_images_count }} {% trans 'images' %}.
145 {% trans 'Last update: ' %}{{ posts.0.last_edit_time }}
147 {% trans 'Last update: ' %}{{ posts.0.last_edit_time }}
146 [<a href="rss/">RSS</a>]
148 [<a href="rss/">RSS</a>]
147 {% endcache %}
149 {% endcache %}
148 </span>
150 </span>
149
151
150 {% endblock %}
152 {% endblock %}
General Comments 0
You need to be logged in to leave comments. Login now