source: branches/htmlform/ipdb.css@ 451

Last change on this file since 451 was 451, checked in by Kris Deugau, 14 years ago

/branches/htmlform

Move Javascript from the header into its own file
Convert index page (master block summary) to template
Convert header to template, use template header in main.cgi
and search.cgi - going to leave admin.cgi out for now
Update HTML in header, index, footer to HTML 4.01 strict
See #3.

File size: 3.1 KB
Line 
1/* Default/global defs for specific tags */
2fieldset {
3 border: none;
4 padding: 0px;
5 margin: 0px;
6}
7
8/* Specific divs */
9#bodyheader {
10 margin-left: 4px;
11 position: relative;
12}
13#homelink {
14 font-size: 13px;
15 font-weight: bold;
16 position: absolute;
17 right: 10px;
18 bottom: 2px;
19 text-align: right;
20}
21#subheader {
22 background-color: #D0E0E0;
23 font-size: 90%;
24 padding: 3px;
25 border-top: thin solid #000000;
26 /* apparently this is required to keep "contained" position: absolute divs from escaping. O_o */
27 position: relative;
28}
29#csearch {
30 float: right;
31 padding: 3px;
32}
33#newlink {
34 position: absolute;
35 right: 10px;
36 top: 6px;
37 text-align: right;
38}
39#main {
40 padding: 10px;
41 border-top: thin solid #000000;
42/* text-align: center;*/
43 padding-top: 20px;
44 position: relative;
45}
46#utils {
47 font-size: 13px;
48 font-weight: bold;
49 position: absolute;
50 right: 10px;
51 top: 2px;
52 text-align: right;
53}
54#adminlink {
55 position: absolute;
56 right: 10px;
57 bottom: 5px;
58}
59#footer {
60 border-top: thin solid #000000;
61}
62#contact {
63 font-size: 10px;
64 position: absolute;
65 right: 10px;
66 text-align: right;
67}
68
69body {
70 background-color: #ffffff;
71 text-color: #000000;
72 font-family: helvetica;
73 margin: 0;
74}
75
76a { text-decoration: underline; }
77a:link { color:#3333ff; } /* unvisited link */
78a:visited { color:#663366; } /* visited link */
79a:hover { color:#dd00dd; } /* mouse over link */
80a:active { color:#cc0000; } /* selected link */
81
82table.centre {
83 margin-left: auto;
84 margin-right: auto;
85}
86
87/* Defs for bulk-data rows */
88tr.header {
89 background-color: #CCCCCC;
90 font-family: Verdana, Arial, Helvetica, sans-serif;
91}
92tr.row0 {
93 background-color: #A8C4D0;
94 font-family: Verdana, Arial, Helvetica, sans-serif;
95 font-size: 90%;
96}
97tr.row1 {
98 background-color: #d0e0e0;
99 font-family: Verdana, Arial, Helvetica, sans-serif;
100 font-size: 90%;
101}
102
103/* legacy defs */
104tr.color0 {
105 background-color: #A8C4D0;
106 font-family: Verdana, Arial, Helvetica, sans-serif;
107 font-size: 90%;
108}
109
110tr.color1 {
111 background-color: #d0e0e0;
112 font-family: Verdana, Arial, Helvetica, sans-serif;
113 font-size: 90%;
114}
115
116tr.color2 {
117 background-color: #A8C4D0;
118 font-family: Verdana, Arial, Helvetica, sans-serif;
119 font-size: 90%;
120}
121
122tr.hack {
123 background-color: #E4EEE8;
124 font-family: Verdana, Arial, Helvetica, sans-serif;
125 font-size: 90%;
126}
127
128tr.warning {
129 background-color: #000000;
130 font-family: Verdana, Arial, Helvetica, sans-serif;
131 font-weight: bold;
132 color: red;
133}
134
135tr.header {
136 background-color: #CCCCCC;
137 font-family: Verdana, Arial, Helvetica, sans-serif;
138}
139
140/* Generic classes */
141.indent {
142 margin-left: 5%;
143 font-size: 90%;
144}
145
146.regular {
147 font-family: Verdana, Arial, Helvetica, sans-serif;
148 font-size: 100%;
149}
150
151.heading {
152 font-size: 110%;
153 font-weight: bold;
154 font-family: Verdana, Arial, Helvetica, sans-serif;
155}
156
157.small {
158 font-size: 60%;
159}
160
161.center {
162 text-align: center;
163 font-family: Verdana, Arial, Helvetica, sans-serif;
164 font-size: 100%;
165}
166
167.red {
168 font-weight: bold;
169 font-family: Verdana, Arial, Helvetica, sans-serif;
170 font-size:100%;
171 color: red;
172}
173
174.mask {
175 background: #00ff00;
176}
177
178.wildcard {
179 background: #ffff00;
180}
Note: See TracBrowser for help on using the repository browser.