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

260 lines
4.6 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-03-08 21:15:18 +00:00
a,a:visited,a:link,a:focus {
text-decoration: none;
}
2015-07-18 20:37:16 +00:00
label {
cursor: pointer;
2015-07-18 21:11:02 +00:00
font-weight: bold;
2015-07-18 20:37:16 +00:00
}
2015-07-18 21:00:46 +00:00
label:hover{
color: white;
}
2015-02-21 22:31:08 +00:00
/**********
* *
* Header *
* *
2015-02-21 22:31:08 +00:00
**********/
2015-02-18 23:47:36 +00:00
header {
position: fixed; top: 0px; left: 0px; right: 0px;
2015-07-16 19:57:06 +00:00
margin: 0px; padding: 10px; z-index: 1;
2015-02-18 23:47:36 +00:00
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;
}
#toggle {
position: absolute; right: 0px;
2015-07-18 20:37:16 +00:00
margin: 0px; padding: 8px 25px; z-index: 3;
font: 1.3em "Lucida Sans Unicode", "Lucida Grande", sans-serif;
color: darkgrey; text-shadow: 0px 0px 5px white;
}
#toggle-navbar {
display:none;
}
/***********
2015-02-21 22:31:08 +00:00
* *
* Sidebar *
* *
***********/
#bar {
position: fixed; top: 0px; right: -300px; bottom: 0px;
width: 300px; margin: 0px; padding: 0px; overflow-x: hidden;
2015-02-18 23:47:36 +00:00
background-color: #202020;
2015-07-16 21:24:20 +00:00
z-index: 2;
2015-03-08 19:50:17 +00:00
transition: right 0.5s ease;
2015-02-18 23:47:36 +00:00
}
2015-02-19 04:01:37 +00:00
#toggle-navbar:checked + #bar {
2015-03-08 19:50:17 +00:00
right: 0px;
2015-02-18 23:47:36 +00:00
}
2015-02-23 21:12:32 +00:00
#bar #header {
2015-07-17 19:46:31 +00:00
position: absolute; top: 0px; bottom: 40px;
margin: 10% 0px;
width: 100%;
2015-02-18 23:47:36 +00:00
}
2015-07-16 19:57:06 +00:00
#menu {
2015-07-17 19:46:31 +00:00
position: absolute;
margin: 10px; padding: 10px; width: 100%; height: 100%;
z-index: 4;
2015-07-16 19:57:06 +00:00
list-style: none;
color: darkgrey; background-color: #202020;
2015-02-18 23:47:36 +00:00
}
#menu a:link,a:visited,a:focus {
2015-03-08 21:15:18 +00:00
color: darkgrey;
}
#menu a:hover {
2015-03-08 21:15:18 +00:00
color: white;
}
#menu li {
2015-03-08 20:57:22 +00:00
padding: 15px 10px;
2015-07-17 06:27:24 +00:00
}
[name=navigation] {
2015-03-08 21:29:41 +00:00
font-weight: bold;
2015-02-18 23:47:36 +00:00
}
2015-07-17 06:27:24 +00:00
#projects {
2015-03-08 19:04:44 +00:00
list-style: none;
}
#projects li {
padding: 10px;
2015-03-08 21:29:41 +00:00
font-weight: normal;
2015-03-08 19:04:44 +00:00
}
2015-03-08 19:50:17 +00:00
#projects div {
text-align: center;
2015-03-08 21:29:41 +00:00
font-size: 0.9em;
2015-03-08 19:50:17 +00:00
}
2015-07-17 06:27:24 +00:00
#posts {
2015-03-08 19:50:17 +00:00
list-style: none;
}
2015-03-08 20:57:22 +00:00
#posts li {
padding: 10px 0px;
2015-03-08 21:29:41 +00:00
font-weight: normal;
}
#posts a {
font-style: italic;
2015-02-24 03:17:26 +00:00
}
2015-07-17 06:27:24 +00:00
[name=projects_all] div {
text-align: center;
font-size: 0.9em;
}
2015-07-18 20:37:16 +00:00
[name=projects_all] li {
font-weight: normal;
2015-07-18 21:00:46 +00:00
margin: 0px 20px;
2015-07-18 20:37:16 +00:00
}
[name=posts_all] a{
2015-07-17 06:27:24 +00:00
font-style: italic;
}
2015-07-18 20:37:16 +00:00
[name=posts_all] li {
font-weight: normal;
2015-07-18 21:00:46 +00:00
margin: 0px 20px;
2015-07-18 20:37:16 +00:00
}
2015-07-16 19:57:06 +00:00
[name=menu_buttons] {
2015-07-18 21:00:46 +00:00
display: none;
}
2015-07-16 19:57:06 +00:00
[name=menu_buttons]:checked + #menu {
z-index: 5;
}
2015-02-23 21:12:32 +00:00
#bar #footer {
2015-03-08 19:50:17 +00:00
position: absolute; bottom: 0px;
width: 100%;
padding: 10px 0px;
text-align: center;
background-color: #202020;
z-index: 6;
2015-02-23 21:06:43 +00:00
}
2015-03-08 19:50:17 +00:00
#follow { }
2015-02-23 21:06:43 +00:00
#follow a {
padding: 0px 9px;
}
2015-02-18 23:47:36 +00:00
#info {
2015-03-08 19:50:17 +00:00
padding: 10px;
width: 100%;
2015-02-18 23:47:36 +00:00
}
#info #cw {
font: 0.9em "Lucida Sans Unicode", "Lucida Grande", sans-serif;
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 {
2015-03-08 20:57:22 +00:00
padding: 10px;
2015-02-23 22:41:41 +00:00
font: 1.2em "Lucida Sans Unicode", "Lucida Grande", sans-serif;
2015-03-08 20:57:22 +00:00
text-shadow: 2px 2px #DEDEDE; color: darkgrey; letter-spacing: 0.5em;
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 {
text-align: left;
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: 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;
}
2015-05-21 19:23:02 +00:00
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;
2015-05-21 19:23:02 +00:00
}
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
}