Skip to content

Instantly share code, notes, and snippets.

@drhees
Last active Aug 29, 2015
Embed
What would you like to do?
bdgQgd
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Lato:300">
<style>
* {
font-weight: 300;
margin: 0;
}
html {
background-position: center;
color: #fff;
height: 100%;
font: 100%/1.5 "Lato", sans-serif;
}
body {
color: #fff;
height: 100%;
background-color: rgb(34,35,34);
background-image: url(https://d1k2wjau60zau8.cloudfront.net/xmrktg/lts/LTS-bg.png);
background-size: cover;
background-position: center;
}
.SiteTitle {
position: absolute;
bottom: 50%;
text-align: center;
left: 0;
right: 0;
transform: translatey(144px);
background-image: url(https://d1k2wjau60zau8.cloudfront.net/xmrktg/lts/LTS-logo.png);
background-repeat: no-repeat;
background-position: top center;
background-size: 380px;
width: 400px;
margin: 0 auto;
font-size: 42px;
height: 294px;
}
.SiteTitle > span {
visibility: hidden;
display: block;
overflow: hidden;
text-indent: -9999px;
height: 120px;
}
.copyright {
position: absolute;
bottom: 0;
margin-bottom: 3em;
text-align: center;
width: 100%;
text-transform: uppercase;
letter-spacing: 2px;
font-size: 11px;
opacity: 0.72;
}
@media (max-width: 560px) {
.SiteTitle {
width: 240px;
background-size: 210px;
background-position-y: 50%;
}
}
</style>
<meta charset="UTF-8">
<title>Let's Talk Sugar</title>
</head>
<body>
<h1 class="SiteTitle">
<span>Let's Talk Sugar</span>
</h1>
<div class="copyright">&copy; 2015 seekingarrangement.com</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment