updated to the newer vsions of web.py
[yourule] / templates / style.css.tmpl
1 @charset "UTF-8";
2
3 html, body, div, span, applet, object, iframe,
4 h1, h2, h3, h4, h5, h6, p, blockquote, pre,
5 a, abbr, acronym, address, big, cite, code,
6 del, dfn, em, font, img, ins, kbd, q, s, samp,
7 small, strike, strong, sub, sup, tt, var,
8 dl, dt, dd,
9 fieldset, form, label, legend,
10 table, caption, tbody, tfoot, thead, tr, th, td {
11   margin: 0;
12   padding: 0;
13   border: 0;
14   outline: 0;
15   font-weight: inherit;
16   font-style: inherit;
17   font-family: inherit;
18   vertical-align: baseline;
19 }
20
21 body {
22   font: Arial, Helvetica, sans-serif;
23 }
24
25 label {
26   font-weight: bold;
27 }
28
29 em {
30   font-style: italic;
31 }
32
33 #wrapper {
34   padding: 1em 0 0 0;
35   margin: 0 auto 0 auto;
36   width: 885px;
37 }
38
39 #header {
40   width: 885px;
41   height: 138px;
42   /* background: url(<%= homepath %>/static/images/yourule_banner.png); */
43 }
44
45 #header a img {
46  border: none;
47 }
48
49 #header h1, #header h2 {
50   display: none;
51 }
52
53 .mainbox {
54   margin-top: 1em;
55   background: url(<%= homepath %>/static/images/tl.png) no-repeat top left;
56 }
57
58 .mainbox_top {
59   background: url(<%= homepath %>/static/images/tr.png) no-repeat top right;
60 }
61
62 .mainbox_bottom {
63   background: url(<%= homepath %>/static/images/bl.png) no-repeat bottom left;
64 }
65
66 .mainbox_bottom div {
67   background: url(<%= homepath %>/static/images/br.png) no-repeat bottom right;
68 }
69
70 .mainbox_content {
71   background: url(<%= homepath %>/static/images/r.png) top right repeat-y;
72 }
73
74
75 .mainbox_top div, .mainbox_top, .mainbox_bottom div, .mainbox_bottom {
76   width: 100%;
77   height: 30px;
78   font-size: 1px;
79 }
80
81 .mainbox_content, .mainbox_bottom {
82   margin-top: -19px;
83 }
84
85 .mainbox_content {
86   padding: 0em 3em 2em 3em;
87   line-height: 1.5em;
88 }
89
90 .mainbox_content h2 {
91  border-bottom: 3px #1e3d7b solid;
92  margin: 19px 0 0.8em 0;
93  font-weight: bold;
94 }
95
96 .mainbox_content p {
97   margin-bottom: 0.5em;
98 }
99
100 #gallery {
101   border: 1px solid #1e3d7b;
102   width: 100%;
103   border-collapse: collapse;
104 }
105
106 #gallery th {
107   background: #1e3d7b;
108   color: white;
109 }
110
111 #gallery td {
112   text-align: center;
113 }
114
115 #menu {
116   text-align: right;
117   margin: 0.5em;
118 }
119
120 #rulerimg {
121   margin: 0.5em;
122 }
123
124 .errormsg {
125   background-color: #f7fb70;
126   color: #4c4c4c;
127   text-align: center;
128   border: 1px #fdff00 solid;
129   width: 20em;
130   margin: 1em;
131 }
132
133 strong {
134   font-weight: bold;
135 }
136
137 #footer {
138   margin-top: 3em;
139   font-size: 0.8em;
140   text-align: center;
141 }

Benjamin Mako Hill || Want to submit a patch?