diff options
Diffstat (limited to 'cgit.css')
-rw-r--r-- | cgit.css | 51 |
1 files changed, 43 insertions, 8 deletions
@@ -3,7 +3,7 @@ body { | |||
3 | font-size: normal; | 3 | font-size: normal; |
4 | background: white; | 4 | background: white; |
5 | padding: 0em; | 5 | padding: 0em; |
6 | margin: 0.5em; | 6 | margin: 0.5em 1em; |
7 | } | 7 | } |
8 | 8 | ||
9 | 9 | ||
@@ -50,16 +50,19 @@ img { | |||
50 | 50 | ||
51 | 51 | ||
52 | div#header { | 52 | div#header { |
53 | background-color: #ddd; | 53 | background-color: #eee; |
54 | padding: 0.25em 0.25em 0.25em 0.5em; | 54 | padding: 0.25em 0.25em 0.25em 0.5em; |
55 | font-size: 150%; | 55 | font-size: 150%; |
56 | font-weight: bold; | 56 | font-weight: bold; |
57 | border: solid 1px #aaa; | 57 | border: solid 1px #ccc; |
58 | vertical-align: middle; | 58 | vertical-align: middle; |
59 | } | 59 | } |
60 | div#header img#logo { | 60 | div#header img#logo { |
61 | float: right; | 61 | float: right; |
62 | } | 62 | } |
63 | div#header a { | ||
64 | color: black; | ||
65 | } | ||
63 | 66 | ||
64 | div#content { | 67 | div#content { |
65 | margin: 0.5em 0.5em; | 68 | margin: 0.5em 0.5em; |
@@ -97,8 +100,7 @@ table.log td { | |||
97 | 100 | ||
98 | table.commit-info { | 101 | table.commit-info { |
99 | border-collapse: collapse; | 102 | border-collapse: collapse; |
100 | margin-top: 1em; | 103 | margin-top: 1.5em; |
101 | |||
102 | } | 104 | } |
103 | table.commit-info th { | 105 | table.commit-info th { |
104 | text-align: left; | 106 | text-align: left; |
@@ -111,14 +113,47 @@ table.commit-info td { | |||
111 | } | 113 | } |
112 | div.commit-subject { | 114 | div.commit-subject { |
113 | font-weight: bold; | 115 | font-weight: bold; |
114 | font-size: 110%; | 116 | font-size: 125%; |
115 | margin: 1em 0em 1em; | 117 | margin: 1.5em 0em 0.5em 0em; |
118 | padding: 0em; | ||
116 | } | 119 | } |
117 | div.commit-msg { | 120 | div.commit-msg { |
118 | white-space: pre; | 121 | white-space: pre; |
119 | font-family: courier; | 122 | font-family: monospace; |
123 | } | ||
124 | table.diffstat { | ||
125 | border-collapse: collapse; | ||
126 | margin-top: 1.5em; | ||
127 | } | ||
128 | table.diffstat th { | ||
129 | font-weight: normal; | ||
130 | text-align: left; | ||
131 | text-decoration: underline; | ||
132 | padding: 0.1em 1em 0.1em 0.1em; | ||
120 | font-size: 100%; | 133 | font-size: 100%; |
121 | } | 134 | } |
135 | table.diffstat td { | ||
136 | padding: 0.1em 1em 0.1em 0.1em; | ||
137 | font-size: 100%; | ||
138 | } | ||
139 | table.diffstat td span.modechange { | ||
140 | padding-left: 1em; | ||
141 | color: red; | ||
142 | } | ||
143 | table.diffstat td.add a { | ||
144 | color: green; | ||
145 | } | ||
146 | table.diffstat td.del a { | ||
147 | color: red; | ||
148 | } | ||
149 | table.diffstat td.upd a { | ||
150 | color: blue; | ||
151 | } | ||
152 | table.diffstat td.summary { | ||
153 | /* border-top: solid 1px black; */ | ||
154 | color: #888; | ||
155 | padding-top: 0.5em; | ||
156 | } | ||
122 | .sha1 { | 157 | .sha1 { |
123 | font-family: courier; | 158 | font-family: courier; |
124 | font-size: 90%; | 159 | font-size: 90%; |