summaryrefslogtreecommitdiff
path: root/assets/css/navmenu.css
blob: d092e6c42c5f2334c0f9eddb48a51d6ccf8f4f9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* SITE NAVMENU */
.header__navigation {
    background-color: var(--bg-special);
    border-radius: var(--border-radius-default);
    padding: var(--margin-padding-Y-small);
}

.header__navigation-list {
    display: flex;
    align-items: center;
    justify-content: space-evenly;

    @media (max-width: 768px) {
        /* Grid items stretch to at least 100px or take up full width */
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        justify-items: center;
        gap: var(--gap-medium) var(--gap-small);
    }
}

.header__navigation-link--active {
    color: var(--text-color);
    text-decoration: none;
}