Lazydays templates
[torrus-plus.git] / src / sup / webplain / lazydays / css / layout.css
blob136a83cdd82625028f0fff5deed196a553ae1d37
1 /**************************************************************
2 AUTHOR: Pat Heard (fullahead.org)
3 DATE: 2006.03.19
4 PURPOSE: Controls the layout of the site and styles
5 the menus
6 **************************************************************/
10 /**************************************************************
11 #content: Sets the width of the site. Make changes here
12 to convert to a fixed width site.
13 **************************************************************/
15 #content {
16 height: 100%;
17 min-height: 100%;
19 text-align: left;
22 #content,
23 #width {
24 /* max-width hack for IE since it doesn't understand the valid css property */
25 width: expression(document.body.clientWidth > 1000 ? "1000px" : "94%");
26 max-width: 1000px;
27 margin: 0 auto;
30 #content[id],
31 #width[id] {
32 width: 94%;
33 height: auto;
39 /**************************************************************
40 #header: Holds the site title and header images
41 **************************************************************/
43 #header {
44 position: relative;
45 height: 193px;
48 /* Holds the site title and subtitle */
49 #header #title {
50 position: absolute;
51 z-index: 3;
52 top: 10px;
53 left: 130px;
55 padding: 5px;
56 text-align: right;
59 #header h1 {
60 margin: 0;
61 padding: 0;
63 font: 700 4em "trebuchet ms", serif;
64 letter-spacing: -3px;
65 text-transform: lowercase;
66 color: #FFF;
69 #header h2 {
70 position: absolute;
71 top: 10px;
72 right: 5px;
74 margin: 0;
75 padding: 0;
77 font: 700 1em "trebuchet ms", serif;
78 text-transform: lowercase;
79 color: #00F0EC;
83 /* Sets where the header images will go */
84 #header img.left {
85 position: absolute;
86 z-index: 1;
88 top: 0;
89 left: 0;
92 #header img.right {
93 position: absolute;
94 z-index: 0;
96 top: 0;
97 right: 0;
100 #header img.balloons {
101 position: absolute;
102 z-index: 2;
104 top: 70px;
105 right: 400px;
110 /**************************************************************
111 #mainMenu: The top level site menu
112 **************************************************************/
114 #mainMenu {
115 float: left;
116 width: 100%;
117 clear: both;
120 #mainMenu ul {
121 margin: 0;
122 padding: 0;
125 #mainMenu li {
126 display: inline;
127 list-style: none;
128 margin: 0;
129 padding: 0;
132 #mainMenu li a {
133 float: left;
134 margin: 0 2px;
135 padding: 5px 0.5em;
137 font: 400 1.6em "trebuchet ms", serif;
138 text-decoration: none;
139 text-transform: lowercase;
140 color: #FFF;
143 #mainMenu li a:hover,
144 #mainMenu li a.here {
145 color: #65EBFF;
146 border-top: 5px solid #000;
149 #mainMenu li a.last {
150 margin-right: 0;
156 /**************************************************************
157 .sideMenu: The side bar menu
158 **************************************************************/
160 ul.sideMenu {
161 margin: 0;
162 padding: 0;
165 .sideMenu li {
166 display: inline;
168 /* Needed since IE fails when you give it list-style: none; */
169 list-style-image: url(foo.gif);
170 font: 400 1.3em "trebuchet ms", serif;
173 .sideMenu li a {
174 display: block;
175 margin: 0.2em 0;
176 padding: 3px 5px;
178 text-decoration: none;
179 color: #FFF;
182 .sideMenu li a:hover {
183 color: #65EBFF;
184 background: #5F5F5F;
187 /* Active menu item */
188 .sideMenu li.here {
189 display: block;
190 padding: 5px;
191 color: #65EBFF;
192 background: #555;
195 /* Submenu of active menu item */
196 .sideMenu li.here ul {
197 margin: 0;
198 padding: 0;
201 .sideMenu li.here ul li a {
202 padding-left: 35px;
203 font: 400 0.55em verdana, arial, sans-serif;
204 color: #FFF;
205 background: url(../images/bg/bullet.gif) no-repeat 10px 0px;
208 .sideMenu li.here ul li a:hover {
209 color: #9FF3FF;
210 background: #5F5F5F url(../images/bg/bullet.gif) no-repeat 10px 0px;
215 /**************************************************************
216 #page: Holds the main page content.
217 **************************************************************/
219 #page {
220 float: left;
221 width: 100%;
222 clear: both;
224 padding-bottom: 4em;
230 /**************************************************************
231 #footer: The page footer - will stick to the bottom if not
232 enough content.
233 **************************************************************/
235 #footer {
236 float: left;
237 width: 100%;
238 clear: both;
240 margin-top: -3.8em;
241 background: #000 url(../images/bg/footer.jpg) repeat-x top left;
244 /* Sets the width of the footer content */
245 #footer #width {
246 position: relative;
247 z-index: 3;
248 font-size: 0.85em;
249 padding-top: 27px;
254 /**************************************************************
255 Width classes used by the site columns
256 **************************************************************/
258 .width100 {
259 width: 100%;
262 .width75 {
263 width: 74%;
266 .width50 {
267 width: 49.7%;
270 .width33 {
271 width: 32.7%;
274 .width25 {
275 width: 24.7%;
280 /**************************************************************
281 Alignment classes
282 **************************************************************/
284 .floatLeft {
285 float: left;
288 .floatRight {
289 float: right;
292 .alignLeft {
293 text-align: left;
296 .alignRight {
297 text-align: right;
302 /**************************************************************
303 Generic display classes
304 **************************************************************/
306 .clear {
307 clear: both;
310 .block {
311 display: block;
314 .small {
315 font-size: 0.8em;
318 .green {
319 color: #A1FF45;
322 .red {
323 color: #EA1B00;
326 .grey {
327 color: #666;
330 .grey a {
331 color: #999;
334 .grey a:hover {
335 color: #EEE;
338 .gradient {
339 margin-bottom: 2em;
340 background: #555 url(../images/bg/gradient.jpg) repeat-x bottom left;