mirror of
https://github.com/ZetaKebab/kesper.git
synced 2025-07-02 01:47:37 +00:00
First pass at new Casper homepage
This commit is contained in:

committed by
Hannah Wolfe

parent
fd4aebe2e2
commit
d6fec8d50f
@ -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;
|
||||
|
Reference in New Issue
Block a user