/* * CSS for theinternetvagabond.com * (C)2015 Bill Niblock * Licensed under the WTFPL [http://www.wtfpl.net] */ /* General */ .clean { clear:both;} body { position: relative; background-color: #EBEBFA; } a,a:visited,a:link,a:focus { text-decoration: none; } /********** * * * 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: -300px; bottom: 0px; width: 300px; margin: 0px; padding: 0px; overflow-x: hidden; background-color: #202020; transition: right 0.5s ease; } #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 { right: 0px; } #bar #header { position: relative; top: 10%; width: 100%; } #navigation { position: absolute; top: 12%; bottom: 18%; left: 0px; right: 0px; list-style: none; margin: 10px; color: darkgrey; } #navigation a:link,a:visited,a:focus { color: darkgrey; } #navigation a:hover { color: white; } #navigation li { padding: 15px 10px; font-weight: bold; } #navigation #projects { list-style: none; } #projects li { padding: 10px; font-weight: normal; } #projects div { text-align: center; font-size: 0.9em; } #navigation #posts { list-style: none; } #posts li { padding: 10px; font-weight: normal; } #posts a { font-style: italic; } #bar #footer { position: absolute; bottom: 0px; width: 100%; padding: 10px 0px; text-align: center; background-color: #202020; } #follow { } #follow a { padding: 0px 9px; } #info { padding: 10px; width: 100%; } #info #cw { font: 0.9em "Lucida Sans Unicode", "Lucida Grande", sans-serif; letter-spacing: 0.4em; color: grey; } #info a { padding: 0px 5px; } /******** * * * Body * * * ********/ main { position: relative; top: 0px; left: 0px; z-index: 0; width: 60%; min-width: 800px; height: 100%; min-height: 800px; margin: 0px auto; overflow: auto; } article { margin: 50px auto; padding: 10px; } article h1 { padding: 10px; font: 1.2em "Lucida Sans Unicode", "Lucida Grande", sans-serif; text-shadow: 2px 2px #DEDEDE; color: darkgrey; letter-spacing: 0.5em; } article h1::first-letter { margin: 0px; padding: 0px; font: 1.3em "Lucida Sans Unicode", "Lucida Grande", sans-serif; color: white; text-shadow: 0px 0px 10px blue; } article h2 { text-align: left; padding: 10px; border-bottom: 1px solid darkgrey; font: 1.0em "Lucida Sans Unicode", "Lucida Grande", sans-serif; text-shadow: 2px 2px #DEDEDE; color: darkgrey; letter-spacing: 0.6em; } article h3 { text-align: right; padding: 10px; border-bottom: 1px solid darkgrey; font: 1.0em "Lucida Sans Unicode", "Lucida Grande", sans-serif; text-shadow: 2px 2px #DEDEDE; color: darkgrey; letter-spacing: 0.6em; } article h4 { text-align: center; padding: 10px; border-top: 1px solid darkgrey; font: 0.8em "Lucida Sans Unicode", "Lucida Grande", sans-serif; color: darkgrey; letter-spacing: 0.4em; } article p { padding: 0px 25px; }