diff options
Diffstat (limited to 'cgit.css')
-rw-r--r-- | cgit.css | 64 |
1 files changed, 34 insertions, 30 deletions
diff --git a/cgit.css b/cgit.css index 1b2e9d6..17c2712 100644 --- a/cgit.css +++ b/cgit.css | |||
@@ -8,7 +8,7 @@ body { | |||
8 | font-size: 10pt; | 8 | font-size: 10pt; |
9 | color: #333; | 9 | color: #333; |
10 | background: white; | 10 | background: white; |
11 | padding-left: 4px; | 11 | padding: 4px; |
12 | } | 12 | } |
13 | 13 | ||
14 | table { | 14 | table { |
@@ -78,29 +78,39 @@ img { | |||
78 | border: none; | 78 | border: none; |
79 | } | 79 | } |
80 | 80 | ||
81 | div#sidebar { | 81 | table#layout { |
82 | border-collapse: collapse; | ||
83 | border: none; | ||
84 | margin: 0px; | ||
85 | } | ||
86 | |||
87 | td#sidebar { | ||
82 | vertical-align: top; | 88 | vertical-align: top; |
83 | width: 162px; | 89 | width: 162px; |
84 | padding: 0px 0px 0px 0px; | 90 | padding: 0px 0px 0px 0px; |
85 | margin: 4px; | 91 | margin: 0px; |
86 | float: left; | ||
87 | } | 92 | } |
88 | 93 | ||
89 | div#logo { | 94 | td#sidebar table { |
95 | border-collapse: separate; | ||
96 | border-spacing: 0px; | ||
90 | margin: 0px; | 97 | margin: 0px; |
91 | padding: 4px 0px 4px 0px; | 98 | padding: 0px; |
92 | text-align: center; | ||
93 | background-color: #ccc; | 99 | background-color: #ccc; |
100 | } | ||
101 | |||
102 | td#sidebar table.sidebar td.sidebar { | ||
103 | padding: 4px; | ||
94 | border-top: solid 1px #eee; | 104 | border-top: solid 1px #eee; |
95 | border-left: solid 1px #eee; | 105 | border-left: solid 1px #eee; |
96 | border-right: solid 1px #aaa; | 106 | border-right: solid 1px #aaa; |
97 | border-bottom: solid 1px #aaa; | 107 | border-bottom: solid 1px #aaa; |
98 | } | 108 | } |
99 | 109 | ||
100 | div#sidebar div.infobox { | 110 | div#logo { |
101 | margin: 0px 0px 0px 0px; | 111 | margin: 0px; |
102 | padding: 0.5em; | 112 | padding: 4px 0px 4px 0px; |
103 | text-align: left; | 113 | text-align: center; |
104 | background-color: #ccc; | 114 | background-color: #ccc; |
105 | border-top: solid 1px #eee; | 115 | border-top: solid 1px #eee; |
106 | border-left: solid 1px #eee; | 116 | border-left: solid 1px #eee; |
@@ -108,50 +118,44 @@ div#sidebar div.infobox { | |||
108 | border-bottom: solid 1px #aaa; | 118 | border-bottom: solid 1px #aaa; |
109 | } | 119 | } |
110 | 120 | ||
111 | div#sidebar div.infobox h1 { | 121 | td#sidebar h1 { |
112 | font-size: 11pt; | 122 | font-size: 10pt; |
113 | font-weight: bold; | 123 | font-weight: bold; |
114 | margin: 0px; | 124 | margin: 8px 0px 0px 0px; |
115 | } | 125 | } |
116 | 126 | ||
117 | div#sidebar div.infobox a.menu { | 127 | td#sidebar h1.first { |
128 | margin-top: 0px; | ||
129 | } | ||
130 | |||
131 | td#sidebar a.menu { | ||
118 | display: block; | 132 | display: block; |
119 | background-color: #ccc; | 133 | background-color: #ccc; |
120 | padding: 0.1em 0.5em; | 134 | padding: 0.1em 0.5em; |
121 | text-decoration: none; | 135 | text-decoration: none; |
122 | } | 136 | } |
123 | 137 | ||
124 | div#sidebar div.infobox a.menu:hover { | 138 | td#sidebar a.menu:hover { |
125 | background-color: #bbb; | 139 | background-color: #bbb; |
126 | text-decoration: none; | 140 | text-decoration: none; |
127 | } | 141 | } |
128 | 142 | ||
129 | div#sidebar div.infobox select { | 143 | td#sidebar select { |
130 | width: 100%; | 144 | width: 100%; |
131 | border: solid 1px #aaa; | ||
132 | background-color: #bbb; | ||
133 | margin: 2px 0px 0px 0px; | 145 | margin: 2px 0px 0px 0px; |
134 | padding: 0px; | ||
135 | } | 146 | } |
136 | 147 | ||
137 | td#branch-dropdown-cell { | 148 | td#sidebar form { |
138 | width: 99%; | 149 | text-align: right; |
139 | } | 150 | } |
140 | 151 | ||
141 | input#switch-btn { | 152 | input#switch-btn { |
142 | width: 20px; | ||
143 | border: solid 1px #aaa; | ||
144 | background-color: #bbb; | ||
145 | margin: 2px 0px 0px 0px; | 153 | margin: 2px 0px 0px 0px; |
146 | padding: 0px; | ||
147 | } | 154 | } |
148 | 155 | ||
149 | div#sidebar div.infobox input.txt { | 156 | td#sidebar input.txt { |
150 | width: 100%; | 157 | width: 100%; |
151 | border: solid 1px #aaa; | ||
152 | background-color: #bbb; | ||
153 | margin: 2px 0px 0px 0px; | 158 | margin: 2px 0px 0px 0px; |
154 | padding: 0; | ||
155 | } | 159 | } |
156 | 160 | ||
157 | table#grid { | 161 | table#grid { |