Repository navigation
Expand file tree
/
Copy pathheader.component.scss
More file actions
109 lines (107 loc) · 1.84 KB
/
Copy pathheader.component.scss
File metadata and controls
109 lines (107 loc) · 1.84 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
// Animtions
// Animtions end
nav {
position: fixed;
display: flex;
justify-content: space-around;
background-color: rgb(var(--headerColor));
padding: 10px;
padding-top: 20px;
color: white;
z-index:100;
width: 100vw;
div {
width: 75vw;
display: flex;
justify-content: space-between;
align-items: center;
div {
width: 50px;
img {
border-radius: 50%;
width: 50px;
height: 50px;
}
}
input[type="search"] {
width: 300px;
height: 30px;
border-radius: 5px;
border: none;
padding: 5px;
background-color: #2d3444;
color: white;
}
ul {
display: flex;
list-style: none;
margin-left: 20px;
li {
list-style: none;
a {
color: white;
text-decoration: none;
padding: 10px;
}
}
}
}
}
nav > div {
.actions{
display: flex;
justify-content: space-evenly;
width: 100px;
button {
font-size: 25px;
color:#3ca1ff;
background-color: transparent;
border: none;
cursor: pointer;
i{
animation: fadeIn 0.3s linear;
transition: all 0.3s;
}
i:nth-child(2){
// color:#2d3444;
animation: offColorfadeIn 0.5s linear forwards;
}
}
}
// button:nth-child(2){
// color:#2d3444;
// // animation: offColorfadeIn 0.5s linear;
// }
}
@keyframes offColorfadeIn{
0%{
color: #3ca1ff;
}
100%{
color: #ef506f;
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.scrolled {
position: sticky;
top: 0;
background-color: var(--extraDarkBgColor);
animation: showHeader 0.5s linear;
}
#logo {
display: flex;
align-items: center;
width: 50px;
height: 50px;
}
#logo > p {
font-size: 20px;
font-family: Vintage;
}