source: trac/templates/site_css.cs @ 2364

Last change on this file since 2364 was 2364, checked in by Sam Hocevar, 15 years ago
  • The site looks like shit. Ditch most CSS hacks.
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1<?cs
2##################################################################
3# Site CSS - Place custom CSS, including overriding styles here.
4?>
5:link, :visited { color: #3a5; }
6:link:hover, :visited:hover { color: #a2d; }
7
8body, th, td {
9 font-family: 'Bitstream Vera Serif',times,serif;
10}
11
12h1, h2, h3, h4 {
13 font-family: 'Bitstream Vera Serif',times,serif;
14}
15
16#mainnav {
17 font-family: 'Bitstream Vera Serif',times,serif;
18}
19
20h1, h2, h3 {
21  text-indent: 0.5em;
22  border-style: solid;
23  border-color: #88aa77;
24  background-color: inherit;
25}
26
27h1 {
28  font-size: 1.6em;
29  font-variant: small-caps;
30  color: #002200;
31  border-width: 0 0 2px 0;
32}
33
34h2 {
35  font-size: 1.3em;
36  font-variant: small-caps;
37  color: #224422;
38  border-width: 0 0 2px 0;
39}
40
41h3 {
42  font-size: 1.1em;
43  color: #335533;
44  border-width: 0 0 1px 0;
45}
46
47p {
48  text-indent: 1em;
49  text-align: inherit;
50}
51
52<?cs
53
54#banner, #content, #altlinks, #footer {
55  width: 800px;
56  display: table-caption;
57  color: inherit;
58  background-color: #dddddd;
59  background: url('/browser/www/img/back4.png?format=raw') repeat left top;
60  padding: 0 10px 0 10px;
61  border-style: solid;
62  border-color: black;
63  margin: 0 auto 0 auto;
64  text-align: justify;
65}
66
67#content, #altlinks {
68  border-width: 0 2px 0 2px;
69}
70#banner {
71  border-width: 2px 2px 0 2px;
72}
73#footer {
74  border-width: 0 2px 2px 2px;
75}
76#content {
77  padding: 5px 10px 5px 10px;
78  height: 100%;
79}
80
81body {
82  color: black;
83  background: url('/browser/www/img/back3.png?format=raw') repeat left top;
84  background-color: black;
85}
86
87.nav li {
88  background-color: #dddddd;
89  background: url('/browser/www/img/back4.png?format=raw') repeat left top;
90}
91
92#ctxtnav ul {
93  margin: auto;
94  text-align: center;
95}
96 
97#mainnav {
98  text-align: center;
99  background: transparent;
100}
101
102#mainnav ul {
103  margin: 15px auto 15px auto;
104  text-align: center;
105}
106
107#mainnav li {
108  background-color: #dddddd;
109  text-decoration: none;
110  font-weight: bold;
111  border: solid black 2px;
112  margin: 0 5px 0 5px;
113}
114
115?>
116
117#footer {
118  display: none;
119}
Note: See TracBrowser for help on using the repository browser.