Created
May 18, 2015 08:17
-
-
Save iamtew/7b6f4a6413bc4067ad3b to your computer and use it in GitHub Desktop.
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
/* style.css | |
* Some basic styling to make naked HTML look a bit nicer. | |
* Related links: | |
* - http://codepen.io/dredmorbius/pen/KpMqqB?editors=110 | |
* - http://bettermotherfuckingwebsite.com/ | |
* - http://motherfuckingwebsite.com/ | |
*/ | |
a { | |
color: #1e6b8c; | |
font-size: 1em; | |
text-decoration: none; | |
transition-delay: 0.1s; | |
transition-duration: 0.3s; | |
transition-property: color, background-color; | |
transition-timing-function: linear; | |
} | |
a:active { | |
background-color: #427fed; | |
color: #fffff6; | |
font-size: 1em; | |
} | |
a:hover { | |
background: #f0f0ff; | |
font-size: 1em; | |
text-decoration: underline; | |
} | |
a:visited { | |
color: #6f32ad; | |
font-size: 1em; | |
} | |
body { | |
background-color: #fffff6; | |
color: #330; | |
font-family: georgia, times, serif; | |
margin: 2rem auto; | |
max-width: 40em; | |
padding: 0 2em; | |
width: auto; | |
font-size: 1rem; | |
line-height: 1.4; | |
} | |
h1, | |
h2, | |
h3, | |
h4, | |
h5, | |
h6 { | |
color: #703820; | |
font-weight: bold; | |
line-height: 1.2; | |
margin-bottom: 1em; | |
margin-top: 2em; | |
} | |
h1 { | |
font-size: 1.8em; | |
} | |
h2 { | |
font-size: 1.4em; | |
border-bottom: solid 0.1rem #703820; | |
} | |
h3 { | |
font-size: 1.3em; | |
} | |
h4 { | |
font-size: 1.2em; | |
text-decoration: underline; | |
} | |
h5 { | |
font-size: 1.1em; | |
font-style: italic; | |
} | |
h6 { | |
font-size: 1em; | |
margin-bottom: 0.5rem; | |
} | |
html { | |
font-size: medium; | |
} | |
pre, | |
code, | |
xmp { | |
font-family: courier; | |
font-size: 1rem; | |
line-height: 1.4; | |
white-space: pre-wrap; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment