/* Sidebar logo size. */
.sidebar-logo {
    max-width: 60px;
    border-radius: 50%;
}

/* Breathing room between badges and intro paragraph. */
.section > p:first-of-type {
    margin-top: 1.5rem;
}

/* Transparent image backgrounds, readable in both colour modes. */
img {
    background-color: transparent !important;
}

/* Badges: keep them on one tidy line with a little spacing. */
p.badges img {
    margin: 0 0.25rem 0.25rem 0;
    vertical-align: middle;
}

/* Right-hand "On this page" TOC. */
.toc-tree li, .toc-tree a {
    font-size: 0.875rem;
    line-height: 1.45;
}

/* Repository table: long repo names may break anywhere so the table never
   pushes the page wider than the screen. */
table.repo-table {
    width: 100%;
}
table.repo-table td:first-child a {
    overflow-wrap: anywhere;
}
@media (max-width: 40em) {
    /* Drop the language column on phones. */
    table.repo-table th:nth-child(3),
    table.repo-table td:nth-child(3) {
        display: none;
    }
}
