/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
 * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the top of the
 * compiled file, but it's generally better to create a new file per style scope.
 *


 */

:root {
    --bg-color: #fff;
    --text-color: #222;
    --link-color: #333;
    --link-hover: #555;
    --border-color: #333;
    --pre-bg: #f5f5f5;
    --pre-shadow: rgba(0, 0, 0, 0.2);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #1a1a1a;
        --text-color: #e0e0e0;
        --link-color: #9db4ff;
        --link-hover: #c4d4ff;
        --border-color: #555;
        --pre-bg: #2a2a2a;
        --pre-shadow: rgba(0, 0, 0, 0.4);
    }
}

body {
    font-family: 'Noto Serif Japanese', serif;
    font-size: 130%;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.siteHeader {
    max-width: 800px;
    margin: 20px auto 0px;
}

.siteHeader h1 {
    text-align: center;
    margin-bottom: 0px;
}

.siteHeader ul {
    font-size: 70%;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    max-width: 800px;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 0px;
}

.siteHeader li {
    display: inline-block;
    min-width: 24%;
    vertical-align: middle;
}

.siteHeader li a {
    text-decoration: none;
}

.rss-icon {
    fill: var(--link-color);
    vertical-align: middle;
    margin-left: 4px;
    shape-rendering: geometricPrecision;
}

.rss-link:hover .rss-icon {
    fill: var(--link-hover);
}

th,
td {
    padding: 4px 8px;
}

pre {
    padding: 12px;
    background-color: var(--pre-bg);
    box-shadow: -2px 3px 3px var(--pre-shadow);
    overflow-x: scroll;
}

@media (width <= 700px) {
    pre {
        font-size: 80%;
    }
}

@media (width > 700px) {
    pre {
        font-size: 75%;
    }
}

/* Skip link - hidden until focused */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--bg-color);
    color: var(--link-color);
    padding: 8px;
    z-index: 100;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* Visible focus states */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--link-color);
    outline-offset: 2px;
}
/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the top of the
* compiled file, but it's generally better to create a new file per style scope.
*
*/

a:link {
    color: var(--link-color);
}

a:visited {
    color: var(--link-color);
}

a:hover {
    color: var(--link-hover);
}

a:active {
    color: var(--link-hover);
}

.wikiBody {
    font-size: 90%;
    padding: 20px 0 20px;
    max-width: 800px;
    margin: auto;
    background-color: var(--bg-color);
}

.wikiBody pre {
    font-family: 'Ubunto Mono', monospace;
}

.wikiPageData {
    font-size: 80%;
    font-style: italic;
}

.wikiHeader {
    font-size: 110%;
    padding: 40px 0 5px;
    max-width: 800px;
    margin: auto;
    background-color: var(--bg-color);
}

.wikiFooter {
    font-size: 70%;
    padding: 40px 0 5px;
    max-width: 800px;
    margin: auto;
    background-color: var(--bg-color);
}

.wikiFooter ul {
    list-style-type: none;
    padding: 0;
}

.wikiFooter li {
    display: inline;
    padding-right: 10px;
}

.wikiFooterFloat {
    float: right;
}

.wikiFooterFloat ul {
    margin-top: 0px;
}

.findInput {
    text-align: center;
    max-width: 800px;
    margin: auto;
}

.findInput div {
    display: inline-block;
    padding-right: 20px;
}

.findForm {
    text-align: right;
    vertical-align: middle;
    width: 300px;
    margin-bottom: 20px;
}

.findDetails {
    text-align: left;
    font-size: 80%;
    padding-bottom: 10px;
    width: 300px;
}

.findDetails b {
    text-decoration: underline;
    font-weight: normal;
}

.findResults {
    text-align: center;
    max-width: 800px;
    margin: auto;
}

.findResults ul {
    list-style-type: none;
}

.findResults li {
    display: inline;
    padding: 10px;
}
