Skip to content

Instantly share code, notes, and snippets.

Last active Aug 29, 2015
What would you like to do?
<!DOCTYPE html>
<html lang="en">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="">
* {
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(;
background-size: cover;
background-position: center;
.SiteTitle {
position: absolute;
bottom: 50%;
text-align: center;
left: 0;
right: 0;
transform: translatey(144px);
background-image: url(;
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%;
<meta charset="UTF-8">
<title>Let's Talk Sugar</title>
<h1 class="SiteTitle">
<span>Let's Talk Sugar</span>
<div class="copyright">&copy; 2015</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment