/*
 * ParityQC brand overrides for the Furo theme.
 * Brand colours (--color-brand-*) are set in conf.py html_theme_options
 * to keep light/dark variants in one place.
 */

 /* use same color for visited links as for unvisited links */
.content a:visited,
.content a:visited code,
.content a:visited.hover,
.content a:visited.hover code {
    color: var(--color-brand-content);
}

/* reduce font size in brand area */
.sidebar-brand-text {
    font-size: 1rem;
}

/* Prevent the repo link in the top bar from being clipped.
 * (Furo places it in the header; max-width: none lets it expand freely.) */
.header-left a.icon {
    max-width: none;
    width: auto;
}

table.autosummary {
    border-collapse: collapse;
    width: 100%;
}

table.autosummary td {
    border: none;
    padding: 0.5em 0.75em;
    border-bottom: 0.05rem solid var(--color-background-border);
}

table.autosummary tr:last-child td {
    border-bottom: none;
}

table.autosummary tr:hover td {
    background: var(--color-background-secondary);
}

table.autosummary td:first-child a {
    font-weight: 500;
}
