@charset "UTF-8";

@font-face {
	font-family: 'Monaco';
	src: url("Monaco 400.ttf");
}
@font-face {
	font-family: 'IntelOneMono';
	src: url("IntelOneMono-Regular.ttf");
}

/* ダークモード対応 */
:root {
	--border-color: #111;
	--table-frame-th-bg: #eee;
}
@media (prefers-color-scheme: dark) {
	:root {
		--border-color: #eee;
		--table-frame-th-bg: #333;
	}
	:link,:visited {
		color: skyblue;
	}
	body {
		color: #eee;
		background-color: black;
	}
}

body {
	margin: 0;
	padding: 0;
	font-size: 14px;
	font-family: 'IntelOneMono';
}
div.container {
	display: flex;
}

/* サイドメニュー構成 */
@font-face {
	font-family: 'Bigelow Rules';
	src: url("BigelowRules-Regular.ttf");
}
aside {
	white-space: nowrap;
	position: fixed;
	font-family: 'Bigelow Rules';
	font-size: 160%;
	background-color: #444;
	height: auto;
	min-height: 100%;
	padding-left: 5px;
	z-index: 10;
}
main {
	white-space: nowrap;
	display: block;
	margin: 1em 1em 1em 8em;
}

ul.ulnavi {
	margin-top: 0.5em;
	padding-left: 0;
}
ul.ulnavi li {
	list-style-type: none;
	background-color: #eee;
	width: 4em;
	margin: 4px 0 4px 0;
	padding: 4px 0 4px 0;
	text-align: center;
	border: 1px solid #222;
}
ul.ulnavi li a {
	text-decoration: none;
	color: #000;
	display: block;
}

/* 標準書式 */
h4 {
	margin-bottom: 1px;
	font-size: 15px;
}
h5 {
	margin-bottom: 1px;
	font-size: 14px;
}
section {
	padding-left: 1em;
}
th, td {
	vertical-align: top;
	text-align: left;
	padding-right: 1em;
}
span.namae {
	font-style: italic;
}
span.option {
	color: #888;
}
span.namae2 {
	font-style: italic;
	color: #888;
}
span.comment {
	color: #58f;
}
.file {
	border: 1px solid var(--border-color);
	padding: 1px 6px;
}
pre {
	white-space: pre-line;
}

/* table.frame */
table.frame {
	border-collapse: collapse;
}
table.frame th {
	border: 1px solid var(--border-color);
	background: var(--table-frame-th-bg);
	padding-left: 6px;
}
table.frame td {
	border: 1px solid var(--border-color);
	padding: 2px 24px 2px 6px;
}
table.frame .bottomless {
	border-bottom: none;
}
table.frame .topless {
	border-top: none;
}

