summaryrefslogtreecommitdiffabout
path: root/cgit.css
authorLars Hjemli <hjemli@gmail.com>2008-04-12 13:53:31 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2008-04-12 18:00:27 (UTC)
commitf135569b2be3fb1816f802f9a162b3743b735d1c (patch) (unidiff)
tree240917f3d213ea255c34db77af4e1cdfec950264 /cgit.css
parent4a842288260a0b0c4a3d4032d441f7fd2afee699 (diff)
downloadcgit-f135569b2be3fb1816f802f9a162b3743b735d1c.zip
cgit-f135569b2be3fb1816f802f9a162b3743b735d1c.tar.gz
cgit-f135569b2be3fb1816f802f9a162b3743b735d1c.tar.bz2
Replace sidebar/logo
This replaces the sidebar with a more 'common' header layout and also updates the logo. Not quite finished yet, though. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.css') (more/less context) (show whitespace changes)
-rw-r--r--cgit.css147
1 files changed, 53 insertions, 94 deletions
diff --git a/cgit.css b/cgit.css
index 17c2712..67cf48e 100644
--- a/cgit.css
+++ b/cgit.css
@@ -11,142 +11,101 @@ body {
11 padding: 4px; 11 padding: 4px;
12} 12}
13 13
14table {
15 border-collapse: collapse;
16}
17
18h2 {
19 font-size: 120%;
20 font-weight: bold;
21 margin-top: 0em;
22 margin-bottom: 0.25em;
23}
24
25h3 {
26 margin-top: 0em;
27 font-size: 100%;
28 font-weight: normal;
29}
30
31h4 {
32 margin-top: 1.5em;
33 margin-bottom: 0.1em;
34 font-size: 100%;
35 font-weight: bold;
36}
37
38a { 14a {
39 color: #600; 15 color: blue;
40 text-decoration: none; 16 text-decoration: none;
41} 17}
42 18
43a:hover { 19a:hover {
44 background-color: #ddd; 20 text-decoration: underline;
45 text-decoration: none;
46} 21}
47 22
48table.list { 23table {
49 border: none;
50 border-collapse: collapse; 24 border-collapse: collapse;
51} 25}
52 26
53table.list tr { 27table#header {
54 background: white; 28 width: 100%;
29 margin-bottom: 1em;
55} 30}
56 31
57table.list tr:hover { 32table#header td.logo {
58 background: #f8f8f8; 33 width: 96px;
59} 34}
60 35
61table.list tr.nohover:hover { 36table#header td.main {
62 background: white; 37 font-size: 200%;
63} 38}
64 39
65table.list th { 40table#header td.sub {
66 font-weight: bold; 41 color: #777;
67 border-bottom: solid 1px #777; 42 border-top: solid 1px #ccc;
68 padding: 0.1em 0.5em 0.1em 0.5em;
69 vertical-align: baseline;
70} 43}
71 44
72table.list td { 45table.tabs {
73 border: none; 46 border-bottom: solid 2px #ccc;
74 padding: 0.1em 0.5em 0.1em 0.5em; 47 border-collapse: collapse;
48 margin-top: 2em;
49 margin-bottom: 1em;
50 width: 100%;
75} 51}
76 52
77img { 53table.tabs td {
78 border: none; 54 padding: 0px 0.5em;
79} 55}
80 56
81table#layout { 57table.tabs td a {
82 border-collapse: collapse; 58 padding: 2px 1em;
83 border: none; 59 color: #007;
84 margin: 0px;
85} 60}
86 61
87td#sidebar { 62table.tabs td a.active {
88 vertical-align: top; 63 color: #000;
89 width: 162px; 64 background-color: #ccc;
90 padding: 0px 0px 0px 0px;
91 margin: 0px;
92} 65}
93 66
94td#sidebar table { 67div.content {
95 border-collapse: separate;
96 border-spacing: 0px;
97 margin: 0px; 68 margin: 0px;
98 padding: 0px; 69 padding: 1em;
99 background-color: #ccc;
100} 70}
101 71
102td#sidebar table.sidebar td.sidebar { 72
103 padding: 4px; 73table.list {
104 border-top: solid 1px #eee; 74 width: 100%;
105 border-left: solid 1px #eee; 75 border: none;
106 border-right: solid 1px #aaa; 76 border-collapse: collapse;
107 border-bottom: solid 1px #aaa;
108} 77}
109 78
110div#logo { 79table.list tr {
111 margin: 0px; 80 background: white;
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} 81}
120 82
121td#sidebar h1 { 83table.list tr:hover {
122 font-size: 10pt; 84 background: #eee;
123 font-weight: bold;
124 margin: 8px 0px 0px 0px;
125} 85}
126 86
127td#sidebar h1.first { 87table.list tr.nohover:hover {
128 margin-top: 0px; 88 background: white;
129} 89}
130 90
131td#sidebar a.menu { 91table.list th {
132 display: block; 92 font-weight: normal;
133 background-color: #ccc; 93 border-bottom: solid 1px #ccc;
134 padding: 0.1em 0.5em; 94 padding: 0.1em 0.5em 0.1em 0.5em;
135 text-decoration: none; 95 vertical-align: baseline;
136} 96}
137 97
138td#sidebar a.menu:hover { 98table.list td {
139 background-color: #bbb; 99 border: none;
140 text-decoration: none; 100 padding: 0.1em 0.5em 0.1em 0.5em;
141} 101}
142 102
143td#sidebar select { 103table.list td a {
144 width: 100%; 104 color: black;
145 margin: 2px 0px 0px 0px;
146} 105}
147 106
148td#sidebar form { 107img {
149 text-align: right; 108 border: none;
150} 109}
151 110
152input#switch-btn { 111input#switch-btn {
@@ -357,7 +316,7 @@ table.diff td {
357table.diff td div.head { 316table.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
363table.diff td div.hunk { 322table.diff td div.hunk {