Created
November 22, 2010 15:06
-
-
Save billkeller/710081 to your computer and use it in GitHub Desktop.
My CSS Resets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ---------------------------------------------------------- | |
DO NOT EDIT THIS DEFAULT STYLESHEET | |
Resets all styles and provides basic base styles | |
Last updated: 04/15/10 | |
bkeller@2advanced.com | |
------------------------------------------------------------- | |
Most reset elements taken from: | |
http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/ | |
Notes: | |
We're reseting specific elements to avoid reseting inputs, textareas. | |
We're also using inherit for font resets, which IE doesn't honor. | |
------------------------------------------------------------ */ | |
html {overflow-y:scroll;} | |
html, body, div, span, applet, object, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, font, img, ins, kbd, q, s, samp, | |
small, strong, sub, sup, tt, var, | |
dl, dt, dd, ol, ul, li, | |
fieldset, form, label, legend, | |
table, caption, tbody, tfoot, thead, tr, th, td { | |
margin: 0; | |
padding: 0; | |
border: 0; | |
outline: 0; | |
font-weight: inherit; | |
font-style: inherit; | |
font-size: 100%; | |
font-family: inherit; | |
vertical-align: baseline; | |
} | |
:focus {outline: 0;} | |
body { | |
line-height: 1; | |
color: #000; | |
background: #fff; | |
} | |
ol, ul { | |
list-style: none; | |
} | |
table { | |
border-collapse: collapse; | |
border-spacing: 0; | |
empty-cells:show; | |
} | |
caption, th, td { | |
text-align: left; | |
font-weight: normal; | |
} | |
blockquote:before, blockquote:after, | |
q:before, q:after { | |
assets: " "; | |
} | |
blockquote, q { | |
quotes: "" ""; | |
} | |
textarea {overflow-y:auto;} | |
/* ---------------------------------------------------------- | |
BASE STYLES | |
Last updated: 11/03/10 - .hidden is now visibility: hidden, | |
instead of display: none; | |
------------------------------------------------------------- | |
started from: http://monc.se/tripoli/index.html | |
------------------------------------------------------------ */ | |
hr {display: none;} | |
.clear {clear: both;} | |
.left {float: left;} | |
.right {float: right;} | |
.hide {display: none;} | |
.empty {visibility: hidden;} | |
.center {text-align: center;} | |
.hidden {visibility: hidden;} | |
strong {font-weight: bold;} | |
em {font-style: italic;} | |
small {} | |
ul, ol { | |
list-style-position: outside; | |
list-style-type: disc; | |
} | |
ol {list-style-type: decimal;} | |
dl {} | |
dl dt {font-weight: bold;} | |
table {} | |
blockquote {font-style: italic;} | |
.subscribe_link { | |
position:absolute; | |
right:169px; | |
top:-42px; | |
width:50px; | |
background-color:#000; | |
} | |
.subscribe_link a { | |
color:#08B7F2; | |
font-size:11px; | |
text-decoration:none; | |
text-transform:uppercase; | |
font-weight:normal; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment