Skip to content

Instantly share code, notes, and snippets.

@alexrinass
Created May 7, 2011 11:34
Show Gist options
  • Save alexrinass/960429 to your computer and use it in GitHub Desktop.
Save alexrinass/960429 to your computer and use it in GitHub Desktop.
CSS templates
@CHARSET "UTF-8";
body {
font: normal 1em/1.25em times new roman,arial,helvetica,sans-serif;
color: black;
background-color: white;
}
a {
color: #666;
}
a:visited {
color: #666;
}
a:hover, a:focus {
color: #666;
}
img {
display: none;
}
@CHARSET "UTF-8";
/* ******************** defaults */
* {
margin: 0;
padding: 0;
}
body {
font: normal 1em/1.25em helvetica,arial,sans-serif;
color: black;
background-color: white;
}
h1, h2, h3, h4, h5, h6 {
font-size: 100%;
}
a {
color: blue;
}
a:visited {
color: blue;
}
a:hover, a:focus {
color: red;
}
ul, ol {
list-style: none;
}
li a {
display: block;
text-decoration: none;
}
p {
margin: 0 0 1.5em 0;
}
img {
border: 0px none;
}
strong {
font-weight: bold;
}
abbr {
cursor: help;
}
address {
font-style: normal;
}
hr {
display: none;
}
.nodisplay {
position: absolute;
left: -1000px !important;
top: -1000px !important;
width: 0px !important;
height: 0px !important;
overflow: hidden;
display: inline;
}
.hide {
display: none;
}
.clear {
display: block;
clear: both;
height: 1px;
overflow: hidden;
padding: 0;
margin: -1px 0 0 0;
}
/* forms */
fieldset {
border: none;
}
legend {
display: none;
}
label {
cursor: pointer;
}
input, select {
width: 95%;
}
.checkbox, .radio {
width: auto;
}
input:focus, textarea:focus {
background-color: white;
}
.button:focus {
background-color: transparent;
}
/* ******************** page blocks */
#wrap {
width: 700px;
margin: 0 auto;
}
#page {
}
#header {
}
#content {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment