/* * CSS for theinternetvagabond.com * (C)2015 Bill Niblock * Licensed under the WTFPL [http://www.wtfpl.net] */ /* General */ .clean { clear:both;} body { position: relative; } /********** * * * Header * * * **********/ header { position: fixed; top: 0px; left: 0px; right: 0px; margin: 0px; padding: 10px; z-index: 5; background-color: white; border-bottom: 1px solid lightgrey; box-shadow: 0px 2px 10px -5px blue; } #title { float: left; list-style: none; margin: 0px 25px; padding: 0px; } #title li { float:left; margin: 0px; padding: 0px; font: 1.2em "Lucida Sans Unicode", "Lucida Grande", sans-serif; text-shadow: 2px 2px #DEDEDE; color: darkgrey; letter-spacing: 1.2em; } #title li::first-letter { margin: 0px; padding: 0px 2px; font: 1.3em "Lucida Sans Unicode", "Lucida Grande", sans-serif; color: white; text-shadow: 0px 0px 10px blue; } /*********** * * * Sidebar * * * ***********/ #navbar { position: fixed; top: 0px; right: 0px; bottom: 0px; width: 400px; margin: 0px; padding: 0px; z-index: 10; opacity: 100% } #navbar #bar { position: absolute; top: 0px; right: 0px; bottom: 0px; width: 0px; margin: 0px; padding: 0px; overflow-x: hidden; white-space: nowrap; background-color: #202020; transition: width 0.5s ease; } #navbar a { text-decoration: none; } #navbar #toggle-navbar { display:none; } #navbar #toggle { position: absolute; right: 0px; margin: 0px; padding: 13px 25px; z-index: 11; font: 1.3em "Lucida Sans Unicode", "Lucida Grande", sans-serif; color: darkgrey; text-shadow: 0px 0px 5px white; } #toggle-navbar:checked + #bar { width: 300px; } #follow { position: absolute; bottom: 100px; left: 0px; width: 100%; margin: 0px auto; padding: 0px; text-align: center; } #follow a { padding: 0px 9px; } #navigation { position: absolute; top: 12%; bottom: 18%; left: 0px; right: 0px; list-style: none; margin: 10px; border-bottom: 1px solid grey; } #navigation li { padding: 10px 10px; color: #888888; } #info { position: absolute; bottom: 0px; padding: 10px; margin: 10px auto; overflow-x: hidden; width: 100%; margin: 0px auto; text-align: center; } #info #cw { margin: 0px auto; padding: 10px 0px; width: 100%; font: 0.9em "Lucida Sans Unicode", "Lucida Grande", sans-serif; text-align: center; letter-spacing: 0.4em; color: grey; } #info a { padding: 0px 5px; } /******** * * * Body * * * ********/ main { position: fixed; top: 0px; left: 0px; bottom: 0px; z-index: 0; overflow: auto; background-color: #EBEBFA; } article { position: relative; width: 60%; margin: 50px auto; padding: 10px; } article h1 { font: 1.1em "Lucida Sans Unicode", "Lucida Grande", sans-serif; text-shadow: 2px 2px #DEDEDE; color: darkgrey; letter-spacing: 1.2em; } article h1::first-letter { margin: 0px; padding: 0px 2px; font: 1.3em "Lucida Sans Unicode", "Lucida Grande", sans-serif; color: white; text-shadow: 0px 0px 10px blue; } article h2 { text-align: right; padding: 0px; border-bottom: 1px solid darkgrey; font: 1.0em "Lucida Sans Unicode", "Lucida Grande", sans-serif; text-shadow: 2px 2px #DEDEDE; color: darkgrey; letter-spacing: 1.2em; } article p { padding: 0px 10px; }