/*
 * Master style sheet for the Quinn's Big City Hasenpfeffer theme/style.
 * Copyright (C) 2009 Shawn K. Quinn
 *
 * TODO: for @print, black on white
 */

body {
	text-align: center;
	background: #000000;
	color: #ffffff;
	font-family: "Bitstream Vera Sans", "Liberation Sans", 
	Arial, Helvetica, sans-serif;
}

#wrapper {
	display: block;
	border: 1pt #333333 solid;
	margin: 0 auto;
}

#header {
	border: none;
	margin: 0;
}

#header h1 {
	margin: 0;
	padding: 0;
}

#header h1 a img {
	border-style: none;
	border-width: none;
	text-decoration: none;
}

#header #desc {
	font-size: 1.1em;
	background: #fff;
	color: #000;
	margin: 0 auto;
	text-align: center;
	width: 488px; /* this is an ugly kludge and will need to be fixed
			 later */
}

#content {
	text-align: left;
	background: #111;
	padding: 0.5em;
}

#sidebar {
	text-align: left;
	background: #111;
}

.byline {
	text-align: right;
	background: #eee;
	color: #111;
}

.post h2 {
	background: #333;
	color: #eee;
}

h2 a {
	text-decoration: none;
}

a:link {
	color: #bbb;
	text-decoration: underline;
}

a:visited {
	color: #fff;
}

/* 
 * This is admittedly a bit hackish. No telling what it will do on other
 * media types that do not qualify as screen, handheld, or tv. For the
 * moment I've put handheld and tv together; this will change later.
 *
 * TODO: tty (maybe?)
 */

@media screen, print, projection {
	.post h2 {
		font-size: 1.7em;
		padding: 0.2em;
	}

	/* Drop caps! */

	.entry > p:first-child:first-line {
		font-size: 1.3em;
	}

	.entry > p:first-child:first-letter {
		display: inline-block;
		float: left;
		font-size: 3.2em;
		margin: 1px;
		padding: 3px;
		font-family: "Liberation Serif", "Bitstream Vera Serif",
			"Times New Roman", serif;
		text-align: center;
		background: #fff;
		color: #333;
	}

	#wrapper {
		width: 90%;
	}

	#content {
		width: 71%;
		float: left;
		margin: 1%;
		padding: 1%;
	}
	
	#sidebar {
		width: 21%;
		float: right;
		margin: 1%;
		padding: 1%;
	}

	.byline {
		padding: 0.2em;
		font-size: 0.8em;
	}

	.post {
		padding: 0.6em;
	}

}

@media handheld, tv {
	.post h2 {
		font-size: 1.4em;
		padding: 0;
	}

	#content, #sidebar {
		width: 100%; /* might be unnecessary */
		margin: 0;
		padding: 0;
	}

	#wrapper {
		width: 100%;
	}

	.byline {
		padding: 0;
		font-size: 0.7em;
	}
}

#delimiter {
	clear: both;
}

#footer {
	border: none;
	margin: 1em;
}

.title {
	font-size: 1.4em;
	font-family: "Anonymous Pro", Anonymous, 
		"Bitstream Vera Sans Mono", "Liberation Mono",
		"Courier New", Courier, Monaco, monospace; 
	font-weight: bold;
}

#sidebar .title {
	padding: 0.3em 0;
	margin: 0.1em 0;
	border-width: 2pt 0;
	border-style: solid;
	border-color: #fff;
}

#sidebar ul {
	list-style: none;
}

.category-icon {
	display: none;
}

/*
 * You can't just categorize a page. So the Ongoing LOVIEE(s) have to be
 * specified by ID. Quite ugly, dare I say it. Mobile displays do not get the
 * icon; this is on purpose. After the rollout of the new LOVIEE logos in 2010
 * February/March they may get a smaller version as the new concept should be
 * much friendlier to very small sizes.
 */

@media screen, tv, print, projection {

	.category-weekly .category-icon,
	.category-monthly .category-icon,
	.category-special .category-icon,
	.category-recap .category-icon,
	.category-oth .category-icon,
	#post-28 .category-icon {
		display: block;
		width: 192px;
		height: 192px;
		padding: 1em;
		float: left;
		background-position: center center;
		background-repeat: no-repeat;
	}
	
	.category-weekly .category-icon,
	.category-monthly .category-icon,
	.category-special .category-icon,
	.category-oth .category-icon,
	.category-recap .category-icon, 
	#post-28 .category-icon {
		height: 192px;
	}
	
	.category-weekly .category-icon {
		background-image: url(images/192/weekly.png);
	}
	
	.category-monthly .category-icon {
		background-image: url(images/192/monthly.png);
	}
	
	.category-special .category-icon {
		background-image: url(images/192/special.png);
	}
	
	.category-recap .category-icon {
		background-image: url(images/192/recap.png);
	}
	
	.category-oth .category-icon {
		background-image: url(images/192/oth.png);
	}
	
	#post-28 .category-icon {
		background-image: url(images/192/ongoing.png);
	}

}

@media screen, tv, projection {
	.category-weekly {
		background: #110a0e;
	}
	
	.category-weekly h2 {
		background: #331f25;
		color: #ee8fbe;
	}
	
	.category-weekly .byline {
		background: #ee8fbe;
		color: #0e110a;
	}
	
	.category-weekly .entry > p:first-child:first-letter {
		color: #110a0e;
	}

	.category-monthly {
		background: #0e110a;
	}
	
	.category-monthly h2 {
		background: #25331f;
		color: #beee8f;
	}
	
	.category-monthly .byline {
		background: #beee8f;
		color: #0e110a;
	}
	
	.category-monthly .entry > p:first-child:first-letter {
		color: #0e110a;
	}
	
	.category-special {
		background: #0a0e11;
	}
	
	.category-special h2 {
		background: #1f2533;
		color: #8fbeee;
	}
	
	.category-special .byline {
		background: #8fbeee;
		color: #0a0e11;
	}

	.category-special .entry > p:first-child:first-letter {
		color: #0a0e11;
	}
}

ul, ol, dl {
	list-style-position: inside;
}

.spiel {
	font-style: italic;
	margin: 1em 0;
	padding: 1em;
	border: 1px solid;
	font-size: 1.1em;
}
