A Pen by Daniel Rhees on CodePen.
Last active
August 29, 2015 14:22
-
-
Save drhees/0d7fddf405d1da4002da to your computer and use it in GitHub Desktop.
bdgQgd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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">© 2015 seekingarrangement.com</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment