/* =============================================================================
 * Custom CSS for Engineering CoLab -- EverTag
 * ============================================================================= */

/* Improve table readability */
.md-typeset table:not([class]) th {
    min-width: 5rem;
    background-color: var(--md-default-fg-color--lightest);
}

/* Better image display for schematics */
.md-typeset img {
    border: 1px solid var(--md-default-fg-color--lightest);
    border-radius: 4px;
    padding: 4px;
    cursor: pointer;
}

/* Pin-out table styling */
.md-typeset table:not([class]) td:first-child,
.md-typeset table:not([class]) th:first-child {
    font-weight: bold;
    white-space: nowrap;
}

/* Wider content area for tables and schematics */
@media screen and (min-width: 76.25em) {
    .md-content {
        max-width: 900px;
    }
}

/* Make header logo larger (Material) */
.md-header__button.md-logo img,
.md-header__button.md-logo svg {
    height: 3.2rem; /* ~2x default */
    width: auto;
}

/* Keep header layout comfortable on small screens */
@media screen and (max-width: 40em) {
    .md-header__button.md-logo img,
    .md-header__button.md-logo svg {
        height: 2.4rem;
    }
}