/* Typography */
body {
    font-size: 15px;
}

.wy-nav-content {
    max-width: 960px;
}

/* Code blocks */
div[class^="highlight"] pre,
code.literal {
    font-family: "JetBrains Mono", "Fira Code", "Cascadia Code", ui-monospace,
                 SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.875em;
}

div[class^="highlight"] pre {
    border-left: 3px solid #2980b9;
    border-radius: 0 4px 4px 0;
    padding: 12px 16px;
    line-height: 1.55;
}

/* inline code */
code.literal {
    background: #f0f4f8;
    color: #2c5282;
    padding: 1px 5px;
    border-radius: 3px;
    border: 1px solid #dde4eb;
}

/* Sidebar */
.wy-side-nav-search {
    background-color: #1a5276;
}

.wy-side-nav-search input[type=text] {
    border-radius: 4px;
}

.wy-menu-vertical a {
    font-size: 0.9em;
}

.wy-menu-vertical li.current a {
    border-left: 3px solid #2980b9;
}

/* Tables */
table.docutils {
    border-collapse: collapse;
    width: 100%;
    font-size: 0.9em;
}

table.docutils th {
    background: #2980b9;
    color: #ffffff;
    padding: 8px 12px;
    text-align: left;
}

table.docutils td {
    padding: 7px 12px;
    border-bottom: 1px solid #e8edf2;
    vertical-align: top;
}

table.docutils tr:nth-child(even) td {
    background: #f7fafc;
}

/* Admonitions */
.admonition {
    border-radius: 4px;
}

.admonition.note {
    border-left-color: #2980b9;
}

.admonition.tip {
    border-left-color: #27ae60;
}

.admonition.warning {
    border-left-color: #e67e22;
}

.admonition-title {
    font-size: 0.85em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Section headings */
h1, h2, h3 {
    font-weight: 600;
}

h2 {
    border-bottom: 1px solid #dde4eb;
    padding-bottom: 6px;
}

/* Parameter definition lists */
dl.field-list > dt {
    background: #eef3f8;
    border-left: 3px solid #2980b9;
    padding: 3px 8px;
    border-radius: 0 3px 3px 0;
}

/* Footer */
footer {
    font-size: 0.82em;
    color: #7f8c9a;
}
