the-internet-vagabond-dot-com/src/styles.css

194 lines
3.9 KiB
CSS
Raw Normal View History

2015-02-18 23:47:36 +00:00
/*
* 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;
2015-02-18 23:47:36 +00:00
}
2015-02-21 22:31:08 +00:00
/**********
* *
* Header *
* *
**********/
2015-02-18 23:47:36 +00:00
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;
2015-02-18 23:47:36 +00:00
}
#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;
}
2015-02-21 22:31:08 +00:00
/***********
* *
* Sidebar *
* *
***********/
2015-02-18 23:47:36 +00:00
#navbar {
position: fixed; top: 0px; right: 0px; bottom: 0px;
2015-02-19 04:01:37 +00:00
width: 400px; margin: 0px; padding: 0px; z-index: 10; opacity: 100%
}
#navbar #bar {
2015-02-19 04:01:37 +00:00
position: absolute; top: 0px; right: 0px; bottom: 0px;
2015-03-08 19:04:44 +00:00
width: 0px; margin: 0px; padding: 0px; overflow-x: hidden;
2015-02-18 23:47:36 +00:00
background-color: #202020;
transition: width 0.5s ease;
}
#navbar a {
text-decoration: none;
}
2015-02-19 04:01:37 +00:00
#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;
2015-02-19 04:01:37 +00:00
color: darkgrey; text-shadow: 0px 0px 5px white;
}
#toggle-navbar:checked + #bar {
2015-02-18 23:47:36 +00:00
width: 300px;
}
2015-02-23 21:12:32 +00:00
#bar #header {
position: relative; top: 10%;
width: 100%;
2015-02-18 23:47:36 +00:00
}
#navigation {
position: absolute; top: 12%; bottom: 18%; left: 0px; right: 0px;
2015-02-18 23:47:36 +00:00
list-style: none;
2015-02-19 04:01:37 +00:00
margin: 10px;
2015-02-18 23:47:36 +00:00
}
#navigation li {
2015-02-19 04:01:37 +00:00
padding: 10px 10px;
2015-02-18 23:47:36 +00:00
color: #888888;
}
2015-03-08 19:04:44 +00:00
#navigation #projects {
list-style: none;
}
#projects li {
padding: 10px;
}
2015-02-24 03:17:26 +00:00
#navigation #expand {
padding: 0px 20px;
border-top: 1px solid grey;
border-bottom: 1px solid grey;
}
2015-02-23 21:12:32 +00:00
#bar #footer {
2015-02-23 21:06:43 +00:00
}
#follow {
position: absolute; bottom: 100px; left: 0px;
width: 100%; margin: 0px auto; padding: 0px;
text-align: center;
}
#follow a {
padding: 0px 9px;
}
2015-02-18 23:47:36 +00:00
#info {
2015-02-19 04:01:37 +00:00
position: absolute; bottom: 0px;
padding: 10px; margin: 10px auto; overflow-x: hidden;
width: 100%; margin: 0px auto; text-align: center;
2015-02-18 23:47:36 +00:00
}
#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;
2015-02-18 23:47:36 +00:00
}
2015-02-21 22:31:08 +00:00
/********
* *
* Body *
* *
********/
main {
position: relative; top: 0px; left: 0px; z-index: 0;
width: 60%; min-width: 800px; height: 100%; min-height: 800px;
margin: 0px auto;
2015-02-23 20:01:40 +00:00
overflow: auto;
2015-02-21 22:31:08 +00:00
}
2015-02-23 19:20:14 +00:00
article {
2015-02-23 20:01:40 +00:00
margin: 50px auto; padding: 10px;
2015-02-21 22:31:08 +00:00
}
2015-02-23 22:41:41 +00:00
article h1 {
font: 1.2em "Lucida Sans Unicode", "Lucida Grande", sans-serif;
text-shadow: 2px 2px #DEDEDE; color: darkgrey;
2015-02-21 22:31:08 +00:00
}
2015-02-23 19:20:14 +00:00
article h1::first-letter {
2015-02-23 22:41:41 +00:00
margin: 0px; padding: 0px;
2015-02-23 19:20:14 +00:00
font: 1.3em "Lucida Sans Unicode", "Lucida Grande", sans-serif;
color: white; text-shadow: 0px 0px 10px blue;
2015-02-21 22:31:08 +00:00
}
2015-02-23 20:01:40 +00:00
article h2 {
2015-02-21 22:31:08 +00:00
text-align: right;
2015-02-23 22:41:41 +00:00
padding: 10px;
2015-02-21 22:31:08 +00:00
border-bottom: 1px solid darkgrey;
font: 1.0em "Lucida Sans Unicode", "Lucida Grande", sans-serif;
2015-02-23 22:41:41 +00:00
text-shadow: 2px 2px #DEDEDE; color: darkgrey; letter-spacing: 0.6em;
2015-02-21 22:31:08 +00:00
}
2015-02-23 20:01:40 +00:00
article h3 {
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;
}
2015-02-23 20:01:40 +00:00
article p {
2015-02-24 00:37:26 +00:00
padding: 0px 25px;
2015-02-23 20:01:40 +00:00
}