/* Custom CSS for jaxls documentation */

/* Left-align the site title in sphinx-book-theme sidebar */
.sidebar-primary-items__start .sidebar-primary-item {
    text-align: left !important;
}

.sidebar-primary-items__start .navbar-brand.logo {
    display: block;
    text-align: left !important;
}

.sidebar-primary-items__start .navbar-brand .logo__title {
    text-align: left !important;
}

.navbar-brand-badge {
    margin-top: 0.25rem;
    text-align: left;
}

/* Make long text/stream outputs scrollable, but not HTML outputs (Plotly). */
.cell_output .output_text,
.cell_output .output_stream,
.cell_output pre {
    max-height: 400px;
    overflow: auto;
}

/* Don't limit HTML outputs (Plotly plots). */
.cell_output .output_html {
    max-height: none;
    overflow: visible;
}

/* Show copy button when hovering anywhere on cell_output. */
.cell_output:hover button.copybtn {
    opacity: 1;
}

/* Add background to copy button in output cells. */
.cell_output button.copybtn {
    background-color: #f6f8fa;
}
