@import url(https://fonts.googleapis.com/css?family=Lato:900);
@import url(https://fonts.googleapis.com/css?family=PT+Serif);

/* ikiwiki style.css overrides */

#pageinfo {
  border-top: none;
}
.inlinepage {
  border: none;
}
.header {
  font-size: 100%;
  font-weight: normal;
}
.comment {
  border: none;
}

/* local styling */

a img { border: 0; }
body {
    margin: 40px auto;
    padding 0 10px;
    max-width: 48em;
	color: #444;
	background: white;
	font-family: 'PT Serif', serif;
    line-height: 1.6;
    font-size: 18px;
}
#content {
	overflow-x: auto;
	width: 48em;
}
#bg {
height: 525px;
}
#nav {
	font-size: x-small;
}

a:link    { color: #582A72; font-weight: bold; }
a:hover   { text-decoration: underline; /*color: #afa;*/ }
/*a:active  { color: #8a8; }*/
a:visited { color: #8654A1; font-style: italic; }

h1 { font-size: x-large; }

hr { border: none; border-top: 2px solid #582A72; clear: both; }

.actions ul { padding: 0.5em;
	display: inline;}
.actions ul li{  margin: 0; padding: 0;
	display: inline;}

/* a warning box */
.warning {
	border: 2px dashed #a88;
	padding: 2em;
	color: #a88;
    margin: 2em;
}

/* an info box */
.info {
	border: 2px dashed #582A72;
	padding: 2em;
	color: #582A72;
    margin: 2em;
}


/* a class to encapsulate an image */
.image {
  clear: both;
  float: right;
  margin: 1em;
  margin-right: 0;
  text-align: center;
  -moz-border-radius: 8px;
  padding: 0.25em;
  border: 1px solid #888;
}
.image:hover {
  border: 1px solid #582A72;
}
.image p { margin: 0; font-size: smaller; text-align: center; }

.image2 {
  float: left;
  margin: 1em;
  text-align: center;
  -moz-border-radius: 8px;
  padding: 0.25em;
  border: 1px solid #888;
}
.image2:hover {
  border: 1px solid #582A72;
}
.image2 p { margin: 0; font-size: smaller; text-align: center; }

.floatright {
    float: right;
    clear:both;
}

h1,h2/*,h3,h4,h5,h6*/ {
    clear: both;
}
h1,h2,h3,h4,h5,h6 {
    font-family: 'Lato', helvetica, sans-serif;
    font-weight: 900;
    line-height: 1.2;
}

/* Orange feed button. */
.feedbutton {
	background: #ff6600;
	color: white !important;
	border-left: 1px solid #cc9966;
	border-top: 1px solid #ccaa99;
	border-right: 1px solid #993300;
	border-bottom: 1px solid #331100;
	padding: 0px 0.5em 0px 0.5em;
	font-family: sans-serif;
	font-weight: bold;
	font-size: small;
	text-decoration: none;
	margin-top: 1em;
}
.feedbutton:hover {
	color: white !important;
	background: #ff9900;
}

/* hack */
.inlinepage .author { display: none; }
.inlinepage {
	border-top: 2px solid #582A72;
}

/* css3 external links stuff
 * thanks to < http://www.kryogenix.org/days/2002/08/30/external>
 * disabled due to problems in chrome
 * try again */
#content a[href^="http:"]:after, 
#content a[href^="https:"]:after {
  content: "↗";
}
/* exceptions */
#content a[href^="http://fusion.google.com"]:after,
#content a[href^="https://jmtd.net"]:after,
#content .image a:after
{
  content: none;
}

/* firehose */
.feedsource { float: right; }

/* prevent long titles from being split across lines, e.g.:

    foo -> bar -> really             foo -> bar ->
    long                             really long
*/
.title { white-space: nowrap; }

/* comments */
#editcontent { width: 48em; }
.comment-header {
        font-style: italic;
        font-size: small;
        text-align: right;
        padding-left: 1em;
}
.comment-header:before {
        content: "—";
}

/* workaround: cannot be disabled at the moment */
#comments #feedlink { display: none; }

/* {{{ begin copied frmo ikiwiki/local */
/* openid selector */
#openid_choice {
	display: none;
}
#openid_input_area {
	clear: both;
	padding: 10px;
}
#openid_btns, #openid_btns br {
	clear: both;
}
#openid_highlight {
	background-color: black;
	float: left;
}
.openid_large_btn {
	padding: 1em 1.5em;
	border: 1px solid #DDD;
	margin: 3px;
	float: left;
}
.openid_small_btn {
	padding: 4px 4px;
	border: 1px solid #DDD;
	margin: 3px;
	float: left;
}
a.openid_large_btn:focus {
	outline: none;
}
a.openid_large_btn:focus {
	-moz-outline-style: none;
}
.openid_selected {
	border: 4px solid #DDD;
}
/* end copied from ikiwiki }}} */

