|
1 |
| -.Nav { |
2 |
| - background-color: var(--color-bg); |
3 |
| - border-top: 1px solid var(--color-border); |
4 |
| - bottom: 0; |
5 |
| - display: flex; |
6 |
| - flex-direction: row; |
7 |
| - padding-bottom: max(env(safe-area-inset-bottom), 1rem); |
8 |
| - padding-top: 1rem; |
9 |
| - place-content: center; |
10 |
| - position: fixed; |
11 |
| - width: 100%; |
12 |
| - |
13 |
| - &__container { |
14 |
| - display: flex; |
15 |
| - flex-direction: row; |
16 |
| - justify-content: space-evenly; |
17 |
| - width: min(72ch, 100%); |
| 1 | +@import "../styles/variables.scss"; |
| 2 | + |
| 3 | +.navbar { |
| 4 | + .navbar-brand { |
| 5 | + font-size: 3.5rem !important; |
| 6 | + |
| 7 | + text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4); |
| 8 | + |
| 9 | + @media (max-width: 430px) { |
| 10 | + font-size: 3rem !important; |
| 11 | + } |
| 12 | + @media (max-width: 375px) { |
| 13 | + font-size: 2.5rem !important; |
| 14 | + } |
18 | 15 | }
|
19 | 16 |
|
20 |
| - &__link { |
21 |
| - --color-text: var(--color-accent); |
22 |
| - color: var(--color-text); |
23 |
| - font-size: 1.4em; |
24 |
| - flex: 0 1 auto; |
| 17 | + .nav-link { |
| 18 | + color: $primary-beige; |
| 19 | + font-size: 1.5rem; |
25 | 20 | line-height: 1;
|
26 |
| - padding: 0.8rem; |
27 |
| - text-align: center; |
28 |
| - text-underline-offset: 0.1em; |
29 | 21 |
|
30 | 22 | &.active {
|
31 |
| - text-decoration-thickness: 0.22em; |
32 |
| - text-underline-offset: 0.1em; |
| 23 | + text-decoration: underline; |
| 24 | + color: $primary-beige !important; |
| 25 | + text-underline-offset: 0.3em; |
| 26 | + } |
| 27 | + |
| 28 | + &:hover { |
| 29 | + color: $secondary-blue; |
33 | 30 | }
|
34 | 31 | }
|
| 32 | + |
| 33 | + .navbar .navbar-toggler { |
| 34 | + background-color: $primary-beige; |
| 35 | + } |
| 36 | +} |
| 37 | + |
| 38 | +.navbar button { |
| 39 | + background-color: $primary-beige; |
| 40 | + color: $secondary-blue; |
| 41 | + font-weight: bold; |
| 42 | + border: none; |
| 43 | + |
| 44 | + @media (hover: hover) { |
| 45 | + background-color: $secondary-blue; |
| 46 | + color: $primary-beige; |
| 47 | + } |
| 48 | + |
| 49 | + @media (min-width: 431px) { |
| 50 | + font-size: 1.5rem; |
| 51 | + text-align: center; |
| 52 | + border: none; |
| 53 | + padding: 0.5rem; |
| 54 | + width: 11rem; |
| 55 | + } |
35 | 56 | }
|
0 commit comments