-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnavbar.css
More file actions
116 lines (100 loc) · 2.25 KB
/
Copy pathnavbar.css
File metadata and controls
116 lines (100 loc) · 2.25 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
nav {
margin: 0;
padding-left: 10px;
padding-right: 10px;
background-color: rgba(0, 0, 0, 0.650);
top: 0;
position: sticky;
z-index: 1;
backdrop-filter: saturate(180%) blur(20px);
-webkit-backdrop-filter: saturate(180%) blur(20px);
}
#navbarList {
width: 100%;
margin: 0;
padding: 0;
display: flex;
align-items: center;
list-style-type: none;
}
.navbarButton {
cursor: pointer;
display: inline-block;
color: white;
padding: 10px;
font-size: 14px;
font-weight: 400;
}
.navbarButton a{
color: white;
}
.navbarButton a:active {
color: white;
}
.navbarButton a:visited {
color: white;
}
.logo {
font-size: 18px;
font-weight: 400;
opacity: 100%;
transition: opacity 0.5s ease;
display: flex;
align-items: center;
gap: 8px;
}
.logo:hover {
opacity: 50%;
}
.navbar-logo {
height: 24px;
width: auto;
filter: brightness(0) invert(1); /* Makes the logo fully white */
transition: opacity 0.5s ease;
border: none !important;
border-radius: 0 !important;
background: none !important;
outline: none !important;
box-shadow: none !important;
-webkit-border-radius: 0 !important;
-moz-border-radius: 0 !important;
overflow: visible !important;
}
.logo:hover .navbar-logo {
opacity: 0.5;
}
.navbarButtonRight {
margin-left: auto;
}
.animatedUnderline a{
text-decoration: none;
background-image: linear-gradient(rgba(176, 251, 188, 0), rgba(176, 251, 188, 0)), linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, .5));
background-repeat: no-repeat;
background-size: 100% 2px, 0 2px;
background-position: 100% 100%, 50% 100%;
transition: background-size 1s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease;
opacity: 100%;
}
.animatedUnderline:active a {}
.animatedUnderline a:hover {
background-size: 0 2px, 100% 2px;
opacity: 50%;
}
.image-cropper {
margin: 0 auto;
height: 20px;
width: auto;
position: relative;
overflow: hidden;
border-radius: 50%;
}
/* Responsive design for logo */
@media only screen and (max-width: 620px) {
.navbar-logo {
height: 20px;
}
.logo {
gap: 6px;
font-size: 16px;
}
}