Formatting was done mostly by hand using the following as a guide http://gnuvince.wordpress.com/2007/02/26/reformatting-a-css-file-with-vim/ " Replace all sequences of white spaces with one space :%s/[ \t\n]\+/ /g " Go to the end of the command, then forward one character and insert " a newline ]/lr^M " Make sure there is a semi-colon before each closing bracket :%s/\([^; ]\) *}/\1;}/g " Add a newline after every semi-colon :%s/;/;^M/g " Add a newline after every opening brace and make put one space " between it and the preceeding text :%s/\([^ ]*\) *{/\1 {^M/g " Add two newlines after every closing brace :%s/}/}^M^M/g " Remove 'trailing' spaces in front of the semi-colons :%s/ *;/;/g " Make sure there is only one space after a colon :%s/: */: /g " Make the text before the colon lowercase :%s/\(.\{-}\):/\L\1:/g " Remove all trailing spaces at the beginning of lines :%s/^ \+/g " Indent the whole file gg=G " Split each rule onto its own line (This also matched some " property/value combos so needed confirming :%s/\([a-z0-9]\+\), \+/\1,^M/gc
103 lines
856 B
CSS
103 lines
856 B
CSS
/*
|
|
* CSS Reset
|
|
* Based on http://meyerweb.com/eric/tools/css/reset/
|
|
*/
|
|
html,
|
|
body,
|
|
div,
|
|
span,
|
|
applet,
|
|
object,
|
|
iframe,
|
|
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,
|
|
strike,
|
|
strong,
|
|
sub,
|
|
sup,
|
|
tt,
|
|
var,
|
|
b,
|
|
u,
|
|
i,
|
|
center,
|
|
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-size: 100%;
|
|
vertical-align: baseline;
|
|
background: transparent;
|
|
}
|
|
|
|
body {
|
|
line-height: 1;
|
|
}
|
|
|
|
ol,
|
|
ul {
|
|
list-style: none;
|
|
}
|
|
|
|
ins {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
del {
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
/* tables still need 'cellspacing="0"' in the markup */
|
|
table {
|
|
border-collapse: collapse;
|
|
border-spacing: 0;
|
|
}
|
|
|
|
/* Helper classes */
|
|
.clearfix {
|
|
clear: both;
|
|
}
|