Skip to content

Instantly share code, notes, and snippets.

@NapoleonWils0n
Created October 29, 2012 20:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NapoleonWils0n/3976372 to your computer and use it in GitHub Desktop.
Save NapoleonWils0n/3976372 to your computer and use it in GitHub Desktop.
css: css3 stylesheet
html {margin: 0; padding: 0;}
body {margin: 0; padding: 0;
background: rgb(102,102,102); color: rgb(235,235,235);
font: 12px/1.5 Helvetica, sans-serif;
}
article {display: block; margin: 0; padding: 0;}
aside {display: block; margin: 0; padding: 0;}
header {display: block; margin: 0; padding: 0;}
hgroup {display: block; margin: 0; padding: 0;}
figure {display: block; margin: 0; padding: 0}
figcaption {
display: block;
margin: 0;
padding: 4px 0 0 0;
}
section {display: block; margin: 0; padding: 0;}
footer {display: block;}
nav {display: block;}
dialog {display: block;}
time {display: inline-block;}
h1 {font-size: 18px; margin: 0 0 .75em 0;}
h2 {font-size: 14px; margin: 0 0 .5em 0;}
h3 {font-size: 13px; margin: 0 0 .5em 0; text-transform: none;}
h4 {font-size: 11px; margin: 0 0 .5em 0; letter-spacing: 1px; font-variant: small-caps; text-transform: none;}
h5, h6 {font-size: 10px; margin: 0 0 .5em 0;}
a, a:link, a:visited {
text-decoration: none;
word-wrap: break-word;
color: rgb(235,235,235);
transition: color 1s linear;
-o-transition: color 1s linear;
-moz-transition: color 1s linear;
-webkit-transition: color 1s linear;
transition-timing-function:ease-out,cubic-bezier(0.5,0.2,0.3, 1.0);
-o-transition-timing-function:ease-out,cubic-bezier(0.5,0.2,0.3, 1.0);
-moz-transition-timing-function:ease-out,cubic-bezier(0.5,0.2,0.3, 1.0);
-webkit-transition-timing-function:ease-out,cubic-bezier(0.5,0.2,0.3, 1.0);
}
a:hover {text-decoration: none; color: rgb(142,18,18);}
a:active {text-decoration: none; color: rgb(142,18,18);}
menu {display: block;}
ul {position: relative;}
ol {position: relative;}
li {line-height: 1.6; }
dl {margin: 12px 0 12px 6px; padding: 0; line-height: 1.5; position: relative;}
dlfn {}
dl dt {margin: 0 0 2px 0; padding: 0;}
dl dd {margin: 0 12px 6px 18px; padding: 0;}
form {margin: 0; padding: 0;}
fieldset {margin: 0 0 12px 0; padding: 6px 12px; border: solid 1px rgb(204,204,204);}
legend {}
button {}
input[type="text"], input[type="password"] {font: -webkit-small-control;}
input[type="text"]:hover, input[type="text"]:focus, input[type="password"]:hover, input[type="password"]:focus {}
input[type="button"], input[type="submit"] {}
label {margin: 0; padding: 0;}
textarea {margin: 0; line-height: 1.2; outline: 0; resize: none; cursor: auto; -webkit-appearance: textarea; -webkit-rtl-ordering: logical; -webkit-user-select: text; -webkit-box-orient: vertical;}
textarea:hover, textarea:focus {}
select {}
optgroup {}
option {}
table {border: 1px solid rgb(204,204,204); border-collapse: collapse; width: 100%;}
tbody {}
thead {background: rgb(229,230,232);}
thead th {border-bottom: 1px solid rgb(204,204,204); padding: 7px; text-align: left;}
th {margin: 0; padding: 7px;}
td {border-bottom: 1px solid rgb(204,204,204); margin: 0; padding: 7px;}
tr.even {background: rgb(241,245,250);}
tr.odd {background: rgb(255,255,255);}
tfoot {}
caption {}
col {}
colgroup {}
address {margin: 10px 0 10px 0; padding: 0;}
br {}
div {margin: 0; padding: 0;}
cite {}
code {margin: 0; padding: 0;}
hr {background: rgb(153,153,153); margin: 6px 0 20px 0; padding: 0; border: none; height: 1px;}
iframe {margin: 0; padding: 0;}
span {}
script {}
abbr {}
b {font-weight: bold;}
blockquote {background: rgb(239,239,239); margin: 0 16px 16px 16px; padding: 8px; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;}
blockquote > table {border: none;}
blockquote > table > tbody > tr > td {border-bottom: none; padding: 0;}
em {}
i {font-style: italic;}
p {margin: 0 0 1em 0; padding: 0;}
pre {}
q {}
small {}
strong {font-weight: bold;}
sub {}
sup {}
area {}
a img {padding: 0; margin: 0; border: 0; text-decoration: none;}
img {padding: 0; margin: 0; border: 0;}
audio {margin: 0; padding: 0;}
embed {margin: 0; padding: 0; display: block; max-width: 100%;}
map {}
object {margin: 0; padding: 0;}
noscript {}
video {margin: 0; padding: 0; max-width: 100%; display: block;}
p::first-letter {}
p::first-line {}
p:first-child {}
p:last-child {}
p:nth-child(odd) {}
p:nth-child(even) {}
p:nth-child(2n) {}
p:nth-child(2n+3) {}
p:nth-last-child(2n) {}
p::selection {background: rgb(204,204,204);}
li:only-child {}
li:first-of-type {}
li:last-of-type {}
/* Media Queries */
@media screen and (min-device-width: 1025px) {}
@media screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {}
@media screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {}
@media only screen and (max-device-width: 480px) {
html {-webkit-text-size-adjust: none;}
}
@media only screen and (-webkit-min-device-pixel-ratio: 2) {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment