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
|
header {
overflow: hidden;
position: fixed;
top: 2rem;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
width: 75%; /* Adjust width as needed */
height: var(--topBarHeight);
align-items: center;
text-align: center;
z-index: 1000;
background-color: rgba(0,0,0,0.3);
border-radius: 32px;
-webkit-user-select: none; /* Safari */
-ms-user-select: none; /* IE 10 and IE 11 */
user-select: none; /* Standard syntax */
}
.navBar {
display: flex;
justify-content: space-between;
align-items: center;
}
.navBar a {
font-family: var(--font-jetbrains);
position: relative;
height: 100%;
text-align: center;
font-size: 2rem;
font-weight: 500;
text-transform: capitalize;
text-align: center;
text-decoration: none;
margin-left: 10mm;
margin-right: 10mm;
padding-top: 4mm;
/* padding-bottom: 3mm; */
border-radius: 32px;
color: #F4E8C1;
transition: all .3s;
user-select: none; /* Standard syntax */
}
.navBar .hleft a {float: left;}
.navBar .hright a {float: right;}
.hleft, .hright {
display: flex;
}
.hright {
gap: 1rem; /* Adjust the gap between links as needed */
}
.navBar a::after {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 1mm;
background: rgba(128, 128, 128, 0.2);
border-radius: 1mm;
transform: scaleX(0);
transition: all 0.3s;
}
.navBar a:hover::after {
position: absolute;
transform: scaleX(1);
}
.navBar a:hover {
transition: all 1s
}
.navBar a.active::after {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 1mm;
background: rgba(128, 128, 128, .9);
border-radius: 1mm;
transform: scaleX(1);
}
.navBar:active,
.navBar:hover,
header:hover,
#navBarHeader:hover
{
transform: scale(1.005);
transition: all 0.5s
}
header:active,
#navBarHeader:active,
.navBar:active {
transform: scale(1.01)
/* transition: transform 700ms; */
}
.navBar,
header,
#navBarHeader {
/* -webkit-backdrop-filter: blur(2.5px);
backdrop-filter: blur(2.5px); */
transition: all 0.5s
}
header.minimizedIsland {
opacity: 0;
scale: 0;
transform: translateY(-100%);
animation-fill-mode: forwards;
transition: all 3s
}
|