-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.module.css
More file actions
122 lines (108 loc) · 2.24 KB
/
Copy pathheader.module.css
File metadata and controls
122 lines (108 loc) · 2.24 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
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
.HeaderField {
width: 100%;
height: 120px;
background-color: rgba(7, 5, 5, 0.582);
display: flex;
flex-wrap: wrap;
justify-content: space-around;
align-items: center;
color: white;
position: fixed;
z-index: 10;
}
.Logo img {
width: 90%;
}
.Menus {
width: 50%;
display: flex;
margin-right: 5%;
justify-content: space-between;
}
.Menu {
filter: hue-rotate(360deg);
transition: all .3s ease;
font-size: 18px;
font-weight: 700;
}
.Menu:hover {
background: linear-gradient(90deg, rgb(75, 247, 132), rgb(236, 230, 139));
cursor: pointer;
background-size: 200% 100%;
background-clip: text;
-webkit-background-clip: text;
color: transparent;
letter-spacing: 1px;
}
.Menu::before {
background: linear-gradient(90deg, rgb(75, 247, 132), rgb(236, 230, 139));
content: '';
width: 100%;
height: 1px;
position: absolute;
left: 0;
bottom: 0px;
margin: auto;
transform-origin: right top;
transform: scale(0, 1);
transition: transform .3s;
}
.Menu:hover::before {
transform-origin: left top;
transform: scale(1, 1);
}
.Hamburger {
z-index: 10;
width: 100%;
height: 100vh;
background-color: rgba(0, 0, 0, 0.7);
position: absolute;
left: 0;
top: 0;
text-align: center;
}
.LinkContainer {
position: absolute;
top: 25%;
left: 50%;
transform: translateX(-50%);
border-top: 2px dotted white;
border-bottom: 2px dotted white;
width: 80%;
}
.Hamburger .Link {
padding: 10px;
font-size: 22px;
}
@media screen and (max-width: 480px) {
.HeaderField {
width: 100%;
height: 120px;
background-color: rgba(7, 5, 5, 0.582);
display: flex;
flex-wrap: wrap;
justify-content: left;
align-items: center;
color: white;
position: fixed;
z-index: 10;
}
.Logo {
width: 80%;
position: relative;
}
.Logo img {
width: 65%;
position: absolute;
top: -55px;
left: 10px;
}
.HamburgerMenu {
position: absolute;
z-index: 15;
font-size: 34px;
top: 35%;
right: 10px;
transform: translateX(-50%);
}
}