@charset "utf-8";
/* Copyright © 2020 Dict Xiong. All rights reserved. */
/* Email: xiong.dian@qq.com */

/* CSS Document */

/* latin */

:root
{
	--white:#f0f0f0;
	--black:#1f1f1f;
	--salt:#101521;
	--rule:#103c67;
	--logo: "Ubuntu", "Avenir Next", Avenir, Deng, "等线", "STHeiti Light", STXihei, "华文细黑", SimHei, "黑体", STHeiti, "华文黑体", sans-serif;
	--serif: "Minion Pro", Minion, MinionPro, 'Noto Serif', Georgia, 'Noto Serif CJK SC', 'Noto Serif CJK', 'Source Han Serif SC', 'Source Han Serif', source-han-serif-sc, STZhongsong, "华文中宋", STSongg, "华文宋体", SimSun, "宋体", serif;
	--sans-serif: "Open Sans", Avenir, "Helvetica Neue", Helvatica, Deng, "等线", "PingFang SC", STHeitiSC-Light, "华文细黑", 'Noto Sans CJK SC', 'Noto Sans CJK', 'Source Han Sans', source-han-sans-simplified-c, SimHei, "黑体", STHeiti, "华文黑体", sans-serif;
	--monospace:consolas, "Consolas", cour, "Courier New", courier, monospace;
}

.md-shadow
{
	border-style: solid;
	border-width: 0 1px 1px 0;
	border-color: #ddd;
}

.centering
{
	text-align: center;
}

body
{
	font-family: var(--sans-serif);
	background-color: #eee;
	color: var(--black);
	margin: 0 auto;
	font-style: normal;
	font-size: 1em;
	line-height: 1.5;
	word-wrap: break-word;
	min-width: 305px;
}

/* main sections setting */
div#top-bar
{
	background-color: #0f2e5c;
	height: 3em;
	position: relative;
	width: 100%;
	line-height: 1em;
}

#map 
{
	position: fixed;
	top: 3.2em;
	right: 0;
	max-width: 150px;
	width: 10%;
	height: 100%;
	z-index: 100;
}

section.container, section.site-title, section.error-page
{
	width: 82%;
	margin: 1.5em auto;
	padding: 4.5% 3%;
	background-color: white;
}

section.title-page-link
{
	margin: 1em 1em;
	padding: 3%;
	background-color: white;
	display: table;
	float: left;
}

div.title-page-link-box
{
	width: 88%;
	margin: 0 auto;
	padding: auto 3%;
	overflow: hidden;
	zoom:1;
}

@media all and (max-width: 425px)
{
	section.container, section.site-title, section.error-page
	{
		width: 88%;
	}
	div.title-page-link-box
	{
		width: 98%;
	}
}

section.container, section.site-title, section.error-page, div.title-page-link-box
{
	max-width: 1280px;
}

div#bottom-bar
{
	text-align: center;
	clear: both;
}

@media all and ( max-width : 620px )
{
	section.title-page-link
	{
		display: block;
		float: none;
		padding: 5% 3%;
	}
	#map
	{
		display: none;
	}
}

@media all and ( min-width : 1500px )
{
	section.container, section.site-title, section.error-page
	{
		padding: 67.5px 45px;
	}
	section.title-page-link
	{
		padding: 45px;
	}
}

/* div top-bar */
div#top-bar a
{
	text-decoration: none;
	color: white;
}

p#site-title a
{
	font-size: 1.5em;
	text-align: center;
	padding: 0.44em 0.5em;
	font-family: var(--logo);
	font-weight: 300;
}

p#top-bar-link a
{
	font-size: 1em;
	text-align: center;
	padding: 0.82em 0.5em;
}

@media all and ( max-width : 425px )
{
	p#site-title a
	{
		padding: 0.65em 0.1em;
		font-size: 1.25em;
	}
	p#top-bar-link a
	{
		padding-left: 0.2em;
		padding-right: 0.1em;
	}
}

div#top-bar a:hover
{
	background-color: #121e30;
}

div#top-bar-pull-left
{
	display: block;
	float: left;
	position: relative;
	margin-left:2%;
}

div#top-bar-pull-right
{
	display: block;
	float: right;
	position: relative;
	margin-right:2%;
}

/* div bottom-bar */
div#bottom-bar a
{
	text-decoration: none;
	color: var(--black);
}

/* section.container */
section.container article > header
{
	border-style: solid;
	border-color: var(--rule);
	border-width: 3px 0 1px 0;
	margin-bottom: 2.5em;
}

section.container article > header h1
{
	font-size: 2.4em;
	margin: 0.2em 0;
	font-family: var(--serif);
	font-weight: bold;
	color:var(--salt);
}

section.container article > header h2
{
	font-size: 1.5em;
	font-weight: 300;
	margin: 0.1em 0 0.1em 1px;
}

section.container article > header h4
{
	font-weight: bold;
	color: gray;
	margin-bottom: 0.8em;
	margin-left: 1px;
	font-size: 0.8em;
}

section.container a
{
	text-decoration: none;
	color: var(--black);
	padding-bottom: 0;
	border-bottom: 1px var(--black) solid;
	word-break: break-all;
	word-wrap: break-word;
}

section.container ul, section.container ol
{
	margin-left: 2.5em;
	margin-right: 1.5em;
	padding-left: 0;
	padding-right: 0;
}

@media all and (max-width: 620px)
{
	section.container ul, section.container ol
	{
		margin-left: 1.5em;
	}
}

section.container li
{
	list-style-position: inside;
}

