#badge{ height: 270px; } #container { width: 1200px; margin: 0 auto; } #contentwrapper { width: 1200px; } #content { width: 840px; padding: 10px 30px; float: right; overflow: display; margin: 0; border-bottom: dashed 1px #DDD; } #content:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; } .date { position: absolute; right: -10px; width: 10em; text-align: center; border-radius: 0px 0px 0px 15px; padding: 0.5em; background-color: #428bca; color: white; font-weight: bold; } footer { width: 102%; margin-left: -1%; } h1 + .date { margin-top: -3.5em; } h2 + .date { margin-top: -2.5em; } .posthead { margin-bottom: 1.5em; } .posthead h2, h1 { margin-bottom: 0.5em; } header { position: relative; margin: 0; padding: 0; } #navbar { font-size: 1.2em; padding-left: 300px; } div.navbar { background-color: black; } .navbar ul { list-style-type:none; margin:0; padding:0; } .navbar li { display:inline; color: white; text-align: center; } .navbar li.active a { background-color: #F30; color: white; text-shadow: 0.1em 0.1em 0.1em black; border-top: 1px solid #555; border-bottom: 1px solid #555; } .navbar li a { text-decoration: none; display: inline; text-decoration: none; font-weight: bold; color: #CCC; border-right: 1px solid #555; padding: 0.5em 1em; } .navbar li:first-child a { border-left: 1px double #ccc; } .navbar li a:hover { position: relative; color: #000; background-color: #fff; text-shadow: 1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff; border-top: 1px solid #555; border-bottom: 1px solid #555; z-index: 100; } .navbar li.active a:hover { color: #c00; } .previouspost { float: left; } @-webkit-keyframes toright { from { padding-left: 0px; opacity: 0; } to { padding-left: 150px; opacity: 1; } } @keyframes toright { from { padding-left: 0px; opacity: 0; } to { padding-left: 150px; opacity: 1; } } @-webkit-keyframes toleft { to { left: -10px; opacity: 1; } from { left: 300px; opacity: 0; } } @keyframes toleft { to { left: -10px; opacity: 1; } from { left: 300px; opacity: 0; } } @-webkit-keyframes appear{ to { opacity: 1; } from { opacity: 0; } } @keyframes appear{ to { opacity: 1; } from { opacity: 0; } } @-webkit-keyframes disappear{ to { opacity: 0 ; } from { opacity: 1; } } @keyframes disappear{ to { opacity: 0; } from { opacity: 1; } } #subheadline { position: absolute; -webkit-animation-name: toleft; -webkit-animation-duration: 3s; -webkit-animation-iteration-count: 1; -webkit-animation-timing-function: linear; -webkit-animation-fill-mode: forwards; animation-name: toleft; animation-duration: 3s; animation-iteration-count: 1; animation-timing-function: linear; animation-fill-mode: forwards; } .disappear { -webkit-animation-name: disappear; -webkit-animation-duration: 3s; -webkit-animation-timing-function: linear; -webkit-animation-iteration-count: 1; -webkit-animation-fill-mode: forwards; animation-name: disappear; animation-duration: 3s; animation-iteration-count: 1; animation-timing-function: linear; animation-fill-mode: forwards; } code { }