﻿@charset "utf-8";
@import url("sphinxdoc.css");

body {
	font-family: 'メイリオ', sans-serif;
	width: 82.22%;
	margin: 0 auto;
}

p, li, dd
{
	line-height: 2em;
}

.localtoc li
{
	line-height: 1.6em;
}

.section h1,
.section h2,
.section h3,
.section h4,
.section h5,
.section h6
{
	font-family: 'メイリオ', sans-serif;
}

.section h1
{
	font-size: 180%;
	color: #142;
	background: rgba(244, 244, 248, 0) linear-gradient(rgba(244, 244, 248, 0), rgba(250, 250, 255, 255) 60%, #b0ccb0);
	border-bottom: 4px solid #573;
	border-radius: .25em;
	padding-left: .5em;
	padding-right: .5em;
}

.section h2
{
	font-size: 145%;
	color: #447;
	text-shadow: 1px 1px 0px #BBD;
	border-radius: .3em;
	border-bottom: 2px solid #558;
	padding: 0.4em;
	background: #f8f8ff linear-gradient(#fff, #f8f8ff 80%, #eef);
	margin-right: 1em;
}

.section h3
{
	font-size: 120%;
	color: #474;
	text-shadow: #bdb 1px 1px 0px;
	border-bottom: 3px solid #6d6;
	padding-bottom: .2em;
}

.section h4
{
	color: #533;
	text-shadow: #dbb 1px 1px 0px;
	border-bottom: 2px solid #622;
	padding-bottom: .1em;
	width: 75%
}

.footnote-reference
{
	 vertical-align: super;
	 font-size: 80%;
}

p.under-construction
{
	font-style: bold;
	background: yellow;
	border: dashed 4px;
}

/* そもそも内部文書を参照するのに em を使うのはおかしい。HTML テンプレート側こそが要修正 */
em
{
	font-style: normal;
}

td p
{
	margin-top: 0;
}

td p:not(.last)
{
	margin-bottom: -.45em;
}

td p.last
{
	margin-bottom: 0;
}

.guilabel
{
	margin: 0 .05em;
	padding: .01em .3em;
	border: 1px solid;
	border-radius: .3em;
	border-color: #aaa #ccc;
	background-color: #eee;
	font-family: 'メイリオ', sans-serif;
}

.menuselection
{
	margin: 0 .05em;
	padding: .01em .3em;
	border-bottom: #777 1px dashed;
	background-color: #eee;
	font-family: 'メイリオ', sans-serif;
}

.kbd
{
	margin: 0 .05em;
	padding: .01em .3em;
	border-top: #eee 1px solid;
	border-right: #bbb 3px solid;
	border-bottom: #888 3px solid;
	border-left: #eee 2px solid;
	border-radius: .3em;
	background: #fff linear-gradient(#f0f0f0, #fff, #fff, #f8f8f8);
}

div.body a.reference
{
	text-decoration: none;
	line-height: 1.8em;
	margin-bottom: .2em;
	border-bottom: 1px dotted;
}

div.localtoc a.reference
{
	text-decoration: none;
	border-bottom: 0 transparent;
	margin-bottom: 0;
	padding-bottom: 0;
}

a.reference:hover
{
	border-bottom: solid;
}

a img
{
	display: block;
	padding-bottom: 0;
	margin-bottom: 0;
	border: 1px transparent solid;
}

a:hover img
{
	border: 1px orange solid;
}

a.reference.image-reference,
a.reference.image-reference:hover,
{
	padding: 0;
	border-bottom: 0;
}

code
{
	padding-left: .4em;
	padding-right: .4em;
}

.searchtip
{
	line-height: 1.5em;
}

.genindex-multi-columns
 {
	columns: 4;
	-webkit-columns: 4;
	-moz-columns: 4;
}

div.admonition, div.warning
{
	border-radius: 0 0 .3em .3em;
}

table { margin: .8em 0 .5em; }

tbody tr:nth-child(2n+2) { background-color: #f4fff4; }
thead { color: #fafefa; background: #454; }
table.docutils th:not(:last-child) { background: linear-gradient(to left, #aca, #454 .4em, #454); }
table.docutils th { border-top: #454 1px solid; border-bottom: #454 1px solid; padding-bottom: 0; }

.valign-top { vertical-align: top; }
.valign-bottom { vertical-align: bottom; }

/* 脚注は 配列の種類.html などにあります */
p.rubric { line-height: 1.2em; padding-left: .5em; border-bottom: 2px #898 solid; }

/* キー類表現一覧.html */
#一文字の表現 col:first-child { width: 14%; }
#一文字の表現 col:nth-child(2){ width: 20%; }
#二文字の表現 col:first-child { width: 14%; }
#二文字の表現 col:nth-child(2){ width: 20%; }
#三文字の表現 col:first-child { width: 14%; }
#三文字の表現 col:nth-child(2){ width: 28%; }
#四文字の表現 col:first-child { width: 14%; }
#四文字の表現 col:nth-child(2){ width: 28%; }
#漢字による表現 col:first-child { width: 14%; }
#漢字による表現 col:nth-child(2){ width: 20%; }
#漢字による表現 col:first-child { width: 12%; }
#漢字による表現 col:nth-child(2){ width: 12%; }
#漢字による表現 col:nth-child(3){ width: 22%; }

/* 正規表現文法.html */
#限定子エスケープと合致部参照 col:first-child { width: 14% }