section.container article > h2
{
	font-family: var(--serif);
	font-weight: bold;
	font-size: 1.8em;
	margin: 1.8em 1.11em 0 0.55em;
}

section.container article > h3
{
	font-weight: bold;
	font-size: 1.2em;
	margin: 1.8em 1.67em 0 1.66em;
}

section.container article > p
{
	margin-left: 2em;
	margin-right: 2em;
}

@media all and (max-width: 620px)
{
	section.container article > h2
	{
		margin-left: 0.27em;
		margin-right: 0.56em;
	}
	section.container article > h3
	{
		margin-left: 0.83em;
		margin-right: 0.83em;
	}
	section.container article > p
	{
		margin-left: 1em;
		margin-right: 1em;
	}
}

section.container blockquote
{
	background-color: RGB(241,251,255);
	border-style: solid;
	border-color: RGB(59,176,219);
	border-width: 0 0 0 3px;
	padding: 0.1em 3%;
	font-family: var(--serif);
}

@media all and (max-width: 620px)
{
	section.container blockquote
	{
		margin-left: 1.2em;
		margin-right: 1.2em;
	}
}

section.container img
{
	width:92%;
	margin: 1.2em 4%; 
}

section.container p.img-caption
{
	text-align: center;
	margin: -2.8em 0 2.4em 0;
	color: gray;
	font-size: 0.9em;
	font-weight: bold;
}

section.container pre.code
{
	font-size: 1em;
	font-family: var(--monospace);
	background-color: RGB(221,237,251);
	padding: 1em 3%;
	width:76%;
	margin: auto;
	border-style: solid;
	border-width: 1px;
	border-color: RGB(0,153,204);
}

section form input
{
	font-size: 0.9em;
	height: 1.2em;
	padding: auto;
}

section form button
{
	font-size: 0.9em;
	height: 1.6em;
	padding: auto;
}

section.container table
{
	font-size: 0.9em;
	border-style: solid;
	border-color: RGB(0,153,204);
	border-width: 2px 1px 2px 1px;
	border-collapse: collapse;
	margin: 2.4em auto;
}

section.container table caption
{
	font-weight: bold;
}

section.container table thead
{
	border-color: RGB(0,153,204);
	border-style: solid;
	border-width: 0 0 1px 0;
	color:white;
	background-color: RGB(0,153,204);
}

section.container table th,td
{
	padding: 0.2em 0.4em;
}

section.container table tr:nth-child(2n)
{
	background-color: RGB(221,237,251);
}

section.container table tbody tr:nth-child(2n):hover, section.container table tbody tr:nth-child(2n):focus
{
	background-color: RGB(207,227,251);
}

section.container table tbody tr:nth-child(2n-1):hover, section.container table tbody tr:nth-child(2n-1):focus
{
	background-color: RGB(210,230,255);
}

section.container footer
{
	color:gray;
	margin-top: 1em;
	margin-bottom: -2em;
	border-style: solid;
	border-top-color: var(--rule);
	border-width: 2px 0 0 0;
}

section.container footer p:first-child
{
	margin-top: 0em;
	text-align: right;
	margin-bottom: 1.6em;
}

/* section.site-title */
section.site-title header
{
	text-align: center;
	font-family: var(--sans-serif);
}

section.site-title header h1
{
	font-size: 4em;
	display: table;
	margin: 0.2em auto 0 auto;
	color:var(--salt);
	border-bottom: 2px var(--rule) solid;	
	font-family: var(--logo);
	font-weight: 300;
}

@media all and ( max-width : 425px )
{
	section.site-title header h1
	{
		word-wrap: break-word;
		word-break: break-all;
	}
}

section.site-title header h3
{
	font-size: 1.25em;
	font-weight: normal;
	margin-top: 0.5em;
	margin-bottom: 0.8em;
}


/* section.error-page */
section.error-page header
{
	text-align: center;
}

section.error-page header h1
{
	font-family: var(--monospace);
	font-size: 7.5em;
	font-weight: normal;
	color:var(--salt);
	margin-top: -0.2em;
}

section.error-page header h2
{
	font-size: 2.5em;
	display: table;
	margin: -3.6em auto 0.1em auto;
	border-top: 2px var(--rule) solid;
	padding-top: 0.1em;
	font-family: var(--logo);
	font-weight: 300;
}

/* section.title-page-link */
section.title-page-link header
{
	border-style: solid;
	border-color: var(--rule);
	border-width: 3px 0 1px 0;
}

section.title-page-link header h1
{
	font-size: 2.4em;
	margin: 0.2em 0;
	font-family: var(--serif);
	font-weight: bold;
}

section.title-page-link header h1 > a, section.title-page-link header h1
{
	color:var(--salt);
	border-bottom-color: var(--salt);
}

section.title-page-link header h2
{
	font-size: 1.5em;
	font-weight: 300;
	margin: 0.1em 0;
}

section.title-page-link header h4
{
	font-weight: bold;
	color: gray;
	margin: 0 0 0.8em 0;
	font-size: 0.8em;
}

section.title-page-link a
{
	text-decoration: none;
	color: var(--black);
	padding-bottom: 0;
	border-bottom: 1px var(--rule) solid;
	word-break: break-all;
	word-wrap: break-word;
}

/* autospace */
html.han-la hanla:after 
{
    content: " ";
    display: inline;
    font-family: Arial;
    font-size: 0.89em;
}
html.han-la code hanla,
html.han-la pre hanla,
html.han-la kbd hanla,
html.han-la samp hanla 
{
    display: none;
}
html.han-la ol > hanla,
html.han-la ul > hanla 
{
    display: none;
}