forked from apu52/METAVERSE
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
179 lines (151 loc) · 3.94 KB
/
style.css
File metadata and controls
179 lines (151 loc) · 3.94 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
/* Common Styles */
/* Add a background color or image to the navigation bar */
/* Frosted Glass Effect for Navigation Bar */
.container {
display: flex;
position: fixed;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 95%;
max-width: 1000px;
flex-direction: row;
align-items: center;
justify-content: space-between; /* Changed from center to space-evenly */
gap: 10px;
margin-top: 20px;
padding: 15px 30px; /* Added padding */
z-index: 1000; /* Increased z-index */
background: linear-gradient(
to right,
rgba(10, 10, 10, 0.7),
rgba(10, 10, 10, 0.7)
);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-radius: 15px;
border: 1px solid rgba(255, 255, 255, 0.3);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* Ensure the content doesn't overlap with the fixed navigation bar */
.main-content {
position: relative;
padding-top: 80px; /* Adjust this value based on the height of your navigation bar */
}
.radio-wrapper {
position: relative;
height: 55px;
width: auto;
min-width: 90px;
margin: 0 5px;
}
/* Make the "Contributors" button wider */
.radio-wrapper:last-child {
min-width: 130px; /* Specific width for Contributors */
}
.btn {
font-size: 15px;
position: relative;
font-weight: 900;
width: auto;
padding: 10px;
height: 100%;
line-height: 38px;
text-align: center;
}
.btn a {
text-decoration: none;
white-space: nowrap;
display: block;
font-family: 'Poppins';
font-size: 20px;
color: white;
font-weight: bold;
position: relative;
z-index: 1;
text-align: center;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-image: linear-gradient(to right, #23abd4, #23abd4 50%, #fff 50%);
background-size: 200% 100%;
background-position: -100%;
transition: all 0.3s ease-in-out;
}
.nav-link:hover {
text-shadow: 0 0 3px #4b4949, 0 0 10px rgba(167, 45, 237, 0.3), 0 0 20px rgba(167, 45, 237, 0.4), 0 0 30px rgba(167, 45, 237, 0.5), 0 0 40px rgba(167, 45, 237, 0.6), 0 0 50px rgba(167, 45, 237, 0.7);
}
.btn a::before {
display: none; /* Disable the underline effect */
}
/* Disable the hover effect */
.btn a:hover {
background-position: -100%; /* Keep the gradient in its original position */
text-shadow: none; /* Remove text shadow on hover */
}
.btn a:hover::before {
width: 0; /* Ensure the underline doesn't appear on hover */
}
.hamburger {
color: white;
display: none;
flex-direction: column;
cursor: pointer;
position: absolute;
right: 20px;
top: 20px;
z-index: 1001;
}
.main.navbar.dark-theme {
background: #000000; /* Dark background */
color: #a49090; /* Light text color */
}
.hamburger .line {
width: 30px;
height: 3px;
background: white;
margin: 5px 0;
transition: all 0.3s ease-in-out;
}
@media (max-width: 768px) {
.container {
flex-direction: column;
background: linear-gradient(to right, rgba(128, 128, 128, 0.5), rgba(64, 64, 64, 0.5));
position: fixed;
top: 0;
left: 20%;
width: 85%;
align-items: stretch;
height: auto; /* Adjust height for mobile */
z-index: 100;
padding: 1rem;
background-color: #007bff; /* Ensure background color is consistent */
}
.main-content {
padding-top: 120px; /* Adjust padding for mobile */
}
.radio-wrapper{
width: 100%;
margin: 5px 0;
}
.btn{
width: 100%;
text-align: center;
}
}
/*
.navbar.open .container {
display: flex; /* Show the navbar when the menu is open */
/* } */
/* .hamburger {
display: flex;
}
.hamburger.open .line:nth-child(1) {
transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open .line:nth-child(2) {
opacity: 0;
}
.hamburger.open .line:nth-child(3) {
transform: rotate(-45deg) translate(5px, -5px);
}
}