-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.css
105 lines (87 loc) · 1.7 KB
/
header.css
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
.logo-container {
width: 100%;
}
.nav-item {
margin-left: 16px;
margin-right: 16px;
}
.nav-link {
color: var(--text-color-2);
/* text-transform: uppercase; */
letter-spacing: 0.05em;
font-size: 18px;
}
.header-desktop {
position: fixed;
top: 0;
left: 0;
width: 100%;
transition: transform 0.5s ease;
/* move up 100% */
transform: translateY(-100%);
}
.logo-svg {
width: 160px;
height: 72px;
}
/* change background color of logo */
/* .logo-svg path:nth-child(1) {
fill: var(--background-color);
} */
.header-desktop {
background-color: var(--color-2);
padding: 8px;
z-index: 4;
box-shadow: 0 0 4px 0px rgba(222, 184, 135, 0.5);
/* border-radius: 8px; */
}
/* slide onto the page when visible */
.header-desktop.visible {
transform: translateY(0);
}
.header .nav-list {
padding: 0;
}
.header-desktop .nav-list {
align-items: center;
padding: 0;
}
.header-desktop .logo-container {
width: auto;
margin-bottom: 0;
margin-right: auto;
}
/* .header-desktop .nav-item:last-of-type .nav-link {
color: var(--background-color);
} */
.header-desktop .nav-link {
color: var(--text-color);
}
.header-desktop .logo-svg {
width: 100px;
height: 65px;
}
/* .header-desktop .logo-svg path,
.header-desktop .logo-svg polygon {
fill: ;
} */
@media (max-width: 800px) {
.header-desktop {
display: none !important;
}
.nav-item {
margin-left: 6px;
margin-right: 6px;
font-size: 14px;
}
.logo-svg {
width: 100px;
height: 50px;
}
}
@media (max-width: 400px) {
.heading {
font-size: 24px;
--webkit-stroke-width: 1px;
}
}