/*
Documentation: https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#custom-colors-docsstylesheetsextracss
Color definitions: https://github.com/squidfunk/mkdocs-material/blob/master/src/templates/assets/stylesheets/main/_colors.scss
*/

[data-md-color-scheme="slate"] {
    --md-primary-fg-color: #2a5bd2;
    --md-primary-bg-color: #d0d0d;
    --md-primary-fg-color--light: #abdbe3;
    --md-primary-fg-color--dark: #063970;

    /* Accent color shades */
    --md-accent-fg-color: #505050;
    --md-accent-fg-color--transparent: #50505010;
    --md-accent-bg-color: #505050;
    --md-accent-bg-color--light: #ebebeb;
}

[data-md-color-scheme="default"] {
    --md-primary-fg-color: #224aab;
    --md-primary-fg-color--light: #ebebeb;
    --md-primary-fg-color--dark: #aeaeae;
    --md-default-fg-color--light-really: #8cbbff;
    --md-default-fg-color--lightest: #fff;

    --md-footer-fg-color: #224aab;
    --md-accent-fg-color: var(--md-primary-fg-color);
    --md-accent-fg-color--transparent: #50505016;
    --md-accent-bg-color: #505050;
    --md-accent-bg-color--light: #50505011;
}

/* Apply the primary FG color to: */
/* 1. Section titles */
.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
/* 2. The title of the navigation bar to the right and to the left */
.md-nav__title,
.md-header__topic,
header {
    color: var(--md-primary-fg-color) !important;
}

/* Visited links should be light blue, except those in the right side section list for large screens */
*.md-typeset a:visited {
    color: var(--md-default-fg-color--light-really);
}

/* Hide search icon */
.md-search,
label.md-header__button[for="__search"] {
    display: none;
}
