HTMLify
style.css
Views: 11 | Author: cody
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 | /** * Design. (c) Jason Earl, 2005, Virtual Function * * "tableless" design known to work (and tested) on Mozilla, and IE 6. * Should also work KHTML (Konqueror and Safari) */ /* ----------------------------------------------------------- Generic ----------------------------------------------------------- */ body { background: #9BB2CA url('images/back.gif'); margin: 0; padding: 0; font-size: 11px; font-family: Verdana, sans-serif; } a:link, a:visited { text-decoration: none; color: #163477; } a:hover { border-bottom: #bdf 1px solid; } .pageWrapper { margin: 0 10%; width: auto; min-width: 620px; } /** Uncomment below for liquid width (expands and contracts with brwoser window width */ .pageWrapper { margin: 0 auto; width: 730px; min-width: 620px; } /* extension to page wrapper */ #main { border-right: #FFF 2px solid; border-left: #FFF 2px solid; /* IE Hack. Set this to right colour for now */ background: #E5EDF1; } div#bodyWrap { background: url('images/back_top.jpg') repeat-x; } div#bodyWrap { width: auto; min-width: 770px; height: 432px; } img.product, .product img { border: 1px solid #225F82; margin: 12px 8px 4px 8px; } .content .product { text-align: center; } .subBarInner p { margin: 8px 8px 2px 8px; padding: 0; } .product { font-weight: bold; color: #0B70CE ! important; } div.wide3 { width: 33%; float: left; text-align: center; } input[type=text], input[type=button], input[type=submit], select, textarea { background: #F6F9FB; border: 1px solid #225F82; } /* ----------------------------------------------------------- Headers ( h* style ) ----------------------------------------------------------- */ h1, h2, h3, h4, h5, h6 { margin: 8px 16px; font-size: 14px; font-weight: normal; letter-spacing: 0.08em; } h1 { font-size: 18px; color: #164677; padding-bottom: 4px; border-bottom: 1px solid #4C95D6; } h1 span { float: right; color: #69839B; } /* ----------------------------------------------------------- View Controllers ----------------------------------------------------------- */ .clear { clear: both; } .hide, #oldBrowserNotice, .ieSixCharDupBug { display: none; } /* ----------------------------------------------------------- Page Header(s) and Footer ----------------------------------------------------------- */ #header { height: 146px; margin-right: -2px; /* Box model adjustment */ } #header #logo { width: 223px; float: left; background: url('images/logo.gif') no-repeat #FFF; margin: 0 -3px; height: 146px; position: absolute; z-index: 100; } #header #logo h1 { display: none; } #heading .head { height: 78px; background: url('images/header.jpg') no-repeat right top #FFF; border-right: 2px solid #fff; position: relative; margin-right: -2px; } * html #heading .head { margin-right: -4px; /* Extra 2px due to IE Box model */ } #heading .top, #heading .sub { color: #FFF; margin: 10px 10px 0 0; float: right; width: 370px; text-align: right; height: 22px; } #heading a:link, #heading a:visited { color: #FFF; margin-left: 32px; } #heading a:hover { border-bottom: #7487A1 4px solid; } #heading .sub { clear: right; } #footer { position: relative; /* IE fix */ padding: 4px 24px; color: #249; background: url('images/bg5.gif'); } /* ----------------------------------------------------------- Layout Controls ----------------------------------------------------------- */ /* --------------------- Common to both -------------------- */ #mainInner, div.subBarInner, div.subTitleInner { z-index: 2; width: 100%; border-right: #FFF 2px solid; } div.content { border-width: 0; /* Fix print/v4 borders issue */ } #mainOuter div.left, #mainOuter div.right, #mainOuter div.content, div.subBarInner div.content, div.subBarInner div.right, div.subTitleInner div.content, div.subTitleInner div.right { /* For Sub elements of #mainOuter AND div.subBarInner */ float: left; position: relative; z-index: 10; overflow: visible; /* fix for IE italics bug */ } /* --------------------- The Sub Bar Piece -------------------- */ div.subBarOuter, div.subTitleOuter { z-index: 1; border-style: solid; border-color: #E5EDF1; border-width: 0; } div.subBarInner div.right, div.subTitleInner div.right { float: right; width: 20em; margin: 0 -20em 0 1px; } div.subBarInner div.content, div.subTitleInner div.content { margin: 0 -1px; /* Ensure floating */ width: 100%; } /* --------------------- The Main Bar Piece -------------------- */ #mainOuter { z-index: 1; border-left: 16em #E6EEF0 solid; border-right: 8px #0B70CE solid; } #mainInner { border-left: 2px solid #FFF; background: #F0F3F2; } #mainOuter .content { margin: 0 -1px; /* Ensure floating */ width: 100%; } #mainOuter .right { /* Not used for now */ float: right; /* Possiblity for NN4 layout */ width: 15em; margin: 0 -15em 0 1px; /* Column position */ } #mainOuter .left { width: 16em; margin: 0 1px 0 -16em; /* Column position */ } /* ----------------------------------------------------------- Decoration Fix-up Pieces ----------------------------------------------------------- */ div.gap { border-top: 2px solid #FFF; background: #CDE; position: relative; } html>body .mozclear { border-bottom: 1px solid white; /* help mozilla recognize empty clearing element */ margin-bottom: -1px; /* compensate for 1px space used by border */ } /* ----------------------------------------------------------- Fix BugIE :-| ----------------------------------------------------------- */ * html #mainInner, * html div.subBarInner, * html div.subTitleInner { position: relative; /* fix a render bug in IE under certain conditions */ } * html div.gap { margin-right: -4px; } * html #mainOuter { border-right: 4px #0B70CE solid; } .leftInside, .titleSide, #mainInner .left div.button1, #mainInner .left div.button2 { margin-left: -2px; margin-right: 2px; } /* ----------------------------------------------------------- Sub Bar (Thing under header) ----------------------------------------------------------- */ div.subBarInner { background: #F7F7EC url('images/bg2.gif'); padding-bottom: 8px; } div.subBarInner span { display: block; } div.subBarOuter, div.subTitleOuter { border-right-width: 20em; } div.subTitleOuter div.right, div.subBarOuter div.right { text-align: center; } div.subTitleOuter { border-color: #CFE0E9; } div.subTitleInner { background: #E6EDE0 url('images/bg1.gif'); color: #164677; } /* ----------------------------------------------------------- Main Bar ----------------------------------------------------------- */ .titleSide, .titleMain { padding: 8px 16px 4px 16px; border-bottom: 1px solid #FFF; letter-spacing: 0.1em; height: 16px; } .titleSide { background: #164677 repeat-y left url('images/title1.gif'); color: #FFF; margin-bottom: 12px; font-size: 12px; padding-left: 24px; } .titleMain { background: #DBE2E2; font-size: 11px; } .titleMain a:link, .titleMain a:visited { color: #5382B3; } .right p, .content p { color: #274563; line-height: 1.6em; letter-spacing: 0.05em; padding: 0 16px 8px 16px; } #mainInner .left ul { list-style-type: none; margin: 0 0 12px 12px; padding: 0; } #mainInner .left ul li { margin: 8px; } ul.dotted, li.select { list-style-type: square; color: #40A3FE; margin-left: 52px; } .left .active a:link, .left .active a:visited { font-weight: bold; color: #0471E1; list-style-type: square; } #mainInner .left ul.dotted { list-style-type: square; } #mainInner .left input { color: #000; } #mainInner .left div.button1, #mainInner .left div.button2 { width: 100%; color: #163977; border: 0 none; border-top: #FFF solid 2px; padding: 6px 0; } #mainInner .left div.button1 a:link, #mainInner .left div.button1 a:visited, #mainInner .left div.button2 a:link, #mainInner .left div.button2 a:visited { margin: 0 0 0 24px; font-size: 12px; font-weight: bold; } #mainInner .left div.button1 { background: #C9D6A6 url('images/bg3.gif'); } #mainInner .left div.button2 { border-bottom: #FFF solid 2px; background: #C9D6A6 url('images/bg4.gif'); } |