/* Styling for the constructs the LaTeX -> reStructuredText converter emits. */

/* The boxed summary at the top of every input-command page (\begin{optsummary}). */
.admonition.option-summary {
    border-left-color: var(--color-brand-primary);
    background: var(--color-background-secondary);
}
.admonition.option-summary > .admonition-title {
    background: transparent;
    font-variant: small-caps;
    letter-spacing: 0.05em;
}
.admonition.option-summary > .admonition-title::before {
    content: none;
}

/* WHAT(n) / SDUM / Default blocks arrive as definition lists. Give the terms
   some air so a long run of them stays readable. */
article dl:not(.field-list) > dt {
    font-weight: 600;
    margin-top: 0.7rem;
}
article dl:not(.field-list) > dd {
    margin-bottom: 0.4rem;
}

/* FLUKA input is column sensitive: scroll listings, never wrap them. */
div.highlight pre,
pre.literal-block {
    overflow-x: auto;
    white-space: pre;
    font-size: 0.82rem;
    line-height: 1.35;
}

/* Converted LaTeX tables are often much wider than the text column. */
table.docutils {
    display: block;
    width: max-content;
    max-width: 100%;
    overflow-x: auto;
}
table.docutils td,
table.docutils th {
    vertical-align: top;
}

/* "Notes", "Example" and friends. */
p.rubric {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 1.6rem;
    border-bottom: 1px solid var(--color-background-border);
}

/* Invisible cross-reference anchors dropped inside list items and captions. */
.fluka-anchor {
    display: inline;
}
