/* Limit inline images on the main page so wiring diagrams don't dominate */
.contents img {
    max-height: 300px;
    width: auto;
}

/* Give the sidebar header enough room for project info + search bar */
html {
    --top-height: 150px;
}

#top {
    overflow: visible !important;
}

/* Fix layout for Doxygen 1.16+ which wraps #doc-content in #container */
@media screen and (min-width: 768px) {
    #container {
        margin-left: var(--side-nav-fixed-width) !important;
    }

    #doc-content {
        padding-top: 40px !important;
        margin-left: 0 !important;
    }

    #side-nav {
        width: var(--side-nav-fixed-width) !important;
    }

    #splitbar {
        display: none !important;
    }
}
