-
Notifications
You must be signed in to change notification settings - Fork 156
Expand file tree
/
Copy pathHeader.module.scss
More file actions
72 lines (61 loc) · 1.21 KB
/
Header.module.scss
File metadata and controls
72 lines (61 loc) · 1.21 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
@import '../../styles/breakpoints';
.component {
color: var(--wpe--header--color);
background-color: var(--wpe--header--background-color);
position: relative;
z-index: 2; // Pull dropdown menus to the foreground to sit above <Main />.
}
.navbar {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
padding: 3rem 0;
gap: 1rem;
}
.brand {
font-weight: var(--wpe--font-weight--bold);
font-size: 1.6rem;
display: flex;
flex-direction: column;
justify-content: center;
}
.title {
text-decoration: none;
}
.description {
margin: .3rem 0 0 0;
font-size: 0.8rem;
opacity: 0.9;
}
.nav-toggle {
align-items: center;
background-color: transparent;
border: 0.1rem solid var(--wpe--color--white);
color: var(--wpe--color--black);
cursor: pointer;
display: flex;
margin: 0;
padding: 0.5rem 1rem;
transition: all 0.2s ease-in;
user-select: none;
font-size: 2rem;
&:hover,
&:focus {
background-color: var(--wpe--color--white);
color: var(--wpe--color--black);
}
@media (min-width: $breakpoint-small) {
display: none !important;
}
}
.primary-navigation {
display: none;
width: 100%;
&.show {
display: block;
}
@media (min-width: $breakpoint-small) {
display: block;
width: auto;
}
}