##// END OF EJS Templates
No padding in gallery images. This way cooler
neko259 -
r1319:4308033a default
parent child Browse files
Show More
@@ -1,550 +1,549 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"]):not([type="checkbox"]):not([type="submit"]), .post-form textarea, .post-form select {
170 .post-form input:not([name="image"]):not([type="checkbox"]):not([type="submit"]), .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 input[type="submit"], button {
195 input[type="submit"], button {
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 margin-right: 0.5ex;
200 margin-right: 0.5ex;
201 }
201 }
202
202
203 input[type="submit"]:hover {
203 input[type="submit"]:hover {
204 background: #060;
204 background: #060;
205 }
205 }
206
206
207 .form-submit > button:hover {
207 .form-submit > button:hover {
208 background: #006;
208 background: #006;
209 }
209 }
210
210
211 blockquote {
211 blockquote {
212 border-left: solid 2px;
212 border-left: solid 2px;
213 padding-left: 5px;
213 padding-left: 5px;
214 color: #B1FB17;
214 color: #B1FB17;
215 margin: 0;
215 margin: 0;
216 }
216 }
217
217
218 .post > .image {
218 .post > .image {
219 float: left;
219 float: left;
220 margin: 0 1ex .5ex 0;
220 margin: 0 1ex .5ex 0;
221 min-width: 1px;
221 min-width: 1px;
222 text-align: center;
222 text-align: center;
223 display: table-row;
223 display: table-row;
224 }
224 }
225
225
226 .post > .metadata {
226 .post > .metadata {
227 clear: left;
227 clear: left;
228 }
228 }
229
229
230 .get {
230 .get {
231 font-weight: bold;
231 font-weight: bold;
232 color: #d55;
232 color: #d55;
233 }
233 }
234
234
235 * {
235 * {
236 text-decoration: none;
236 text-decoration: none;
237 }
237 }
238
238
239 .dead_post > .post-info {
239 .dead_post > .post-info {
240 font-style: italic;
240 font-style: italic;
241 }
241 }
242
242
243 .archive_post > .post-info {
243 .archive_post > .post-info {
244 text-decoration: line-through;
244 text-decoration: line-through;
245 }
245 }
246
246
247 .mark_btn {
247 .mark_btn {
248 border: 1px solid;
248 border: 1px solid;
249 padding: 2px 2ex;
249 padding: 2px 2ex;
250 display: inline-block;
250 display: inline-block;
251 margin: 0 5px 4px 0;
251 margin: 0 5px 4px 0;
252 }
252 }
253
253
254 .mark_btn:hover {
254 .mark_btn:hover {
255 background: #555;
255 background: #555;
256 }
256 }
257
257
258 .quote {
258 .quote {
259 color: #92cf38;
259 color: #92cf38;
260 font-style: italic;
260 font-style: italic;
261 }
261 }
262
262
263 .multiquote {
263 .multiquote {
264 padding: 3px;
264 padding: 3px;
265 display: inline-block;
265 display: inline-block;
266 background: #222;
266 background: #222;
267 border-style: solid;
267 border-style: solid;
268 border-width: 1px 1px 1px 4px;
268 border-width: 1px 1px 1px 4px;
269 font-size: 0.9em;
269 font-size: 0.9em;
270 }
270 }
271
271
272 .spoiler {
272 .spoiler {
273 background: black;
273 background: black;
274 color: black;
274 color: black;
275 padding: 0 1ex 0 1ex;
275 padding: 0 1ex 0 1ex;
276 }
276 }
277
277
278 .spoiler:hover {
278 .spoiler:hover {
279 color: #ddd;
279 color: #ddd;
280 }
280 }
281
281
282 .comment {
282 .comment {
283 color: #eb2;
283 color: #eb2;
284 }
284 }
285
285
286 a:hover {
286 a:hover {
287 text-decoration: underline;
287 text-decoration: underline;
288 }
288 }
289
289
290 .last-replies {
290 .last-replies {
291 margin-left: 3ex;
291 margin-left: 3ex;
292 margin-right: 3ex;
292 margin-right: 3ex;
293 border-left: solid 1px #777;
293 border-left: solid 1px #777;
294 border-right: solid 1px #777;
294 border-right: solid 1px #777;
295 }
295 }
296
296
297 .last-replies > .post:first-child {
297 .last-replies > .post:first-child {
298 border-top: none;
298 border-top: none;
299 }
299 }
300
300
301 .thread {
301 .thread {
302 margin-bottom: 3ex;
302 margin-bottom: 3ex;
303 margin-top: 1ex;
303 margin-top: 1ex;
304 }
304 }
305
305
306 .post:target {
306 .post:target {
307 border: solid 2px white;
307 border: solid 2px white;
308 }
308 }
309
309
310 pre{
310 pre{
311 white-space:pre-wrap
311 white-space:pre-wrap
312 }
312 }
313
313
314 li {
314 li {
315 list-style-position: inside;
315 list-style-position: inside;
316 }
316 }
317
317
318 .fancybox-skin {
318 .fancybox-skin {
319 position: relative;
319 position: relative;
320 background-color: #fff;
320 background-color: #fff;
321 color: #ddd;
321 color: #ddd;
322 text-shadow: none;
322 text-shadow: none;
323 }
323 }
324
324
325 .fancybox-image {
325 .fancybox-image {
326 border: 1px solid black;
326 border: 1px solid black;
327 }
327 }
328
328
329 .image-mode-tab {
329 .image-mode-tab {
330 background: #444;
330 background: #444;
331 color: #eee;
331 color: #eee;
332 margin-top: 5px;
332 margin-top: 5px;
333 padding: 5px;
333 padding: 5px;
334 border-top: 1px solid #888;
334 border-top: 1px solid #888;
335 border-bottom: 1px solid #888;
335 border-bottom: 1px solid #888;
336 }
336 }
337
337
338 .image-mode-tab > label {
338 .image-mode-tab > label {
339 margin: 0 1ex;
339 margin: 0 1ex;
340 }
340 }
341
341
342 .image-mode-tab > label > input {
342 .image-mode-tab > label > input {
343 margin-right: .5ex;
343 margin-right: .5ex;
344 }
344 }
345
345
346 #posts-table {
346 #posts-table {
347 margin-top: 5px;
347 margin-top: 5px;
348 margin-bottom: 5px;
348 margin-bottom: 5px;
349 }
349 }
350
350
351 .tag_info > h2 {
351 .tag_info > h2 {
352 margin: 0;
352 margin: 0;
353 }
353 }
354
354
355 .post-info {
355 .post-info {
356 color: #ddd;
356 color: #ddd;
357 margin-bottom: 1ex;
357 margin-bottom: 1ex;
358 }
358 }
359
359
360 .moderator_info {
360 .moderator_info {
361 color: #e99d41;
361 color: #e99d41;
362 opacity: 0.4;
362 opacity: 0.4;
363 }
363 }
364
364
365 .moderator_info:hover {
365 .moderator_info:hover {
366 opacity: 1;
366 opacity: 1;
367 }
367 }
368
368
369 .refmap {
369 .refmap {
370 font-size: 0.9em;
370 font-size: 0.9em;
371 color: #ccc;
371 color: #ccc;
372 margin-top: 1em;
372 margin-top: 1em;
373 }
373 }
374
374
375 .fav {
375 .fav {
376 color: yellow;
376 color: yellow;
377 }
377 }
378
378
379 .not_fav {
379 .not_fav {
380 color: #ccc;
380 color: #ccc;
381 }
381 }
382
382
383 .role {
383 .role {
384 text-decoration: underline;
384 text-decoration: underline;
385 }
385 }
386
386
387 .form-email {
387 .form-email {
388 display: none;
388 display: none;
389 }
389 }
390
390
391 .bar-value {
391 .bar-value {
392 background: rgba(50, 55, 164, 0.45);
392 background: rgba(50, 55, 164, 0.45);
393 font-size: 0.9em;
393 font-size: 0.9em;
394 height: 1.5em;
394 height: 1.5em;
395 }
395 }
396
396
397 .bar-bg {
397 .bar-bg {
398 position: relative;
398 position: relative;
399 border-top: solid 1px #888;
399 border-top: solid 1px #888;
400 border-bottom: solid 1px #888;
400 border-bottom: solid 1px #888;
401 margin-top: 5px;
401 margin-top: 5px;
402 overflow: hidden;
402 overflow: hidden;
403 }
403 }
404
404
405 .bar-text {
405 .bar-text {
406 padding: 2px;
406 padding: 2px;
407 position: absolute;
407 position: absolute;
408 left: 0;
408 left: 0;
409 top: 0;
409 top: 0;
410 }
410 }
411
411
412 .page_link {
412 .page_link {
413 background: #444;
413 background: #444;
414 border-top: solid 1px #888;
414 border-top: solid 1px #888;
415 border-bottom: solid 1px #888;
415 border-bottom: solid 1px #888;
416 padding: 5px;
416 padding: 5px;
417 color: #eee;
417 color: #eee;
418 font-size: 2ex;
418 font-size: 2ex;
419 }
419 }
420
420
421 .skipped_replies {
421 .skipped_replies {
422 padding: 5px;
422 padding: 5px;
423 margin-left: 3ex;
423 margin-left: 3ex;
424 margin-right: 3ex;
424 margin-right: 3ex;
425 border-left: solid 1px #888;
425 border-left: solid 1px #888;
426 border-right: solid 1px #888;
426 border-right: solid 1px #888;
427 border-bottom: solid 1px #888;
427 border-bottom: solid 1px #888;
428 background: #000;
428 background: #000;
429 }
429 }
430
430
431 .current_page {
431 .current_page {
432 padding: 2px;
432 padding: 2px;
433 background-color: #afdcec;
433 background-color: #afdcec;
434 color: #000;
434 color: #000;
435 }
435 }
436
436
437 .current_mode {
437 .current_mode {
438 font-weight: bold;
438 font-weight: bold;
439 }
439 }
440
440
441 .gallery_image {
441 .gallery_image {
442 border: solid 1px;
442 border: solid 1px;
443 padding: 0.5ex;
444 margin: 0.5ex;
443 margin: 0.5ex;
445 text-align: center;
444 text-align: center;
446 }
445 }
447
446
448 code {
447 code {
449 border: dashed 1px #ccc;
448 border: dashed 1px #ccc;
450 background: #111;
449 background: #111;
451 padding: 2px;
450 padding: 2px;
452 font-size: 1.2em;
451 font-size: 1.2em;
453 display: inline-block;
452 display: inline-block;
454 }
453 }
455
454
456 pre {
455 pre {
457 overflow: auto;
456 overflow: auto;
458 }
457 }
459
458
460 .img-full {
459 .img-full {
461 background: #222;
460 background: #222;
462 border: solid 1px white;
461 border: solid 1px white;
463 }
462 }
464
463
465 .tag_item {
464 .tag_item {
466 display: inline-block;
465 display: inline-block;
467 }
466 }
468
467
469 #id_models li {
468 #id_models li {
470 list-style: none;
469 list-style: none;
471 }
470 }
472
471
473 #id_q {
472 #id_q {
474 margin-left: 1ex;
473 margin-left: 1ex;
475 }
474 }
476
475
477 ul {
476 ul {
478 padding-left: 0px;
477 padding-left: 0px;
479 }
478 }
480
479
481 .quote-header {
480 .quote-header {
482 border-bottom: 2px solid #ddd;
481 border-bottom: 2px solid #ddd;
483 margin-bottom: 1ex;
482 margin-bottom: 1ex;
484 padding-bottom: .5ex;
483 padding-bottom: .5ex;
485 color: #ddd;
484 color: #ddd;
486 font-size: 1.2em;
485 font-size: 1.2em;
487 }
486 }
488
487
489 /* Reflink preview */
488 /* Reflink preview */
490 .post_preview {
489 .post_preview {
491 border-left: 1px solid #777;
490 border-left: 1px solid #777;
492 border-right: 1px solid #777;
491 border-right: 1px solid #777;
493 max-width: 600px;
492 max-width: 600px;
494 }
493 }
495
494
496 /* Code highlighter */
495 /* Code highlighter */
497 .hljs {
496 .hljs {
498 color: #fff;
497 color: #fff;
499 background: #000;
498 background: #000;
500 display: inline-block;
499 display: inline-block;
501 }
500 }
502
501
503 .hljs, .hljs-subst, .hljs-tag .hljs-title, .lisp .hljs-title, .clojure .hljs-built_in, .nginx .hljs-title {
502 .hljs, .hljs-subst, .hljs-tag .hljs-title, .lisp .hljs-title, .clojure .hljs-built_in, .nginx .hljs-title {
504 color: #fff;
503 color: #fff;
505 }
504 }
506
505
507 #up {
506 #up {
508 position: fixed;
507 position: fixed;
509 bottom: 5px;
508 bottom: 5px;
510 right: 5px;
509 right: 5px;
511 border: 1px solid #777;
510 border: 1px solid #777;
512 background: #000;
511 background: #000;
513 padding: 4px;
512 padding: 4px;
514 }
513 }
515
514
516 .user-cast {
515 .user-cast {
517 border: solid #ffffff 1px;
516 border: solid #ffffff 1px;
518 padding: .2ex;
517 padding: .2ex;
519 background: #152154;
518 background: #152154;
520 color: #fff;
519 color: #fff;
521 }
520 }
522
521
523 .highlight {
522 .highlight {
524 background: #222;
523 background: #222;
525 }
524 }
526
525
527 .post-button-form > button:hover {
526 .post-button-form > button:hover {
528 text-decoration: underline;
527 text-decoration: underline;
529 }
528 }
530
529
531 .tree_reply > .post {
530 .tree_reply > .post {
532 margin-top: 1ex;
531 margin-top: 1ex;
533 border-left: solid 1px #777;
532 border-left: solid 1px #777;
534 padding-right: 0;
533 padding-right: 0;
535 }
534 }
536
535
537 #preview-text {
536 #preview-text {
538 border: solid 1px white;
537 border: solid 1px white;
539 margin: 1ex 0 1ex 0;
538 margin: 1ex 0 1ex 0;
540 padding: 1ex;
539 padding: 1ex;
541 }
540 }
542
541
543 .image-metadata {
542 .image-metadata {
544 font-style: italic;
543 font-style: italic;
545 font-size: 0.9em;
544 font-size: 0.9em;
546 }
545 }
547
546
548 .tripcode {
547 .tripcode {
549 color: white;
548 color: white;
550 }
549 }
General Comments 0
You need to be logged in to leave comments. Login now