-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkati_dark.css
845 lines (728 loc) · 18 KB
/
kati_dark.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
/* -------- Common Settings Among Themes -------- */
/*
TODO: Share common settings with other themes.
FSWiki stores user defined styles in ./config/usercss.dat.
'@import' is not recommended in terms of the processing speed.
@import url('../resources/common.css');
*/
/***** Common Style *****/
/*** Auto line-feed in code blocks in CSS level 3 ***/
/* Styles for obsolete browsers are available at https://bowz.info/409 and
https://fswiki.osdn.jp/cgi-bin/wiki.cgi?page=BBS%2D%BB%A8%C3%CC%B7%C7%BC%A8%C8%C4%2F284
in Japanese.
*/
pre {
white-space: pre-wrap;
word-wrap: break-word;
}
/*** To fit textarea width for edit with browser ***/
textarea.edit {
width: 100% !important;
}
/*** For plugin/markdown/Markdown.pm ***/
/* Cancel the setting of 'div.section p' in item lists.
some versions of Markdown discount insert p tags to the items
right before and after blank lines in an item list.
*/
div.section li p{
margin : 0em 0px 0em 0px;
text-indent:0em;
}
/***** Settings for Content Security Policy (CSP) *****/
/*** For plugin/markdown/Markdown.pm ***/
/* Text alignment in a markdown table */
/* TODO: Modify Markdown/Discount to output the following
non-inline-style <th> and <td> tags:
<th type="text/css" class="text-left">
<th type="text/css" class="text-right">
<th type="text/css" class="text-center">
<td type="text/css" class="text-left">
<td type="text/css" class="text-right">
<td type="text/css" class="text-center">
instead of the following inline-styles,
which are not desirable in the sense of CSP:
<th style="text-align:left;">
<th style="text-align:right;">
<th style="text-align:center;">
<td style="text-align:left;">
<td style="text-align:right;">
<td style="text-align:center;">
A compromised alternative is to allow 'unsafe-hashes'
in CSP style-src setting, cf.
https://github.com/KazKobara/dockerfile_fswiki_local/blob/main/data/httpd-security-fswiki-local.conf.
*/
/* Class selectors for the above modification. */
.text-left {
text-align: left !important;
}
.text-right {
text-align: right !important;
}
/* https://raw.githubusercontent.com/twbs/bootstrap/main/dist/css/bootstrap.css */
.text-center {
text-align: center !important;
}
/* Non-inline styles, which are used securely in markdown blocks
instead of inline styles ignored by default CSP settings. */
/* Color */
red {color:red;} /* type selector */
.red {color:red;} /* class selector */
orange {color:orange;} /* type selector */
.orange {color:orange;} /* class selector */
yellow {color:yellow;} /* type selector */
.yellow {color:yellow;} /* class selector */
green {color:green;} /* type selector */
.green {color:green;} /* class selector */
cyan {color:cyan;} /* type selector */
.cyan {color:cyan;} /* class selector */
blue {color:blue;} /* type selector */
.blue {color:blue;} /* class selector */
indigo {color:indigo;} /* type selector */
.indigo {color:indigo;} /* class selector */
violet {color:violet;} /* type selector */
.violet {color:violet;} /* class selector */
.highlight {background-color:yellow !important;}
.darkhighlight {background-color:Maroon !important;}
/* -------- Theme Specific Settings -------- */
/* kati_dark.css v0.0.1 */
/* ーーーーーー全体の設定ーーーーーー */
body {
/* background-color: lightgray; */
background-color: black;
color : white;
font-size : 14px;
line-height:20px;
margin : 0px;
padding: 0px;
}
input,textarea{
font-family:"Osaka",sans-serif;
font-size : 14px;
}
input{
background-color: #383838;
color : white;
}
textarea{
background-color: #101010;
color : #f0fff0;
}
div.section img{
margin-top : 3px;
margin-bottom :0px;
margin-left : 35px;
padding: 0px;
}
iframe{
margin : 0px;
padding: 0px;
border : 0px;
}
div.section p{
margin : 1em 10px 1em 35px;
text-indent:1em;
}
/* リストスタイル */
div.sidebar ul li {
font-family:"Osaka",sans-serif;
list-style-image: url('./list_a.gif')
}
ul li {
font-family:"Osaka",sans-serif;
/* list-style-image: url('./list_a.gif') */
}
ul li ul li {
font-family:sans-serif;
/* list-style-image: url('./list_b.gif') */
}
ul li ul li ul li {
font-family:sans-serif;
/* list-style-image: url('./list_c.gif') */
}
div.section ul,div.section ol{
margin : 0.3em 0.3em 0.3em 35px;
}
div.section ul li,div.section ol li {
margin-top : 0.1em;
margin-bottom : 0.1em;
}
/* リンクの設定 */
A:link,A:visited {
/* color :#422100; */
color :#ff0000;
text-decoration : underline;
}
A:hover {
color : #fe3670;
text-decoration : underline;
background-color: #fff4ab;
}
A:active {
color : #FFFF00;
text-decoration : none;
}
/* ーーーーーー全体の設定 終了ーーーーーー */
/* ーーーーーーメニューの設定開始ーーーーーー */
/* メニューのサイズ */
div.adminmenu {
background-color: lightgray;
background-repeat: no-repeat;
font-family:"Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W8","Osaka",sans-serif;
font-size : 12px;
line-height : 26px;
font-weight : bold;
text-align: right;
height : 26px;
padding-right : 2px;
margin-left: 205px;
}
/* メニューの装飾 */
/* リンク */
div.adminmenu A{
padding : 2px 7px;
font-weight : bold;
text-decoration : none;
color : black;
text-shadow: #3CB371 0px 0px 10px;
}
div.adminmenu A:link,div.adminmenu A:visited {
text-decoration : none;
/* color: white; */
font-weight : bold;
color : black;
text-shadow: #3CB371 0px 0px 10px;
}
/* カーソルを上に持ってきた時リンク */
div.adminmenu A:hover {
text-decoration : none;
font-weight : bold;
/*
color : #FFFFFF;
background-color: #3CB371;
*/
color : black;
text-shadow: #3CB371 0px 0px 10px;
}
/* ーーーーーーメニューの設定終了ーーーーーー */
/* ーーーーーー headerの設定 ーーーーーー */
div.header {
background-color: #f8f5f1;
padding: 1px 18px;
font-size : 11px;
line-height:13px;
margin-top: 0px;
}
div.header li,div.header li A:link,div.header li A:visited{
text-decoration : none;
}
div.header li A:hover{
text-decoration : underline;
}
div.header ul li{
list-style-image: url('./go_back_1.gif')
}
div.header ul li ul li{
list-style-image: url('./go_back_2.gif')
}
div.header ul li ul li ul li{
list-style-image: url('./go_back_3.gif')
}
/* ーーーーーー headerの設定終了 ーーーーーー */
/* ーーーーーー footer設定 ーーーーーー */
.footer {
margin-top:0px;
margin-right:3px;
margin-bottom:0px;
text-align : right;
font-size : 10px;
font-style : italic;
background-position: left bottom;
background-repeat: no-repeat;
/* background-color: white; */
background-color: dimgray;
height: 29px;
}
.footer A {
text-decoration : none;
}
/* ーーーーーー footer設定終了 ーーーーーー */
hr {
border-top : #3CB371 2px solid;
color : #3CB371;
}
/* ーーーーーー □囲み文字 ーーーーーー */
pre {
border-radius: 10px;
/* -moz-border-radius: 10px; */
border : #D3D3D3 1px solid;
/*
background-color: #f8f5f1;
background-color: dimgray;
background-color: black;
*/
background-color: #101010;
margin : 10px 20px 10px 35px;
padding: 5px 15px 5px 15px;
font-size : 13px;
}
/* ーーーーーー 引用文 ーーーーーー */
blockquote {
border-radius: 10px;
/* -moz-border-radius: 10px; */
border : #d4d4d4 1px dotted;
/*
background-color: #f8f5f1;
background-color: dimgray;
background-color: black;
*/
background-color: #101010;
padding: 5px 15px 5px 15px;
margin : 10px 20px 10px 35px;
font-size : 13px;
font-style : italic;
}
/* ーーーーーー見出しの設定開始ーーーーーー /
/* H1 */
h1{
font-family:"Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W8","Osaka",sans-serif;
font-weight : bold;
text-align : right;
font-size : 30px;
line-height:46px;
letter-spacing:2px;
border-bottom : #c8c9b5 6px solid;
margin-left: 205px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
padding-right : 18px;
background-image: url(./himg2.jpg);
background-repeat: no-repeat;
/*
color : black;
text-shadow: #3CB371 0px 0px 10px;
*/
color : white;
text-shadow: black 0px 0px 10px;
}
h1 A:link,h1 A:visited{
font-family:"Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W8","Osaka",sans-serif;
/* color : black; */
color : white;
text-decoration : none;
/* text-shadow: #3CB371 0px 0px 10px; */
text-shadow: black 0px 0px 10px;
}
h1 A:hover {
font-family:"Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W8","Osaka",sans-serif;
font-weight : bold;
color : #fe3670;
text-shadow: yellow 0px 0px 10px;
}
/* H2 */
h2 {
font-family:"Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W8","Osaka",sans-serif;
font-weight : bold;
font-size : 20px;
line-height :20px;
letter-spacing:3px;
color : White;
padding-left : 35px;
padding-top : 4px;
padding-bottom : 4px;
/* background: #3CB371 url(./slc1.gif) no-repeat left top; */
background: green url(./slc1.gif) no-repeat left top;
margin-top:30px;
margin-bottom:3px;
}
h2 A:link,h2 A:visited {
font-family:"Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W8","Osaka",sans-serif;
font-weight : bold;
color : khaki;
text-decoration : none;
}
h2 A:hover {
font-family:"Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W8","Osaka",sans-serif;
font-weight : bold;
color : #fe3670;
text-decoration : none;
}
/* H3 */
h3 {
font-family:"Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W8","Osaka",sans-serif;
font-weight : bold;
color : #3CB371;
font-size : 17px;
line-height :25px;
letter-spacing:2px;
/* background-color: #f8f5f1; */
background-color: black;
border-top : green 2px solid;
border-left : green 32px solid;
padding-left : 3px;
/*
text-shadow: green 2px 2px 3px;
text-shadow: white 2px 2px 3px;
*/
margin-top:15px;
margin-bottom:5px;
text-decoration : none;
}
h3 A:link,h3 A:visited{
font-family:"Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W8","Osaka",sans-serif;
font-weight : bold;
/* color: black; */
color: royalblue;
text-decoration : none;
}
h3 A:hover {
font-family:"Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W8","Osaka",sans-serif;
font-weight : bold;
color : #fe3670;
text-decoration : none;
}
/* H4 */
h4 {
font-family:"Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W8","Osaka",sans-serif;
font-weight : bold;
/* color : black; */
color : #3CB371;
font-size : 15px;
line-height :23px;
/* background-color: #f8f5f1; */
background-color: black;
border-left : green 32px solid;
padding-left : 3px;
/* text-shadow: #3CB371 2px 2px 3px; */
margin-top:7px;
margin-bottom:5px;
}
h4 A:link,h4 A:visited{
font-family:"Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W8","Osaka",sans-serif;
font-weight : bold;
/* color: lightskyblue; */
color: royalblue;
/* color: blue; */
text-decoration : none;
}
h4 A:hover {
font-family:"Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W8","Osaka",sans-serif;
font-weight : bold;
color : #fe3670;
text-decoration : none;
}
/* ーーーーーー見出しの設定終了ーーーーーー */
/* ーーーーーーテーブル設定開始 ーーーーーー */
table {
margin : 10px 10px 10px 35px;
border-collapse: collapse;
border-spacing: 0;
empty-cells: show;
border : #D3D3D3 1px solid;
}
th {
padding-left : 20px;
padding-right : 20px;
/* background-color : #f8f5f1; */
background-color: dimgray;
font-size : 11px;
line-height :11px;
padding :5px;
border : #D3D3D3 1px solid;
}
td {
padding-left : 20px;
padding-right : 20px;
font-size : 12px;
line-height :12px;
padding :5px 10px;
border : #D3D3D3 1px solid;
}
/* ーーーーーーテーブル設定終了 ーーーーーー */
/* ーーーーーー parteditプラグイン ーーーーーー */
div.partedit {
font-family:"Osaka",sans-serif;
font-size : 12px;
line-height :12px;
margin-top:-2.3em;
text-align : right;
padding : 3px 15px 3px 15px;
}
div.partedit A{
text-decoration : none;
}
/* ーーーーーー parteditプラグイン終了 ーーーーーー */
dl {
margin : 0.5em 10px 0.5em 35px;
}
dt {
border-bottom : #696969 1px dotted;
font-weight : bold;
font-size : 14px;
line-height :18px;
}
dd {
margin-left : 20px;
line-height :24px;
}
div.main {
margin-left: 205px;
margin-right: 1px;
}
/* ーーーーーー footer 設定開始 ーーーーーー */
div.comment {
padding : 4px 16px;
margin-top : 10px;
margin-bottom : 10px;
font-size : 12px;
/* background-color: #f8f5f1; */
background-color: dimgray;
}
div.comment p {
margin-top : 5px;
margin-bottom : 5px;
}
div.comment p A{
color : black;
text-decoration : none;
}
div.comment p A:hover {
color : #fe3670;
text-decoration : underline;
}
div.comment h3 {
font-family:sans-serif;
font-size : 12px;
line-height :18px;
background-color: lightgray;
/* background-color: white; */
border-top : #c8c9b5 2px solid;
border-right : #c8c9b5 15px solid;
border-bottom : #c8c9b5 2px solid;
border-left : #c8c9b5 15px solid;
padding-left : 3px;
text-shadow: #696969 2px 2px 3px;
margin:6px 0px;
}
div.comment h3 A:link {
color : black;
}
/* ーーーーーー footer 設定終了 ーーーーーー */
/* ーーーーーー サイドバー(メニュー)設定開始 ーーーーーー */
/* サイドバー(メニュー)設定 */
div.sidebar {
overflow: hidden;
position : absolute;
top : 0px;
left : 1px;
width : 190px;
word-break : break-all;
/* background-color: #f8f5f1; */
background-color: #101010;
}
/* サイドバー(メニュー)見出し設定 */
div.sidebar h2,div.sidebar h3,div.sidebar h4{
font-family:"Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W8","Osaka",sans-serif;
font-size : 14px;
line-height :20px;
margin:0px;
/*
background-color : #c8c9b5;
background-color : green;
*/
background-color : khaki;
background-image: url(./sid_men.jpg);
background-repeat: no-repeat;
border:0px;
padding-top: 4px;
padding-bottom: 2px;
padding-left : 15px;
letter-spacing:1px;
color : black;
}
div.sidebar img{
margin: 0px 0px 5px 5px;
padding : 0px;
}
div.g4ser{
margin : 0 0 -2em 0;
padding : 0;
border: 0;
}
/* サイドバー(メニュー)リスト設定 */
div.sidebar ul,div.sidebar li {
font-family:"Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W8","Osaka",sans-serif;
font-size : 11px;
line-height :15px;
padding-left : 0px;
margin-left : 10px;
list-style-type: none;
text-decoration : none;
}
div.sidebar ul{
margin-top : 0;
margin-bottom : 0.5em;
}
div.sidebar strong {
color : #3CB371;
padding-left : 17px;
font-size : 10px;
line-height :10px;
letter-spacing:2px;
}
/*
div.sidebar li A{
padding-left : 0px;
border-left : #f8f5f1 17px solid;
list-style-type: none;
text-decoration : none;
}
div.sidebar li A:hover{
padding-left : 0px;
border-left : #3CB371 17px solid;
list-style-type: none;
text-decoration : none;
}
div.sidebar li A:visited {
list-style-type: none;
text-decoration : none;
}
div.sidebar ul li ul li A{
padding-left : 15px;
border-left : #f8f5f1 17px solid;
list-style-type: none;
text-decoration : none;
}
div.sidebar ul li ul li A:hover{
padding-left : 15px;
border-left : #3CB371 17px solid;
list-style-type: none;
text-decoration : none;
}
div.sidebar ul li ul li A:visited {
list-style-type: none;
text-decoration : none;
}
div.sidebar ul li ul li ul li A{
padding-left : 30px;
border-left : #f8f5f1 17px solid;
list-style-type: none;
text-decoration : none;
}
div.sidebar ul li ul li ul li A:hover{
padding-left : 30px;
border-left : #3CB371 17px solid;
list-style-type: none;
text-decoration : none;
}
div.sidebar ul li ul li ul li A:visited {
list-style-type: none;
text-decoration : none;
}
*/
/* 検索padding設定 */
div.sidebar form {
padding-left : 5px;
}
div.sidebar p,div.sidebar EMBED {
padding : 0px;
margin : 0px;
}
/* 一行コメント */
div.linecom {
margin-top: 0px;
margin-left: 35px;
padding : 5px;
background-color: #c8c9b5;
}
/* calendar plugin */
.calendar {
border-collapse: collapse;
border-spacing: 0;
empty-cells: show;
border : 1px #d3d3d3 solid;
width : 798px;
height:500px;
padding: 0px;
text-align: center;
margin-left: auto;
margin-right: auto;
}
.calendar A {
text-decoration : none;
}
table.calendar th {
height: 24px;
font-size: 14px;
line-height :14px;
padding: 5px;
}
table.calendar tr {
border-spacing: 0px;
border : 1px #d3d3d3 solid;
font-size: 8px;
line-height :12px;
margin: 0px;
padding: 0px;
}
table.calendar td {
border-spacing: 0;
border : 1px #d3d3d3 solid;
/* background-color : #f8f5f1; */
background-color : #dadada;
font-size: 14px;
line-height :14px;
margin: 0px;
padding: 2px;
text-align: center;
width : 114px;
}
table.calendar td.calendar-prev-month,
table.calendar td.calendar-current-month,
table.calendar td.calendar-next-month,
table.calendar td.calendar-sunday,
table.calendar td.calendar-saturday{
background-color : #dadada;
}
table.calendar td.calendar-weekday{
/* background-color : white; */
background-color : #dadada;
}
.calendar-sunday {
color: #f00;
}
.calendar-saturday {
color: #00f;
}
.calendar-weekday {
color: #000;
}
table.calendar td.have A {
font-weight : bold;
color: #fe3670;
}
table.calendar td.have{
/* background-color : white; */
background-color : #dadada;
}
table.calendar td.today{
background-color : #98FB98;
}
.calendar-prev-month, .calendar-current-month, .calendar-next-month,
.calendar-sunday, .calendar-weekday, .calendar-saturday {
background-color : #D3D3D3;
}
/* Menu用 */
div.sidebar .calendar{
width : 190px;
height : auto;
}
/* プリント設定 */
@media print {
div.header,div.adminmenu,div.footer,div.form,div.sidebar,div.partedit,div.comment,form {display:none;}
div.day,div.body{border:none;}
div.main{margin-left: 0%;}
h1,h1 A:link,h1 A:visited,h1 A:hover {padding-left: 0px; text-shadow: black 0px 0px 0.2em;}
h2,h3 { font-size: medium; }
a { text-decoration: none; }
}