author | Lars Hjemli <hjemli@gmail.com> | 2008-04-14 08:00:59 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-04-14 08:07:43 (UTC) |
commit | adf61225c40dd89e2bb1af0087767aee66791c4e (patch) (unidiff) | |
tree | 915a5e0ea10cd4a723e047daa3485ab5dd290f88 /cgit.css | |
parent | 76ba6287bfb533baca7285b107b5d975581d449d (diff) | |
download | cgit-adf61225c40dd89e2bb1af0087767aee66791c4e.zip cgit-adf61225c40dd89e2bb1af0087767aee66791c4e.tar.gz cgit-adf61225c40dd89e2bb1af0087767aee66791c4e.tar.bz2 |
Fix css font-family
When the sidebar was introduced in v0.7 the default font-family property
got messed up, but this commit should fix the issue.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.css | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,135 +1,135 @@ | |||
1 | body, table { | 1 | body, table { |
2 | padding: 0em; | 2 | padding: 0em; |
3 | margin: 0em; | 3 | margin: 0em; |
4 | } | 4 | } |
5 | 5 | ||
6 | body { | 6 | body { |
7 | font-family: sans; | 7 | font-family: sans-serif; |
8 | font-size: 10pt; | 8 | font-size: 10pt; |
9 | color: #333; | 9 | color: #333; |
10 | background: white; | 10 | background: white; |
11 | padding: 4px; | 11 | padding: 4px; |
12 | } | 12 | } |
13 | 13 | ||
14 | a { | 14 | a { |
15 | color: blue; | 15 | color: blue; |
16 | text-decoration: none; | 16 | text-decoration: none; |
17 | } | 17 | } |
18 | 18 | ||
19 | a:hover { | 19 | a:hover { |
20 | text-decoration: underline; | 20 | text-decoration: underline; |
21 | } | 21 | } |
22 | 22 | ||
23 | table { | 23 | table { |
24 | border-collapse: collapse; | 24 | border-collapse: collapse; |
25 | } | 25 | } |
26 | 26 | ||
27 | table#header { | 27 | table#header { |
28 | width: 100%; | 28 | width: 100%; |
29 | margin-bottom: 1em; | 29 | margin-bottom: 1em; |
30 | } | 30 | } |
31 | 31 | ||
32 | table#header td.logo { | 32 | table#header td.logo { |
33 | width: 96px; | 33 | width: 96px; |
34 | } | 34 | } |
35 | 35 | ||
36 | table#header td.main { | 36 | table#header td.main { |
37 | font-size: 250%; | 37 | font-size: 250%; |
38 | padding-left: 10px; | 38 | padding-left: 10px; |
39 | } | 39 | } |
40 | 40 | ||
41 | table#header td.main a { | 41 | table#header td.main a { |
42 | color: #000; | 42 | color: #000; |
43 | } | 43 | } |
44 | 44 | ||
45 | table#header td.form { | 45 | table#header td.form { |
46 | text-align: right; | 46 | text-align: right; |
47 | vertical-align: bottom; | 47 | vertical-align: bottom; |
48 | padding-right: 1em; | 48 | padding-right: 1em; |
49 | padding-bottom: 2px; | 49 | padding-bottom: 2px; |
50 | } | 50 | } |
51 | 51 | ||
52 | table#header td.form form, | 52 | table#header td.form form, |
53 | table#header td.form input, | 53 | table#header td.form input, |
54 | table#header td.form select { | 54 | table#header td.form select { |
55 | font-size: 90%; | 55 | font-size: 90%; |
56 | } | 56 | } |
57 | 57 | ||
58 | table#header td.sub { | 58 | table#header td.sub { |
59 | color: #777; | 59 | color: #777; |
60 | border-top: solid 1px #ccc; | 60 | border-top: solid 1px #ccc; |
61 | padding-left: 10px; | 61 | padding-left: 10px; |
62 | } | 62 | } |
63 | 63 | ||
64 | table.tabs { | 64 | table.tabs { |
65 | /* border-bottom: solid 2px #ccc; */ | 65 | /* border-bottom: solid 2px #ccc; */ |
66 | border-collapse: collapse; | 66 | border-collapse: collapse; |
67 | margin-top: 2em; | 67 | margin-top: 2em; |
68 | margin-bottom: 0px; | 68 | margin-bottom: 0px; |
69 | width: 100%; | 69 | width: 100%; |
70 | } | 70 | } |
71 | 71 | ||
72 | table.tabs td { | 72 | table.tabs td { |
73 | padding: 0px 1em; | 73 | padding: 0px 1em; |
74 | vertical-align: bottom; | 74 | vertical-align: bottom; |
75 | } | 75 | } |
76 | 76 | ||
77 | table.tabs td a { | 77 | table.tabs td a { |
78 | padding: 2px 0.75em; | 78 | padding: 2px 0.75em; |
79 | color: #777; | 79 | color: #777; |
80 | font-size: 110%; | 80 | font-size: 110%; |
81 | } | 81 | } |
82 | 82 | ||
83 | table.tabs td a.active { | 83 | table.tabs td a.active { |
84 | color: #000; | 84 | color: #000; |
85 | background-color: #ccc; | 85 | background-color: #ccc; |
86 | } | 86 | } |
87 | 87 | ||
88 | table.tabs td.form { | 88 | table.tabs td.form { |
89 | text-align: right; | 89 | text-align: right; |
90 | } | 90 | } |
91 | 91 | ||
92 | table.tabs td.form form { | 92 | table.tabs td.form form { |
93 | padding-bottom: 2px; | 93 | padding-bottom: 2px; |
94 | font-size: 90%; | 94 | font-size: 90%; |
95 | } | 95 | } |
96 | 96 | ||
97 | table.tabs td.form input, | 97 | table.tabs td.form input, |
98 | table.tabs td.form select { | 98 | table.tabs td.form select { |
99 | font-size: 90%; | 99 | font-size: 90%; |
100 | } | 100 | } |
101 | 101 | ||
102 | div.content { | 102 | div.content { |
103 | margin: 0px; | 103 | margin: 0px; |
104 | padding: 2em; | 104 | padding: 2em; |
105 | border-top: solid 3px #ccc; | 105 | border-top: solid 3px #ccc; |
106 | border-bottom: solid 3px #ccc; | 106 | border-bottom: solid 3px #ccc; |
107 | } | 107 | } |
108 | 108 | ||
109 | 109 | ||
110 | table.list { | 110 | table.list { |
111 | width: 100%; | 111 | width: 100%; |
112 | border: none; | 112 | border: none; |
113 | border-collapse: collapse; | 113 | border-collapse: collapse; |
114 | } | 114 | } |
115 | 115 | ||
116 | table.list tr { | 116 | table.list tr { |
117 | background: white; | 117 | background: white; |
118 | } | 118 | } |
119 | 119 | ||
120 | table.list tr:hover { | 120 | table.list tr:hover { |
121 | background: #eee; | 121 | background: #eee; |
122 | } | 122 | } |
123 | 123 | ||
124 | table.list tr.nohover:hover { | 124 | table.list tr.nohover:hover { |
125 | background: white; | 125 | background: white; |
126 | } | 126 | } |
127 | 127 | ||
128 | table.list th { | 128 | table.list th { |
129 | font-weight: bold; | 129 | font-weight: bold; |
130 | /* color: #888; | 130 | /* color: #888; |
131 | border-top: dashed 1px #888; | 131 | border-top: dashed 1px #888; |
132 | border-bottom: dashed 1px #888; | 132 | border-bottom: dashed 1px #888; |
133 | */ | 133 | */ |
134 | padding: 0.1em 0.5em 0.05em 0.5em; | 134 | padding: 0.1em 0.5em 0.05em 0.5em; |
135 | vertical-align: baseline; | 135 | vertical-align: baseline; |