diff options
Diffstat (limited to 'cgit.css')
-rw-r--r-- | cgit.css | 147 |
1 files changed, 53 insertions, 94 deletions
@@ -11,41 +11,67 @@ body { | |||
11 | padding: 4px; | 11 | padding: 4px; |
12 | } | 12 | } |
13 | 13 | ||
14 | a { | ||
15 | color: blue; | ||
16 | text-decoration: none; | ||
17 | } | ||
18 | |||
19 | a:hover { | ||
20 | text-decoration: underline; | ||
21 | } | ||
22 | |||
14 | table { | 23 | table { |
15 | border-collapse: collapse; | 24 | border-collapse: collapse; |
16 | } | 25 | } |
17 | 26 | ||
18 | h2 { | 27 | table#header { |
19 | font-size: 120%; | 28 | width: 100%; |
20 | font-weight: bold; | 29 | margin-bottom: 1em; |
21 | margin-top: 0em; | ||
22 | margin-bottom: 0.25em; | ||
23 | } | 30 | } |
24 | 31 | ||
25 | h3 { | 32 | table#header td.logo { |
26 | margin-top: 0em; | 33 | width: 96px; |
27 | font-size: 100%; | ||
28 | font-weight: normal; | ||
29 | } | 34 | } |
30 | 35 | ||
31 | h4 { | 36 | table#header td.main { |
32 | margin-top: 1.5em; | 37 | font-size: 200%; |
33 | margin-bottom: 0.1em; | ||
34 | font-size: 100%; | ||
35 | font-weight: bold; | ||
36 | } | 38 | } |
37 | 39 | ||
38 | a { | 40 | table#header td.sub { |
39 | color: #600; | 41 | color: #777; |
40 | text-decoration: none; | 42 | border-top: solid 1px #ccc; |
41 | } | 43 | } |
42 | 44 | ||
43 | a:hover { | 45 | table.tabs { |
44 | background-color: #ddd; | 46 | border-bottom: solid 2px #ccc; |
45 | text-decoration: none; | 47 | border-collapse: collapse; |
48 | margin-top: 2em; | ||
49 | margin-bottom: 1em; | ||
50 | width: 100%; | ||
51 | } | ||
52 | |||
53 | table.tabs td { | ||
54 | padding: 0px 0.5em; | ||
55 | } | ||
56 | |||
57 | table.tabs td a { | ||
58 | padding: 2px 1em; | ||
59 | color: #007; | ||
60 | } | ||
61 | |||
62 | table.tabs td a.active { | ||
63 | color: #000; | ||
64 | background-color: #ccc; | ||
46 | } | 65 | } |
47 | 66 | ||
67 | div.content { | ||
68 | margin: 0px; | ||
69 | padding: 1em; | ||
70 | } | ||
71 | |||
72 | |||
48 | table.list { | 73 | table.list { |
74 | width: 100%; | ||
49 | border: none; | 75 | border: none; |
50 | border-collapse: collapse; | 76 | border-collapse: collapse; |
51 | } | 77 | } |
@@ -55,7 +81,7 @@ table.list tr { | |||
55 | } | 81 | } |
56 | 82 | ||
57 | table.list tr:hover { | 83 | table.list tr:hover { |
58 | background: #f8f8f8; | 84 | background: #eee; |
59 | } | 85 | } |
60 | 86 | ||
61 | table.list tr.nohover:hover { | 87 | table.list tr.nohover:hover { |
@@ -63,8 +89,8 @@ table.list tr.nohover:hover { | |||
63 | } | 89 | } |
64 | 90 | ||
65 | table.list th { | 91 | table.list th { |
66 | font-weight: bold; | 92 | font-weight: normal; |
67 | border-bottom: solid 1px #777; | 93 | border-bottom: solid 1px #ccc; |
68 | padding: 0.1em 0.5em 0.1em 0.5em; | 94 | padding: 0.1em 0.5em 0.1em 0.5em; |
69 | vertical-align: baseline; | 95 | vertical-align: baseline; |
70 | } | 96 | } |
@@ -74,79 +100,12 @@ table.list td { | |||
74 | padding: 0.1em 0.5em 0.1em 0.5em; | 100 | padding: 0.1em 0.5em 0.1em 0.5em; |
75 | } | 101 | } |
76 | 102 | ||
77 | img { | 103 | table.list td a { |
78 | border: none; | 104 | color: black; |
79 | } | 105 | } |
80 | 106 | ||
81 | table#layout { | 107 | img { |
82 | border-collapse: collapse; | ||
83 | border: none; | 108 | border: none; |
84 | margin: 0px; | ||
85 | } | ||
86 | |||
87 | td#sidebar { | ||
88 | vertical-align: top; | ||
89 | width: 162px; | ||
90 | padding: 0px 0px 0px 0px; | ||
91 | margin: 0px; | ||
92 | } | ||
93 | |||
94 | td#sidebar table { | ||
95 | border-collapse: separate; | ||
96 | border-spacing: 0px; | ||
97 | margin: 0px; | ||
98 | padding: 0px; | ||
99 | background-color: #ccc; | ||
100 | } | ||
101 | |||
102 | td#sidebar table.sidebar td.sidebar { | ||
103 | padding: 4px; | ||
104 | border-top: solid 1px #eee; | ||
105 | border-left: solid 1px #eee; | ||
106 | border-right: solid 1px #aaa; | ||
107 | border-bottom: solid 1px #aaa; | ||
108 | } | ||
109 | |||
110 | div#logo { | ||
111 | margin: 0px; | ||
112 | padding: 4px 0px 4px 0px; | ||
113 | text-align: center; | ||
114 | background-color: #ccc; | ||
115 | border-top: solid 1px #eee; | ||
116 | border-left: solid 1px #eee; | ||
117 | border-right: solid 1px #aaa; | ||
118 | border-bottom: solid 1px #aaa; | ||
119 | } | ||
120 | |||
121 | td#sidebar h1 { | ||
122 | font-size: 10pt; | ||
123 | font-weight: bold; | ||
124 | margin: 8px 0px 0px 0px; | ||
125 | } | ||
126 | |||
127 | td#sidebar h1.first { | ||
128 | margin-top: 0px; | ||
129 | } | ||
130 | |||
131 | td#sidebar a.menu { | ||
132 | display: block; | ||
133 | background-color: #ccc; | ||
134 | padding: 0.1em 0.5em; | ||
135 | text-decoration: none; | ||
136 | } | ||
137 | |||
138 | td#sidebar a.menu:hover { | ||
139 | background-color: #bbb; | ||
140 | text-decoration: none; | ||
141 | } | ||
142 | |||
143 | td#sidebar select { | ||
144 | width: 100%; | ||
145 | margin: 2px 0px 0px 0px; | ||
146 | } | ||
147 | |||
148 | td#sidebar form { | ||
149 | text-align: right; | ||
150 | } | 109 | } |
151 | 110 | ||
152 | input#switch-btn { | 111 | input#switch-btn { |
@@ -357,7 +316,7 @@ table.diff td { | |||
357 | table.diff td div.head { | 316 | table.diff td div.head { |
358 | font-weight: bold; | 317 | font-weight: bold; |
359 | margin-top: 1em; | 318 | margin-top: 1em; |
360 | background-color: #eee; | 319 | color: black; |
361 | } | 320 | } |
362 | 321 | ||
363 | table.diff td div.hunk { | 322 | table.diff td div.hunk { |