@font-face {
	font-family: 'RisingSun';
	src: url('../fonts/RisingSunRegular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'RisingSunBold';
	src: url('../fonts/RisingSunBold.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'RisingSunThin';
	src: url('../fonts/RisingSunThin.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}


:root {
	--color_bg: #1d1410;
	--color_menu: #dbc99d;
	--color_text: #fff;
	--color_link: #ff443b;
	--color_even: #ff443b30;
}

body {
  font-family: 'RisingSun', monospace;
  font-size: max( 20px, 100%);
  background-color: var(--color_bg);
  color: var(--color_text);
  width: 80%;
  max-width: 1000px;
  min-width: 400px;
  min-height: 200px;
  padding: 1em;
  margin: 1% 5%;
  display: block;
}

a { font-family: 'RisingSunBold', monospace; }
a:link    { color: var(--color_link); text-decoration: none;      }
a:hover   { color: var(--color_link); text-decoration: underline; }
a:visited { color: var(--color_link);                             }


h2, h3, h4, h5, h6
{ 
	font-family: 'RisingSunThin', monospace; 
}
h1 a { color: inherit !important; font-family: 'RisingSunThin', monospace; }
h2 a { color: inherit !important; font-family: 'RisingSunThin', monospace; }
h3 a { color: inherit !important; font-family: 'RisingSunThin', monospace; }
h4 a { color: inherit !important; font-family: 'RisingSunThin', monospace; }
h5 a { color: inherit !important; font-family: 'RisingSunThin', monospace; }
h6 a { color: inherit !important; font-family: 'RisingSunThin', monospace; }

p, td, footer
{
	line-height: 1.7em;
}

#menu li {
    display: inline;
}

#post-list {
    margin-bottom: 1em;
    margin-top: 1em;
}

pre {
    margin: 2em 1em 2em 4em;
    white-space: pre-wrap;
}

img {
	max-width: 100%;
}

h2
{
	font-size: 3em;
	margin-top: 50px;
	margin-bottom: 100px;
}

h3
{
	font-size: 2.5em;
	margin-top: 100px;
	margin-bottom: 30px;
}

table, tr, th, td
{
	padding: 0;
	margin: 0;
	border-collapse: collapse;
}

table
{
	margin: 10px 0 10px 0;
	width: 100%;
	border: 2px solid var(--color_link);
}

tr:nth-child(even) 
{
	background: var(--color_even);
}

th, td
{
	padding: 5px 10px;
}

th
{
	font-family: 'RisingSunBold', monospace;
	color: var(--color_bg);
	background: var(--color_link);
}

td
{
	border: 1px solid var(--color_link);
}

.article.index
{
	display: block;
	width: 100%;
	float: left;
	padding: 10px 0 0 0;
	background: var(--color_bg);
	background: linear-gradient(90deg, var(--color_bg) 0%, var(--color_bg) 80%,var(--color_even) 100%);
	border: 0px solid var(--color_link);
	border-right-width: 2px;
	border-radius: 10px;
	margin: 0 0 50px 0;
}

.article.index h3
{
	margin-top: 0;
}

/* post-info */

div.index footer.post-info
{
	display: block;
	float: left;
	background: var(--color_even);
	width: 96%;
	padding: 3px 2% 5px 2%;
	margin: 10px 0 0 0;
}

div.index footer.post-info .field
{
	display: block;
	width: 25%;
	float: left;
	font-size: 0.8em;
}
