@import url('styles.css');
@import url('chat.css');

@font-face{
    font-family: 'Jura';
    src: url('/theme/fonts/Jura-Book.ttf') format('truetype');
}

@font-face{
    font-family: 'Alice';
    src: url('/theme/fonts/Alice-Regular.ttf') format('truetype');
}

html {
	height: 100% ;
}

body {
	font-family: 'Jura', sans-serif;
	font-size : 100% ;
	height: 100% ;

	max-width: 800px;
	margin: 0 auto;

	background: #e5e5e5;
	background: -moz-linear-gradient(top, #e5e5e5 0%, #fefefe 100%);
	background: -webkit-linear-gradient(top, #e5e5e5 0%,#fefefe 100%);
	background: linear-gradient(to bottom, #e5e5e5 0%,#fefefe 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5e5e5', endColorstr='#fefefe',GradientType=0 );
	background-repeat: no-repeat;
	background-attachment: fixed;
}

code {
	white-space: pre-wrap;
}

.entry-content { font-family: 'Alice', serif; }

a:link    { color : blue ; text-decoration : none ;      }
a:hover   { color : blue ; text-decoration : underline ; }
a:visited { color : blue ;                               }

h1 a { color : inherit !important }
h2 a { color : inherit !important }
h3 a { color : inherit !important }
h4 a { color : inherit !important }
h5 a { color : inherit !important }
h6 a { color : inherit !important }

pre {
    margin : 2em 1em 2em 4em ;
}

.toc {
  margin-top: 16px;
  display: table;
  width: auto;
}

.toctitle {
  font-weight: bold;
}

/* No bullets for toc list, indentation of nested lists 1em */
.toc ul {
    list-style-type: none;
    padding-left: 1rem;
    margin-bottom: 0px;
}

/* Top level list has no indentation */
.toc > ul {
    /* no indentation */
    padding-left: 0;
    margin-top: 0;
}

body > header > nav > ul {
	position:absolute;
	top:0em;
	right:0em;
	margin-top:12px;
	margin-right:12px;
}

nav > ul > li {
	display : inline ;
}

#banner h1 {
	margin-top:12px;
}

#contentinfo { display: none; }

#post-list {
	counter-reset:li; /* Initiate a counter */
	margin-left:0; /* Remove the default left margin */
	padding-left:0; /* Remove the default left padding */
}
#post-list li {
	position:relative; /* Create a positioning context */
	margin:0 0 6px 2em; /* Give each list item a left margin to make room for the numbers */
	padding:4px 8px; /* Add some spacing around the content */
	list-style:none; /* Disable the normal item numbering */
	border-top:2px solid #666;
}
#post-list  li:before {
	content:counter(li); /* Use the counter as content */
	counter-increment:li; /* Increment the counter by 1 */
	/* Position and style the number */
	position:absolute;
	top:-2px;
	left:-2em;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
	width:2em;
	/* Some space between the number and the content in browsers that support
	   generated content but not positioning it (Camino 2 is one example) */
	margin-right:8px;
	padding:4px;
	border-top:2px solid #666;
	color:#fff;
	background:#666;
	text-align:center;
	font-weight:bold;
}
.hentry {
	margin-top: -1em;
}
