$baseFontFamily: 'Roboto', arial, sans-serif; $headingFontFamily: 'Roboto Condensed', arial, sans-serif; $baseColor: #454545; $baseBgColor: #62ABBE; $baseLinkColor: #DDDDDD; $baseHoverColor: #FFFFFF; /* apply a natural box layout model to all elements */ * { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } *:after, *:before { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } html, body, .all { height: 100%; margin: 0; padding: 0; } body { font-family: $baseFontFamily; font-weight: 300; font-size: 16px; color: $baseColor; background-color: $baseBgColor; line-height: 1.9; } p { margin: 0 0 0.7em 0; padding: 0; text-indent: 0; } a { color: $baseLinkColor; text-decoration: none; outline: none !important; } a:hover { color: $baseHoverColor; text-decoration: none; outline: none !important; } .all { position: relative; width: 100%; max-width: 960px; height: 100%; margin: auto; padding: 20px; } .object { position: absolute; backface-visibility: hidden; transform-style: preserve-3d; transform: translate3d(0, 0, 1px); background-size: 100% 100%; } .rocket { width: 30px; height: 50px; left: 10px; top: 175px; background-image: url('http://tweene.com/skin/Default/img/rocket-03.svg'); } .planet { width: 160px; height: 90px; left: 160px; top: 200px; margin-left: -80px; margin-top: -45px; background-image: url('http://tweene.com/skin/Default/img/space-planet.svg'); } .controls { position: absolute; right: 20px; top: 20px; width: 320px; .intro { font-family: $headingFontFamily; font-weight: 300; font-size: 20px; text-transform: uppercase; margin-bottom: 0.2em; } ul { margin-top: 0; list-style: circle; } li { cursor: pointer; } li:hover { color: #FFFFFF; } .current { color: #DDDDDD; font-weight: 400; } } @media screen and (max-width: 767px) { .all { padding-left: 0; padding-right: 0; } .controls { right: auto; top: 500px; left: 10px; } }