Last active
December 16, 2015 10:49
-
-
Save simon-johansson/5423290 to your computer and use it in GitHub Desktop.
#WEBPROG #film_12 #css
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
*{ | |
margin: 0px; | |
padding: 0px; | |
} | |
html{ | |
width: 100%; | |
height: 100%; | |
} | |
body{ | |
width: 100%; | |
height: 100%; | |
border-top: 12px solid #31332B; | |
font-family: Helvetica, sans-serif; | |
font-size: 80%; | |
color: #0F0F0D; | |
background: #FBFBFB; | |
} | |
header{ | |
width: 100%; | |
text-align: center; | |
margin: 30px 0 30px 0; | |
} | |
nav{ | |
width: 100%; | |
margin: auto; | |
text-align: center; | |
} | |
section{ | |
min-height: 400px; | |
padding-top: 20px; | |
width: 60%; | |
margin: auto; | |
border-bottom: 1px solid #B6B9AC; | |
border-top: 1px solid #B6B9AC; | |
} | |
footer{ | |
width: 70%; | |
height: 50px; | |
text-align: center; | |
font-style: italic; | |
font-size: 12px; | |
font-family: Georgia, serif; | |
margin: auto; | |
padding: 20px 0 0; | |
} | |
a{ | |
color: #C5503E; | |
text-decoration: none; | |
} | |
a:visited, a:active{ | |
color: #C5503E; | |
} | |
a:hover{ | |
color: #CE7366; | |
} | |
h1{ | |
font-size: 4em; | |
} | |
h2{ | |
border-top: 1px solid #E3AFA8; | |
width: 70%; | |
padding-top: 20px; | |
margin-bottom: 10px; | |
} | |
h2:nth-of-type(1){ | |
border-top: none; | |
padding-top: 0px; | |
} | |
h2.blogPostHeading{ | |
text-align: center; | |
width: 100%; | |
font-size: 2em; | |
margin: 0 0 20px 0; | |
} | |
p{ | |
font-family: Georgia, serif; | |
line-height: 160%; | |
font-size: 1em; | |
} | |
i{ | |
font-style: italic; | |
font-size: 0.9em; | |
display: block; | |
margin-top: 10px; | |
} | |
section.comments{ | |
margin: 0 0 30px 20px; | |
border: none; | |
min-height: 0; | |
} | |
section.comments p{ | |
border-top: 1px solid #E3AFA8; | |
width: 100%; | |
padding-top: 20px; | |
margin-bottom: 10px; | |
} | |
section.comments p:nth-of-type(1){ | |
border-top: none; | |
padding-top: 0px; | |
} | |
h3{ | |
margin: 10px 0 10px 0px; | |
} | |
input{ | |
display: inline-block; | |
float left; | |
margin: 0 5px 10px 0; | |
font-family: Georgia, serif; | |
} | |
input[type="submit"]{ | |
padding: 2px; | |
} | |
textarea{ | |
display: block; | |
clear: both; | |
margin: 0 0 10px 0px; | |
position: relative; | |
font-family: Georgia, serif; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment