/ Published in: CSS
URL: http://www.VisibilityInherit.com
Expand |
Embed | Plain Text
Updated: 07/1/08 Author: Eric Watson Website: http://www.VisibilityInherit.com ------------------------------------------------------- : Site Colors : : Table Of Contents : Resets Defaults Typography Forms Layout Links Menus Global Classes Content ---------------------------------------------------- */ /* -------------------- Resets --------------------- */ body, address, blockquote, dl, ol, ul, li, form, fieldset, h1, h2, h3, h4, h5, h6, p, pre { margin: 0; padding: 0; } fieldset, table { border: none; } img { border: 0; /* kills Gecko bug when img's are placed inside links */ vertical-align: bottom; /* set vertical align to bottom for IE */ } /* --------------- Document Defaults -------------- */ html { height: 101%; /* creates a horizontal scrollbar, for a more consistent look & feel */ } body { height: 100%; /* helps make height 100% */ font: 62.5%/1.5 Tahoma, Arial, Helvetica, sans-serif; /* 62.5% makes font-size 1em = 10px, 1.2em = 12px, etc */ background-color: #FDFDFD; color: #333; } /* ------------------ Typography ------------------- */ h1, h2, h3, h4, h5, h6, p, pre, blockquote, address { margin: 0 0 1em; } h1 { font-size: 2.2em; } h2 { font-size: 2em; } h3 { font-size: 1.8em; } h4 { font-size: 1.6em; } h5 { font-size: 1.4em; } h6 { font-size: 1.2em; } p, ul { font-size: 1.2em; } ul { margin: 0 0 1em 25px; list-style: none; } ul ul { /* fixes nested lists */ font-size: 100%; font-weight: normal; } /* -------------------- Forms ---------------------- */ form :focus { outline: 0; /* removes Safari's blue border */ } input, label { vertical-align: middle; } label { cursor: pointer; } input, select, textarea { font-size: 1.2em; font-family: Tahoma, Arial, Helvetica, 'MS Sans Serif', sans-serif; } input, textarea { padding: .2em; } textarea { /* removes scrollbar from IE when none is needed */ overflow: auto; } /* -------------------- Layout --------------------- */ #wrapper { margin: 0 auto; /* centers layout */ min-height: 100%; /* height 100% in all modern browsers */ } * html #wrapper { height: 100%; /* height 100% in IE6 */ } #header { } #nav { } #content { overflow: hidden; /* contain floats & haslyout for IE7 */ } * html #content { height: 1%; /* haslyout for IE6 */ } #left { float: left; display: inline; /* fix IE6 float bug */ } #right { float: right; display: inline; /* fix IE6 float bug */ } #footer { clear: both; } /* ------------------- Links ---------------------- */ a { text-decoration: none; outline: 0; /* removes dotted border around a:active from Firefox */ } a:visited { text-decoration: none; } a:active, a:focus, a:hover { text-decoration: underline; } /* --------------------- Menus ---------------------- */ /* Main Menu */ #nav ul { } #nav li { } #nav li a { } #nav li a:active, #nav li a:focus, #nav li a:hover { } /* Footer Menu */ #footer ul { } #footer li { } #footer li a { } #footer li a:active, #footer li a:focus, #footer li a:hover { } /* ---------------- Global Classes ----------------- */ .center { text-align: center; } .clear { clear: both; padding: 0; margin: 0; line-height: normal; } .floatleft { float: left; } .floatright { float: right; } .hidden { display: none; visibility: hidden; } .inline { display: inline; } .nomargin { margin: 0; } .marginbottom { margin: 0 0 1em; } /* ----------------- Content/Pages ----------------- */
You need to login to post a comment.
