First pass at new Casper homepage

This commit is contained in:
John O'Nolan
2013-08-20 18:53:02 +02:00
committed by Hannah Wolfe
parent fd4aebe2e2
commit d6fec8d50f
4 changed files with 74 additions and 15 deletions

View File

@ -67,8 +67,42 @@ a:hover {
1. General
========================================================================== */
#sitehead {
width: 100%;
height: 700px;
text-align: center;
color: #fff;
background: #4a4a4a url(http://cdn.travelllll.com/wp-content/uploads/2013/04/index.jpg) center center;
background-size: cover;
position: relative;
}
#sitehead .wrap {
display: inline-block;
position: absolute;
top: 50%;
left: 0;
right: 0;
margin-top: -100px;
}
#sitehead h1 {
font-size: 8rem;
font-family: Lato, "Open Sans", sans-serif;
font-weight: 100;
}
#sitehead h2 {
font-size: 1.8rem;
line-height: 1.5em;
font-weight: 300;
opacity: 0.6;
max-width: 700px;
margin: 0 auto;
}
.content {
padding-top:120px;
padding-top: 120px;
}
.post {
@ -84,6 +118,10 @@ a:hover {
hyphens: auto;
}
.post-title a {
text-decoration: none;
}
.post-content {
/* Breaking for long words in preview region */
word-break: break-word;