/* tarded shit */
:root {
	--fg: #605A52;
	--bg: #FCFBF9;
	--ba: #F7F3EE;
	
	--purple: #83577D;
	--blue:   #556995;
	--teal:   #477a7B;
	--orange: #886A44;
	--green:  #747B4D;
	--red:    #8F5652;
}

body { display: flex; flex-wrap: wrap; font-family: monospace; }
header { flex-basis: 100%; flex-shrink: 0; }
article { flex-basis: 60%; padding-left: 1em; }
footer { flex-basis: 100%; flex-shrink: 0; }
header nav { display: flex; justify-content: space-between; }
nav a, header a { text-decoration: none ; color: inherit; }
header h1 span { margin-left: 1em; font-size: 50%; font-style: italic; }
body > nav { flex-basis: content; padding-right: 1vw; min-width: 16em; }
nav ul { display: flex; flex-direction: column; list-style-type: none; list-style-position: outside; padding-left: 0;  }
nav li ul { padding-left: 0.6em }
footer { display: flex; justify-content: space-between; }

sub {color:rgb(090,150,000);}
sup {color:rgb(090,150,000);}

/* cut here to leave vanity behind */

/*
body { margin:0; padding: 0; font-size: 84%; font-family: Helvetica, Verdana, Arial, 'Liberation Sans', FreeSans, sans-serif; }
a { text-decoration: none; color: }
a:hover { text-decoration: underline; }
.thisPage { color: black; }
*/

/* abandon all vanity, ye who enter here */
/*
body {
	margin 0;
	padding 0;
	font-size: 84%;
	font-family: Courier, Liberation Mono, monospace;
}
a {text-decoration: none; }
a:hover { text-decoration: underline; }
.thisPage { color: black; }
*/

/* what the fuck */
body {
	margin: 0;
	padding: 0;
	/*font-size: 84%;*/
	font-size: 110%;
	font-family: monospace;
}

/* header and top bar */
/*
header nav { background-color: rgb(150,000,150); color: white; padding: 0.3em; border-bottom: 2px solid black; font-size: 91%; }
header h1 { background-color: #05cc00; color: black; margin: 0; border-bottom: 2px solid black; font-weight: normal; padding: 0.25ex; font-size: 233%; }
header a:hover { text-decoration: none; }
*/

header nav {
	background-color: var(--purple);
	color: var(--bg);
	padding: 0.3em;
	border-bottom: 2px solid var(--bg);
	font-size: 101%;
}

header h1 {
	background-color: var(--green);
	color: var(--ba);
	margin: 0;
	border-bottom: 2px solid var(--fg);
	font-weight: normal;
	padding: 0.25ex;
	font-size: 233%; }

header a:hover {text-decoration: none;}

/* sidebar */
body > nav { border-right: 1px solid #ddd; padding: 0;  } 
body > nav > div { border-bottom: 1px solid #ddd; } 
/* body > nav > div a { color: rgb(0, 102, 204); display: block; text-transform: capitalize; font-weight: bold; padding: 0.25em 1ex 0.25em 2mm; font-size: 102%} */
body >nav > div a { 
	color: var(--green);
	display: block;
	font-weight: bold;
}

body > nav > div a:hover { color: var(--bg); background-color: var(--green); border-left: black solid 0.2em; text-decoration: none; }
body > nav > div p { font-weight: bold; margin: 0 0 0.5em 2mm; padding: 1em 0 0 0; }

/* main copy */
article { padding: 0.5ex 0 5vh 1vw;  }
article h1, article h2 { color: var(--red); font-weight: bold; margin: 2em 0 0 0; border-bottom: 2px solid rgb(090,150,000); }
article h3, article h4, article h5 { color: var(--orange); font-weight: bold; margin: 2em 0 0 0; }
article h6, article h7, article h8 { color: var(--orange); font-weight: bold; margin: 2em 0 0 0; }
article a { color: var(--blue); }
article a:hover { color:  var(--red); }
article a:active { font-style: italic; }
article pre { font-size: 1.2em; }

/* footer */
footer { color: white; background-color: var(--purple); }
footer a { color: var(--bg); }
footer div { padding: 1em; }

/* tables */
table { border: 1px solid rgba(128,128,128,0.5); padding: 0; }
th { color: white; background-color: rgb(100,135,220); }
tr:nth-child(odd) { background-color: rgba(128,128,128,0.1)  }


/* weird shit */
body { background-image: url('/media/slackware-bg.jpg');
article {
	background-color: var(--ba);
	/*background-color: #faf0e6;*/
	border: 2px solid;
	border-top-style: hidden;
}
