@import "spin.css";

@-webkit-keyframes cher {
	0% {
		bottom:0px;
		left:0px;
	}

	25% {
		top:0px;
		left:0px;
	}

	50% {
		top:0px;
		right:0px;
	}

	75% {
		bottom:0px;
		right:0px;
	}

	100% {
		bottom:0px;
		left:0px;
	}
}



body {
	background:#444 url("bg.png");
	color:#fff;
	font:13pt Helvetica, Arial, sans-serif;
}

a:link, a:hover {
	color:#ddd;
}

a:visited {
	color:#bbf;
}

a:active {
	color:#bbb;
}

header.smoothed {
	-webkit-text-stroke-width: 0.9px;
}

summary.smoothed {
	-webkit-text-stroke-width: 0.4px;
}

#text {
	margin:0px;
	position:relative;
	left:51px;
	top:-34px;
	right:0px;
	width:496px;
	bottom:50px;
	height:24px;
	padding:0px;
	display:block;
	background:url("bar.gif");
	-webkit-border-top-right-radius:3px;
	-webkit-border-bottom-right-radius:3px;
	border-top-right-radius:3px;
	border-bottom-right-radius:3px;
	-moz-border-radius-topright:3px;
	-moz-border-radius-bottomright:3px;
	padding-top:5px;
	padding-left:3px;
	text-align:center;
}

#header header {
	position:absolute;
	top:15px;
	left:0px;
	right:0px;
	font-size:30pt;
	text-align:center;
	font-family:Kreon, sans-serif;
	font-weight:bold;
	cursor:default;
	text-rendering: optimizeLegibility;
}

#header summary {
	position:absolute;
	top:55px;
	left:0px;
	right:0px;
	font-size:18pt;
	text-align:center;
	font-family:Overlock, sans-serif;
	font-style:italic;
	cursor:default;
	display:none;
	text-rendering: optimizeLegibility;
}

#header > header + summary {
	display:block;
}

article {
	background:#222;
	background-color:rgba(0, 0, 0, 0.4);/**/
	border:2px solid #aaa;
	box-shadow:0px 0px 7px #ccc;
	-webkit-box-shadow:0px 0px 7px #ccc;
	border-radius:3px;
	padding:5px;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	margin:5px 10px;
	margin-bottom:20px;
	overflow:auto;
	transition:0.2s box-shadow ease-in;
	-webkit-transition:0.2s box-shadow ease-in;
	-moz-transition:0.2s box-shadow ease-in;
}

article:hover {
	-webkit-box-shadow:0px 0px 10px #aaf;
	box-shadow:0px 0px 15px #77f;
}

article > header {
	width:100%;
	/* the article box-shadow creates an illusion of the border being brighter
	   than it actually is, so we increase the brightness here to compensate */
	border-bottom:1px solid #ccc; 
	font:1.4em Delicious;
	margin-bottom:4px;
}

article > time {
	float:right;
	padding:0px;
	padding-top:5px;
}

article:hover > header:after {
	/* \b6 for a regular pilcrow, \2761 for a curly pilcrow */
	/*
	content:"\b6";
	color:#666;
	position:relative;
	bottom:3px;
	left:5px;
	font-size:15pt;
	margin:0px;
	padding:0px;
	font-family:sans-serif;
	/* */
	
	width:15px;
	height:15px;
	content:url("/img/awesome.png");
	position:relative;
	left:5px;
}

body > section {
	margin-top:-50px;
}

article > section > summary {
	margin-left:5px;
}

article > section > summary > p {
	margin-top:0px;
	margin-bottom:0px;
}

article > section > summary > p:before {
	/* Yes, I tried :first-line and padding/margins. No, it did not work. */
	content:"\00a0\00a0\00a0\00a0";
}

article > section > aside, article > section > figure {
	text-align:center;
	float:right;
	margin:0px;
	display:block;
	border:1px solid #aaa;
	background:#191919;
	border-radius:2px;
	padding:3px;
}

article > section > figure > img {
	display:block;
}

article > section > figure > figcaption {
	font-size:0.75em;
}

#articles {
	margin-top:125px;
}

a.pretty:before, a.pretty:after {
	color:#666;
}

a.pretty:before {
	content:"<";
}

a.pretty:after {
	content:">";
}


header > a, header {
	color:#fff;
	text-decoration:none;
}

summary, a:link {
	-webkit-transition:color 0.2s linear;
	transition:color 0.2s linear;
}

/*
body > header {
	-webkit-transition:color 0.2s linear, -webkit-transform 0.5s ease-in-out, text-shadow 0.5s linear;
	transition:color 0.2s linear, transform 0.5s ease-in-out, text-shadow 0.5s linear;
}

body > header:hover {
	color:#fff;
	-webkit-transform:rotateX(180deg);
	transform:rotateX(180deg);
	-ms-transform:rotateX(180deg);
	text-shadow:0px 0px 10px #fff;
}
*/

code {
	font-size:0.9em;
	font-family:Consolas, monospace;
	background:rgba(0, 0, 0, 0.2);
	border:none;
	border-radius:5px;
	margin-left:3px;
	margin-right:3px;
	-webkit-transition:all 0.3s ease-in-out;
	transition:all 0.3s ease-in-out;
	overflow:hidden;
}

code:hover {
	background:rgba(0, 0, 0, 0.4);
	box-shadow:0px 0px 5px #888;
}

body > summary > code {
	color:#fff;
}

code::selection, code::-moz-selection {
	background:rgba(255, 255, 255, 0.15);
	border-radius:5px;
}

a:link > img {
	border:none;
	position:relative;
	top:2px;
	margin:auto 4px;
}

@font-face {
	font-family:Delicious;
	src:url("Delicious.eot");
	src:local("ROFLLocalHahahae"), url("Delicious.woff") format("woff"), url("Delicious.ttf") format("truetype"), url("Delicious.svg#webfont") format("svg");
	font-weight:normal;
	font-style:normal;
}

#muhshell {
	position:fixed;
	top:4px;
	right:4px;
}

#advice {
	position:fixed;
	top:4px;
	left:4px;
}

#cher {
	background-image: url("cher.png");
	background-repeat: no-repeat;
	width: 250px;
	height: 247px;

	position:fixed;
	bottom:0px;
	left:0px;
}

#cher:hover {
	background-image: url("css.gif");
	width: 430px;
	height: 235px;
	bottom: 12px;
}