Skip to content

Instantly share code, notes, and snippets.

@cdl
Created May 16, 2014 19:23
Show Gist options
  • Save cdl/675250276b7ac6d9b41d to your computer and use it in GitHub Desktop.
Save cdl/675250276b7ac6d9b41d to your computer and use it in GitHub Desktop.
body {
font-family: "Raleway";
margin: 0px;
color: #222222;
width: 100%;
height: 100%;
background-color: #eee9e2;
background-image: url("bg.png")
}
h1 {
font-size: 80px;
font-weight: 900;
line-height: 70px;
margin-bottom: 0px;
font-family: "Playfair Display";
text-shadow: 0px 0px 3px #3d3936;
letter-spacing: 1px;
}
h1 {
font-size: 80px;
font-weight: 900;
line-height: 70px;
margin-bottom: 0px;
font-family: "Playfair Display";
text-shadow: 0px 0px 3px #3d3936;
letter-spacing: 1px;
}
h2 {
font-size: 12px;
font-weight: 200;
letter-spacing: 5;
padding: 0px;
line-height: 13px;
margin-top: 25px;
text-shadow: 0px 0px 3px #3d3936;
}
h3 {
text-shadow: 0px 0px 0px;
text-align: center;
margin-top: 0px;
margin-bottom: 40px;
font-size: 40px;
line-height: 50px;
color: #eee9e2;
font-weight: 600;
font-style: italic;
font-family: "Playfair Display";
text-shadow: 0px 0px 1px #000
}
.wrapper {
max-width: 940px;
margin: auto;
padding: 40px;
padding-left: 20px;
padding-right: 20px;
}
#header {
width: 100%;
background-color: #3f3a37;
color: #f5f3ec;
padding-bottom: 30px;
background-image: url("header.png");
background-size: cover;
background-position: center center;
text-align: center;
}
#header .wrapper {
padding: 0px;
padding-left: 40px;
padding-right: 40px;
padding-top: 100px;
padding-bottom: 140px;
animation-timing-function: ease-in-out;
-webkit-animation: fadein 2s; /* Safari and Chrome */
-moz-animation: fadein 2s; /* Firefox */
-ms-animation: fadein 2s; /* Internet Explorer */
-o-animation: fadein 2s; /* Opera */
animation: fadein 2s;
}
#description {
max-width: 100%;
background-image: url("mebg.png");
background-size: cover;
background-position: center center;
overflow: hidden;
padding-top: 70px;
padding-bottom: 60px;
animation-timing-function: ease-in-out;
-webkit-animation: fadein 2s; /* Safari and Chrome */
-moz-animation: fadein 2s; /* Firefox */
-ms-animation: fadein 2s; /* Internet Explorer */
-o-animation: fadein 2s; /* Opera */
animation: fadein 2s;
}
#description .wrapper {
padding: 0px;
padding-left: 40px;
padding-right: 40px;
max-width: 940px;
}
.description-element {
display: block;
width: 31%;
float: left;
margin-left: 1.1%;
margin-right: 1.1%;
}
#description p {
letter-spacing: 1px;
line-height: 19px;
font-size: 11px;
color: #222;
text-shadow: 0px -1px 4px #eee9e2;
margin: 0px;
font-weight: 300;
margin-bottom: 40px;
text-align: center;
}
#description h3 {
text-align: center;
margin-bottom: 20px;
font-size: 40px;
line-height: 50px;
font-weight: 600;
font-style: italic;
}
#description h2 {
font-size: 13px;
font-weight: 200;
letter-spacing: 5;
padding: 0px;
line-height: 20px;
text-shadow: 0px 0px 0px;
margin-bottom: 10px;
text-align: center;
}
#design {
margin: auto;
max-width: 940px;
margin-top: 0px;
-webkit-column-count: 3; /* Chrome, Safari, Opera */
-moz-column-count: 3; /* Firefox */
column-count: 3;
-webkit-column-gap: 10px; /* Chrome, Safari, Opera */
-moz-column-gap: 10px; /* Firefox */
column-gap: 10px;
column-width: 220px;
}
@media only screen and (max-width: 768px) {
#design {
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
}
}
#design img {
margin: auto;
max-width: 100%;
margin-top: 10px;
border-top: #d7d2cb 1px solid;
border-bottom: #f7f3ee 1px solid;
border-radius: 3px;
-webkit-transition: ease-out .2s;
transition: ease-out .2s;
opacity: 1;
}
@keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
/* Firefox */
@-moz-keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
/* Safari and Chrome */
@-webkit-keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
/* Internet Explorer */
@-ms-keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
/* Opera */
@-o-keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment