##// END OF EJS Templates
Made highlight color in MD theme prettier
neko259 -
r1036:1f9eb2e4 default
parent child Browse files
Show More
@@ -1,511 +1,511 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 {
88 .navigation_panel .link {
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 .navigation_panel .link:last-child {
94 .navigation_panel .link:last-child {
95 border-left: 1px solid #fff;
95 border-left: 1px solid #fff;
96 border-right: none;
96 border-right: none;
97 float: right;
97 float: right;
98 margin-left: 1ex;
98 margin-left: 1ex;
99 margin-right: 0;
99 margin-right: 0;
100 padding-left: 1ex;
100 padding-left: 1ex;
101 padding-right: 0;
101 padding-right: 0;
102 }
102 }
103
103
104 .navigation_panel::after, .post::after {
104 .navigation_panel::after, .post::after {
105 clear: both;
105 clear: both;
106 content: ".";
106 content: ".";
107 display: block;
107 display: block;
108 height: 0;
108 height: 0;
109 line-height: 0;
109 line-height: 0;
110 visibility: hidden;
110 visibility: hidden;
111 }
111 }
112
112
113 .header {
113 .header {
114 border-bottom: solid 2px #ccc;
114 border-bottom: solid 2px #ccc;
115 margin-bottom: 5px;
115 margin-bottom: 5px;
116 border-top: none;
116 border-top: none;
117 margin-top: 0;
117 margin-top: 0;
118 }
118 }
119
119
120 .footer {
120 .footer {
121 border-top: solid 2px #ccc;
121 border-top: solid 2px #ccc;
122 margin-top: 5px;
122 margin-top: 5px;
123 border-bottom: none;
123 border-bottom: none;
124 margin-bottom: 0;
124 margin-bottom: 0;
125 }
125 }
126
126
127 p, .br {
127 p, .br {
128 margin-top: .5em;
128 margin-top: .5em;
129 margin-bottom: .5em;
129 margin-bottom: .5em;
130 }
130 }
131
131
132 .post-form-w {
132 .post-form-w {
133 background: #333344;
133 background: #333344;
134 border-top: solid 1px #888;
134 border-top: solid 1px #888;
135 border-bottom: solid 1px #888;
135 border-bottom: solid 1px #888;
136 color: #fff;
136 color: #fff;
137 padding: 10px;
137 padding: 10px;
138 margin-bottom: 5px;
138 margin-bottom: 5px;
139 margin-top: 5px;
139 margin-top: 5px;
140 }
140 }
141
141
142 .form-row {
142 .form-row {
143 width: 100%;
143 width: 100%;
144 }
144 }
145
145
146 .form-label {
146 .form-label {
147 padding: .25em 1ex .25em 0;
147 padding: .25em 1ex .25em 0;
148 vertical-align: top;
148 vertical-align: top;
149 }
149 }
150
150
151 .form-input {
151 .form-input {
152 padding: .25em 0;
152 padding: .25em 0;
153 }
153 }
154
154
155 .form-errors {
155 .form-errors {
156 font-weight: bolder;
156 font-weight: bolder;
157 vertical-align: middle;
157 vertical-align: middle;
158 }
158 }
159
159
160 .post-form input:not([name="image"]), .post-form textarea {
160 .post-form input:not([name="image"]), .post-form textarea {
161 background: #333;
161 background: #333;
162 color: #fff;
162 color: #fff;
163 border: solid 1px;
163 border: solid 1px;
164 padding: 0;
164 padding: 0;
165 font: medium sans-serif;
165 font: medium sans-serif;
166 width: 100%;
166 width: 100%;
167 }
167 }
168
168
169 .post-form textarea {
169 .post-form textarea {
170 resize: vertical;
170 resize: vertical;
171 }
171 }
172
172
173 .form-submit {
173 .form-submit {
174 display: table;
174 display: table;
175 margin-bottom: 1ex;
175 margin-bottom: 1ex;
176 margin-top: 1ex;
176 margin-top: 1ex;
177 }
177 }
178
178
179 .form-title {
179 .form-title {
180 font-weight: bold;
180 font-weight: bold;
181 font-size: 2ex;
181 font-size: 2ex;
182 margin-bottom: 0.5ex;
182 margin-bottom: 0.5ex;
183 }
183 }
184
184
185 .post-form input[type="submit"], input[type="submit"] {
185 .post-form input[type="submit"], input[type="submit"] {
186 background: #222;
186 background: #222;
187 border: solid 2px #fff;
187 border: solid 2px #fff;
188 color: #fff;
188 color: #fff;
189 padding: 0.5ex;
189 padding: 0.5ex;
190 }
190 }
191
191
192 input[type="submit"]:hover {
192 input[type="submit"]:hover {
193 background: #060;
193 background: #060;
194 }
194 }
195
195
196 blockquote {
196 blockquote {
197 border-left: solid 2px;
197 border-left: solid 2px;
198 padding-left: 5px;
198 padding-left: 5px;
199 color: #B1FB17;
199 color: #B1FB17;
200 margin: 0;
200 margin: 0;
201 }
201 }
202
202
203 .post > .image {
203 .post > .image {
204 float: left;
204 float: left;
205 margin: 0 1ex .5ex 0;
205 margin: 0 1ex .5ex 0;
206 min-width: 1px;
206 min-width: 1px;
207 text-align: center;
207 text-align: center;
208 display: table-row;
208 display: table-row;
209 }
209 }
210
210
211 .post > .metadata {
211 .post > .metadata {
212 clear: left;
212 clear: left;
213 }
213 }
214
214
215 .get {
215 .get {
216 font-weight: bold;
216 font-weight: bold;
217 color: #d55;
217 color: #d55;
218 }
218 }
219
219
220 * {
220 * {
221 text-decoration: none;
221 text-decoration: none;
222 }
222 }
223
223
224 .dead_post {
224 .dead_post {
225 background-color: #442222;
225 background-color: #442222;
226 }
226 }
227
227
228 .archive_post {
228 .archive_post {
229 background-color: #000;
229 background-color: #000;
230 }
230 }
231
231
232 .mark_btn {
232 .mark_btn {
233 border: 1px solid;
233 border: 1px solid;
234 min-width: 2ex;
234 min-width: 2ex;
235 padding: 2px 2ex;
235 padding: 2px 2ex;
236 }
236 }
237
237
238 .mark_btn:hover {
238 .mark_btn:hover {
239 background: #555;
239 background: #555;
240 }
240 }
241
241
242 .quote {
242 .quote {
243 color: #92cf38;
243 color: #92cf38;
244 font-style: italic;
244 font-style: italic;
245 }
245 }
246
246
247 .multiquote {
247 .multiquote {
248 padding: 3px;
248 padding: 3px;
249 display: inline-block;
249 display: inline-block;
250 background: #222;
250 background: #222;
251 border-style: solid;
251 border-style: solid;
252 border-width: 1px 1px 1px 4px;
252 border-width: 1px 1px 1px 4px;
253 font-size: 0.9em;
253 font-size: 0.9em;
254 }
254 }
255
255
256 .spoiler {
256 .spoiler {
257 background: white;
257 background: white;
258 color: white;
258 color: white;
259 }
259 }
260
260
261 .spoiler:hover {
261 .spoiler:hover {
262 color: black;
262 color: black;
263 }
263 }
264
264
265 .comment {
265 .comment {
266 color: #eb2;
266 color: #eb2;
267 }
267 }
268
268
269 a:hover {
269 a:hover {
270 text-decoration: underline;
270 text-decoration: underline;
271 }
271 }
272
272
273 .last-replies {
273 .last-replies {
274 margin-left: 3ex;
274 margin-left: 3ex;
275 margin-right: 3ex;
275 margin-right: 3ex;
276 border-left: solid 1px #777;
276 border-left: solid 1px #777;
277 border-right: solid 1px #777;
277 border-right: solid 1px #777;
278 }
278 }
279
279
280 .last-replies > .post:first-child {
280 .last-replies > .post:first-child {
281 border-top: none;
281 border-top: none;
282 }
282 }
283
283
284 .thread {
284 .thread {
285 margin-bottom: 3ex;
285 margin-bottom: 3ex;
286 margin-top: 1ex;
286 margin-top: 1ex;
287 }
287 }
288
288
289 .post:target {
289 .post:target {
290 border: solid 2px white;
290 border: solid 2px white;
291 }
291 }
292
292
293 pre{
293 pre{
294 white-space:pre-wrap
294 white-space:pre-wrap
295 }
295 }
296
296
297 li {
297 li {
298 list-style-position: inside;
298 list-style-position: inside;
299 }
299 }
300
300
301 .fancybox-skin {
301 .fancybox-skin {
302 position: relative;
302 position: relative;
303 background-color: #fff;
303 background-color: #fff;
304 color: #ddd;
304 color: #ddd;
305 text-shadow: none;
305 text-shadow: none;
306 }
306 }
307
307
308 .fancybox-image {
308 .fancybox-image {
309 border: 1px solid black;
309 border: 1px solid black;
310 }
310 }
311
311
312 .image-mode-tab {
312 .image-mode-tab {
313 background: #444;
313 background: #444;
314 color: #eee;
314 color: #eee;
315 margin-top: 5px;
315 margin-top: 5px;
316 padding: 5px;
316 padding: 5px;
317 border-top: 1px solid #888;
317 border-top: 1px solid #888;
318 border-bottom: 1px solid #888;
318 border-bottom: 1px solid #888;
319 }
319 }
320
320
321 .image-mode-tab > label {
321 .image-mode-tab > label {
322 margin: 0 1ex;
322 margin: 0 1ex;
323 }
323 }
324
324
325 .image-mode-tab > label > input {
325 .image-mode-tab > label > input {
326 margin-right: .5ex;
326 margin-right: .5ex;
327 }
327 }
328
328
329 #posts-table {
329 #posts-table {
330 margin-top: 5px;
330 margin-top: 5px;
331 margin-bottom: 5px;
331 margin-bottom: 5px;
332 }
332 }
333
333
334 .tag_info > h2 {
334 .tag_info > h2 {
335 margin: 0;
335 margin: 0;
336 }
336 }
337
337
338 .post-info {
338 .post-info {
339 color: #ddd;
339 color: #ddd;
340 margin-bottom: 1ex;
340 margin-bottom: 1ex;
341 }
341 }
342
342
343 .moderator_info {
343 .moderator_info {
344 color: #e99d41;
344 color: #e99d41;
345 float: right;
345 float: right;
346 font-weight: bold;
346 font-weight: bold;
347 opacity: 0.4;
347 opacity: 0.4;
348 }
348 }
349
349
350 .moderator_info:hover {
350 .moderator_info:hover {
351 opacity: 1;
351 opacity: 1;
352 }
352 }
353
353
354 .refmap {
354 .refmap {
355 font-size: 0.9em;
355 font-size: 0.9em;
356 color: #ccc;
356 color: #ccc;
357 margin-top: 1em;
357 margin-top: 1em;
358 }
358 }
359
359
360 .fav {
360 .fav {
361 color: yellow;
361 color: yellow;
362 }
362 }
363
363
364 .not_fav {
364 .not_fav {
365 color: #ccc;
365 color: #ccc;
366 }
366 }
367
367
368 .role {
368 .role {
369 text-decoration: underline;
369 text-decoration: underline;
370 }
370 }
371
371
372 .form-email {
372 .form-email {
373 display: none;
373 display: none;
374 }
374 }
375
375
376 .bar-value {
376 .bar-value {
377 background: rgba(50, 55, 164, 0.45);
377 background: rgba(50, 55, 164, 0.45);
378 font-size: 0.9em;
378 font-size: 0.9em;
379 height: 1.5em;
379 height: 1.5em;
380 }
380 }
381
381
382 .bar-bg {
382 .bar-bg {
383 position: relative;
383 position: relative;
384 border-top: solid 1px #888;
384 border-top: solid 1px #888;
385 border-bottom: solid 1px #888;
385 border-bottom: solid 1px #888;
386 margin-top: 5px;
386 margin-top: 5px;
387 overflow: hidden;
387 overflow: hidden;
388 }
388 }
389
389
390 .bar-text {
390 .bar-text {
391 padding: 2px;
391 padding: 2px;
392 position: absolute;
392 position: absolute;
393 left: 0;
393 left: 0;
394 top: 0;
394 top: 0;
395 }
395 }
396
396
397 .page_link {
397 .page_link {
398 background: #444;
398 background: #444;
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 padding: 5px;
401 padding: 5px;
402 color: #eee;
402 color: #eee;
403 font-size: 2ex;
403 font-size: 2ex;
404 }
404 }
405
405
406 .skipped_replies {
406 .skipped_replies {
407 padding: 5px;
407 padding: 5px;
408 margin-left: 3ex;
408 margin-left: 3ex;
409 margin-right: 3ex;
409 margin-right: 3ex;
410 border-left: solid 1px #888;
410 border-left: solid 1px #888;
411 border-right: solid 1px #888;
411 border-right: solid 1px #888;
412 border-bottom: solid 1px #888;
412 border-bottom: solid 1px #888;
413 background: #000;
413 background: #000;
414 }
414 }
415
415
416 .current_page {
416 .current_page {
417 padding: 2px;
417 padding: 2px;
418 background-color: #afdcec;
418 background-color: #afdcec;
419 color: #000;
419 color: #000;
420 }
420 }
421
421
422 .current_mode {
422 .current_mode {
423 font-weight: bold;
423 font-weight: bold;
424 }
424 }
425
425
426 .gallery_image {
426 .gallery_image {
427 border: solid 1px;
427 border: solid 1px;
428 padding: 0.5ex;
428 padding: 0.5ex;
429 margin: 0.5ex;
429 margin: 0.5ex;
430 text-align: center;
430 text-align: center;
431 }
431 }
432
432
433 code {
433 code {
434 border: dashed 1px #ccc;
434 border: dashed 1px #ccc;
435 background: #111;
435 background: #111;
436 padding: 2px;
436 padding: 2px;
437 font-size: 1.2em;
437 font-size: 1.2em;
438 display: inline-block;
438 display: inline-block;
439 }
439 }
440
440
441 pre {
441 pre {
442 overflow: auto;
442 overflow: auto;
443 }
443 }
444
444
445 .img-full {
445 .img-full {
446 background: #222;
446 background: #222;
447 border: solid 1px white;
447 border: solid 1px white;
448 }
448 }
449
449
450 .tag_item {
450 .tag_item {
451 display: inline-block;
451 display: inline-block;
452 margin: 0.2ex;
452 margin: 0.2ex;
453 padding: 0.1ex;
453 padding: 0.1ex;
454 }
454 }
455
455
456 #id_models li {
456 #id_models li {
457 list-style: none;
457 list-style: none;
458 }
458 }
459
459
460 #id_q {
460 #id_q {
461 margin-left: 1ex;
461 margin-left: 1ex;
462 }
462 }
463
463
464 ul {
464 ul {
465 padding-left: 0px;
465 padding-left: 0px;
466 }
466 }
467
467
468 .quote-header {
468 .quote-header {
469 border-bottom: 2px solid #ddd;
469 border-bottom: 2px solid #ddd;
470 margin-bottom: 1ex;
470 margin-bottom: 1ex;
471 padding-bottom: .5ex;
471 padding-bottom: .5ex;
472 color: #ddd;
472 color: #ddd;
473 font-size: 1.2em;
473 font-size: 1.2em;
474 }
474 }
475
475
476 /* Reflink preview */
476 /* Reflink preview */
477 .post_preview {
477 .post_preview {
478 border-left: 1px solid #777;
478 border-left: 1px solid #777;
479 border-right: 1px solid #777;
479 border-right: 1px solid #777;
480 }
480 }
481
481
482 /* Code highlighter */
482 /* Code highlighter */
483 .hljs {
483 .hljs {
484 color: #fff;
484 color: #fff;
485 background: #000;
485 background: #000;
486 display: inline-block;
486 display: inline-block;
487 }
487 }
488
488
489 .hljs, .hljs-subst, .hljs-tag .hljs-title, .lisp .hljs-title, .clojure .hljs-built_in, .nginx .hljs-title {
489 .hljs, .hljs-subst, .hljs-tag .hljs-title, .lisp .hljs-title, .clojure .hljs-built_in, .nginx .hljs-title {
490 color: #fff;
490 color: #fff;
491 }
491 }
492
492
493 #up {
493 #up {
494 position: fixed;
494 position: fixed;
495 bottom: 5px;
495 bottom: 5px;
496 right: 5px;
496 right: 5px;
497 border: 1px solid #777;
497 border: 1px solid #777;
498 background: #000;
498 background: #000;
499 padding: 4px;
499 padding: 4px;
500 }
500 }
501
501
502 .user-cast {
502 .user-cast {
503 border: solid #ffffff 1px;
503 border: solid #ffffff 1px;
504 padding: .2ex;
504 padding: .2ex;
505 background: #152154;
505 background: #152154;
506 color: #fff;
506 color: #fff;
507 }
507 }
508
508
509 .highlight {
509 .highlight {
510 background-color: #050052;
510 background-color: #222;
511 }
511 }
General Comments 0
You need to be logged in to leave comments. Login now