.pageheader { padding-bottom: 1em; border-bottom: 2px solid #582A72; }

.tags, #backlinks { font-size: small; }
.tags ul li:after, #backlinks ul li:after { content: "," }
.tags ul li:last-child:after, #backlinks ul li:last-child:after {
	content: ". ";
	}
#comments { margin-bottom: 1em; }


.tags ul, #backlinks ul { list-style-type: none; display: inline; margin: 0; padding: 0; }

.tags ul li, #backlinks ul li { display: inline; }

.metadata {border-top: 2px solid #582A72; padding-top: 1em;}
.metadata ul {text-align: center; color: #582A72; display: inline; font-style: italic; list-style-type: none;}

#backlinks { display: none; }

.editcomment #subject { display: none; }

.comment-subject { display: none; }

#comments { margin-left: 1em; margin-right: 1em;}

.comment { border-bottom: 1px solid #582A72; margin-bottom: 1em;}

.illustration {
  clear: both;
  float: right;
  margin: 1em;
  margin-right: 0;
  text-align: center;
  padding: 0.25em;
}
.illustration p { margin: 0; font-size: smaller; text-align: center; }

#content {
	text-align:justify;
}
#content ul {
	text-align: left;
}

/* table plugin: full-width table */
.fullwidth_table {
  width: 100%;
  border-collapse: collapse;
}
.fullwidth_table th {
  border-bottom: 3px double black;
}
.fullwidth_table tr:hover td {
  background: #ffc;
}

/* table plugin: shaded table */
.shaded_table {
    border-collapse: collapse;
}
.shaded_table thead {
    font-weight: bold;
    text-align: center;
    text-decoration: underline;
}
.shaded_table td {
    border: 1px solid #ccc;
}

.lede {
    font-size: larger;
}

.wide, .wide img {
    width: 100%;
    border-top: 2px solid #582A72;
    border-bottom: 2px solid #582A72;
}

/* right-aligned image, no border */
.rightimg {
  clear: both;
  float: right;
  margin: 1em;
  margin-right: 0;
  border: 0;
}

/* styling for the doom page items */
.doomheader {
  display: block;
  margin-bottom: 1em;
  height: 180px;
  background: 0% 50% no-repeat;background-size: 100%;
  }
.doomheader h3, .doomheader p {
  background: #582A72;
  color: white;
  display: inline;
  padding: 0.25em;
}
.doomnoir   { background-image: url(/doom/small_doomnoir.jpg); }
.wadc       { background-image: url(/doom/small_wadc.png); }
.unreal8    { background-image: url(/doom/small_unreal8.jpg); }
.tensectors { background-image: url(/doom/small_10sectors.jpg); }
.chocolate  { background-image: url(/doom/small_chocolate.png); }
.freedoom   { background-image: url(/doom/small_freedoom.jpg); }
.jbreak     { background-image: url(/doom/small_jbreak.jpg); }
.gib        { background-image: url(/doom/small_gib.jpg); }
.smallfun   { background-image: url(/doom/small_smallfun.jpg); }
.colormap   { background-image: url(/doom/colormap/DOOM02.png); }
.birds      { background-image: url(/doom/small_birds.jpg); }

/* a centered image box */
.image_centre {
  clear: both;
  margin: 1em;
  display: inline-block;
  margin-right: auto;
  margin-left: auto;
  -moz-border-radius: 8px;
  padding: 0.25em;
  border: 1px solid #888;
}
.image_centre:hover {
  border: 1px solid #582A72;
}
.image_centre p { margin: 0; font-size: smaller; text-align: center; }
.centre {
  text-align: center;
}
