Skip to content

Instantly share code, notes, and snippets.

@thomcrowe
Created February 6, 2016 21:39
Show Gist options
  • Save thomcrowe/5ead1bf488e399e2e3a3 to your computer and use it in GitHub Desktop.
Save thomcrowe/5ead1bf488e399e2e3a3 to your computer and use it in GitHub Desktop.
CSS style sheet for the contact page
html {
background: url(../img/contact_bg.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
.header h1 {
text-align: center;
text-transform: uppercase;
font-family: 'Open Sans', sans-serif;
font-size: 3em;
-webkit-margin: 0em;
font-weight: 600;
}
.header h2 {
text-align: center;
text-transform: uppercase;
font-family: 'Open Sans', sans-serif;
-webkit-margin: 2em;
font-size: 2em
font-weight: 400;
}
.container {
width: 75%;
margin: 0 auto;
}
.container h1{
text-align: center;
text-transform: lowercase;
font-family: 'Open Sans', sans-serif;
-webkit-margin: 2em;
font-size: 2em
font-weight: 300;
}
.contact-form {
width: 75%;
margin: 0 auto;
text-align: left;
}
/*Typography*/
<link href='https://fonts.googleapis.com/css?family=Work+Sans:400,200,600' rel='stylesheet' type='text/css'>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment