/* -- Logo ------------------------------------------------------------------ */
/* The logo is a hexagon rather than a wordmark, so it needs the height to stay legible. */
.bd-sidebar-primary .navbar-brand img,
.bd-sidebar-primary .navbar-brand .logo__image {
    max-height: 7rem;
    width: auto;
    margin: 0 auto;
}

/* Keep the deeply nested API entries compact. */
li.toctree-l3 {
    font-size: 81.25% !important;
}

li.toctree-l4 {
    font-size: 75% !important;
}

/* -- Graphical abstract on the landing page -------------------------------- */
img.liana-hero {
    display: block;
    margin: 1.5rem auto 2rem;
    max-width: 720px;
    width: 100%;
    height: auto;
}

img.no-scaled-link {
    background: transparent !important;
}

/* -- Reduce the font size in data frames ----------------------------------- */
/* See https://github.com/scverse/cookiecutter-scverse/issues/193 */
div.cell_output table.dataframe {
    font-size: 0.8em;
}
