style.css - stagit - static git page generator | |
git clone git://git.codemadness.org/stagit | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
style.css (1685B) | |
--- | |
1 body { | |
2 color: #000; | |
3 background-color: #fff; | |
4 font-family: monospace; | |
5 } | |
6 | |
7 h1, h2, h3, h4, h5, h6 { | |
8 font-size: 1em; | |
9 margin: 0; | |
10 } | |
11 | |
12 img, h1, h2 { | |
13 vertical-align: middle; | |
14 } | |
15 | |
16 img { | |
17 border: 0; | |
18 } | |
19 | |
20 a:target { | |
21 background-color: #ccc; | |
22 } | |
23 | |
24 a.d, | |
25 a.h, | |
26 a.i, | |
27 a.line { | |
28 text-decoration: none; | |
29 } | |
30 | |
31 #blob a { | |
32 color: #555; | |
33 } | |
34 | |
35 #blob a:hover { | |
36 color: blue; | |
37 text-decoration: none; | |
38 } | |
39 | |
40 table thead td { | |
41 font-weight: bold; | |
42 } | |
43 | |
44 table td { | |
45 padding: 0 0.4em; | |
46 } | |
47 | |
48 #content table td { | |
49 vertical-align: top; | |
50 white-space: nowrap; | |
51 } | |
52 | |
53 #branches tr:hover td, | |
54 #tags tr:hover td, | |
55 #index tr:hover td, | |
56 #log tr:hover td, | |
57 #files tr:hover td { | |
58 background-color: #eee; | |
59 } | |
60 | |
61 #index tr td:nth-child(2), | |
62 #tags tr td:nth-child(3), | |
63 #branches tr td:nth-child(3), | |
64 #log tr td:nth-child(2) { | |
65 white-space: normal; | |
66 } | |
67 | |
68 td.num { | |
69 text-align: right; | |
70 } | |
71 | |
72 .desc { | |
73 color: #555; | |
74 } | |
75 | |
76 hr { | |
77 border: 0; | |
78 border-top: 1px solid #555; | |
79 height: 1px; | |
80 } | |
81 | |
82 pre { | |
83 font-family: monospace; | |
84 } | |
85 | |
86 pre a.h { | |
87 color: #00a; | |
88 } | |
89 | |
90 .A, | |
91 span.i, | |
92 pre a.i { | |
93 color: #070; | |
94 } | |
95 | |
96 .D, | |
97 span.d, | |
98 pre a.d { | |
99 color: #e00; | |
100 } | |
101 | |
102 pre a.h:hover, | |
103 pre a.i:hover, | |
104 pre a.d:hover { | |
105 text-decoration: none; | |
106 } | |
107 | |
108 @media (prefers-color-scheme: dark) { | |
109 body { | |
110 background-color: #000; | |
111 color: #bdbdbd; | |
112 } | |
113 hr { | |
114 border-color: #222; | |
115 } | |
116 a { | |
117 color: #56c8ff; | |
118 } | |
119 a:target { | |
120 background-color: #222; | |
121 } | |
122 .desc { | |
123 color: #aaa; | |
124 } | |
125 #blob a { | |
126 color: #555; | |
127 } | |
128 #blob a:target { | |
129 color: #eee; | |
130 } | |
131 #blob a:hover { | |
132 color: #56c8ff; | |
133 } | |
134 pre a.h { | |
135 color: #00cdcd; | |
136 } | |
137 .A, | |
138 span.i, | |
139 pre a.i { | |
140 color: #00cd00; | |
141 } | |
142 .D, | |
143 span.d, | |
144 pre a.d { | |
145 color: #cd0000; | |
146 } | |
147 #branches tr:hover td, | |
148 #tags tr:hover td, | |
149 #index tr:hover td, | |
150 #log tr:hover td, | |
151 #files tr:hover td { | |
152 background-color: #111; | |
153 } | |
154 } |