body { height: 100vh; overflow-x: hidden; overflow-y: auto; margin: 0 auto; padding: 0; text-align: center; background: -moz-linear-gradient(top, #0f3f00 0%, #000000 100%) no-repeat; /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0f3f00), color-stop(100%,#000000)) no-repeat; /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, #0f3f00 0%,#000000 100%) no-repeat; /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, #0f3f00 0%,#000000 100%) no-repeat; /* Opera 11.10+ */ background: -ms-linear-gradient(top, #0f3f00 0%,#000000 100%) no-repeat; /* IE10+ */ background: linear-gradient(top, #0f3f00 0%, #000000 100%) no-repeat; /* W3C */ background-color: #000000; color: #222; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; } nav ul { list-style-type: none; margin: 0 auto; padding: 0; color: #0a0; } nav li { display: inline-block; margin: 0 1em 1em; background-color: #111; border-radius: 0 0 2em 2em; box-shadow: 0 4px 8px #111; } nav li a { display: inline-block; color: #7f7; padding: 0.3em 2em 0.5em; } nav li a:hover { color: #cfc; } #satellite img { width: 10em; } #satellite { z-index: -1; position: absolute; top: 2em; left: 0; -webkit-animation: hover 10s infinite alternate ease-in-out; -moz-animation: hover 10s infinite alternate ease-in-out; -ms-animation: hover 10s infinite alternate ease-in-out; -o-animation: hover 10s infinite alternate ease-in-out; animation: hover 10s infinite alternate ease-in-out; } @-webkit-keyframes hover { from { transform: scale(1.0) rotate(-9deg) translateY(0.1em); } to { transform: scale(1.1) rotate(0deg) translateY(-0.5em); } } @-moz-keyframes hover { from { transform: scale(1.0) rotate(-9deg) translateY(0.1em); } to { transform: scale(1.1) rotate(0deg) translateY(-0.5em); } } @keyframes hover { from { transform: scale(1.0) rotate(-9deg) translateY(0.1em); } to { transform: scale(1.1) rotate(0deg) translateY(-0.5em); } } h1, h2 { color: linear-gradient(top, #ddd 0%, #fff 100%) no-repeat; color: white; margin: 0; padding: 0; text-shadow: 0 1px 0 black, 0 2px 0 black, 0 3px 0 black, 0 4px 0 black, 0 5px 0 black, 0 6px 0 black, 0 7px 0 black, 0 8px 0 black, 0 9px 0 black, 0 10px 0 black, 0 11px 0 black, 0 12px 0 black; line-height: 0.95em; text-transform: uppercase; font-variant: small-caps; } h1 { font-weight: 900; font-size: 300%; z-index: -2; } h2 { font-weight: 700; font-size: 247%; z-index: -1; overflow-y: hidden; } a { color: #070; text-decoration: none; } .center { text-align: center; } dl dt { font-weight: bold; } article { z-index: 0; max-width: 600px; margin: -1.7rem auto 0; padding: 0 4em 8em; background-color: #eee; text-align: left; /* transform: translateZ(50px); */ } article h3 { padding: 6rem 0 0; font-size: 120%; /* leave room for date */ padding-right: 7rem; /* for absolute positioning of cctv */ position: relative; } article h3 date { position: absolute; right: 0; bottom: 0; font-size: 70%; color: #999; } article h3:before { content: url('../images/cctv_arm_left.svg'); position: absolute; left: -105px; padding-right: 2rem; bottom: -20px; z-index: -1; } article h3:after { content: url('../images/cctv_left.svg'); position: absolute; left: -128px; padding-right: 2rem; bottom: 32px; z-index: 4; transform-origin: 32px 24px; -webkit-animation: cctv_left 8s infinite linear; -moz-animation: cctv_left 8s infinite linear; -ms-animation: cctv_left 8s infinite linear; -o-animation: cctv_left 8s infinite linear; animation: cctv_left 8s infinite linear; } @-webkit-keyframes cctv_left { from { transform: rotate(0); } 10% { transform: rotate(9deg); } 20% { transform: rotate(6deg); } 30% { transform: rotate(9deg); } 32% { transform: rotate(7.5deg); } 60% { transform: rotate(7deg); } 80% { transform: rotate(12deg); } 90% { transform: rotate(1.5deg); } to { transform: rotate(0); } } footer { margin: 0; background-color: #0f3f00; color: #070; } footer a { color: #7f7; } #oldds { list-style-type: none; margin: 0 auto; } #oldds li { display: inline; padding: 0 0.3em; }