Created
February 6, 2015 04:28
-
-
Save kellishouts/73de63bcaf4e3125783e to your computer and use it in GitHub Desktop.
Out of this World Sample Styles
This file contains hidden or 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
@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700|Fjalla+One); | |
html{ | |
font-size: 16px; | |
font-family: 'Lato', sans-serif; | |
color: #FFF; | |
} | |
body{ | |
background-image: url('/images/bg.jpg'); | |
background-attachment: fixed; | |
background-size: cover; | |
} | |
/* LAYOUT */ | |
header{ | |
max-width: 900px; | |
display: block; | |
margin: auto; | |
/*background-color: green;*/ | |
padding: 50px 80px; | |
background-color: rgba(0, 0, 0, 0.5); | |
box-sizing:border-box; | |
} | |
#layout{ | |
background-color: rgba(0, 0, 0, 0.5); | |
max-width: 900px; | |
display: block; | |
margin: auto; | |
margin-top: 10px; | |
/*background-color: blue;*/ | |
padding: 50px 80px; | |
box-sizing:border-box; | |
} | |
/* */ | |
h1, h2, h3, h4, h5, h6{ | |
font-family: 'Fjalla One', sans-serif; | |
} | |
h1{ | |
font-size: 9em; | |
text-align: center; | |
transition: all .5s ease; | |
/*background-color: pink;*/ | |
margin:0; | |
} | |
h1:hover{ | |
color: #B1E5FA; | |
transition: all .5s ease; | |
} | |
h2{ | |
font-size: 3em; | |
text-transform: uppercase; | |
letter-spacing: 2px; | |
text-align: center; | |
} | |
h3{ | |
font-size: 1.5em; | |
text-transform: uppercase; | |
letter-spacing: 2px; | |
text-align: center; | |
} | |
h4{ | |
font-size: 1.3em; | |
text-transform: uppercase; | |
letter-spacing: 2px; | |
text-align: center; | |
} | |
li{ | |
list-style-type: none; | |
} | |
p{ | |
font-size: 1.2em; | |
line-height: 1.7em; | |
margin-bottom: 40px; | |
} | |
a{ | |
color: #FFF; | |
text-decoration: none; | |
} | |
a:hover{ | |
border-bottom: 1px dashed #FFF; | |
} | |
nav{ | |
} | |
nav > ul{ | |
padding:0; | |
} | |
nav ul li a{ | |
font-size: 2em; | |
} | |
nav ul li a:hover{ | |
color: #7AD2F5; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment