-
Notifications
You must be signed in to change notification settings - Fork 225
/
style.css
130 lines (109 loc) · 2.38 KB
/
style.css
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
/* Common Styles */
.container {
display: flex;
position: fixed;
top: 0;
left: 0;
width: 100%;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 20px;
margin-top: 20px;
z-index: 100;
}
.radio-wrapper {
position: relative;
height: 55px;
width: 110px;
margin: 3px;
}
.btn {
font-size: 15px;
position: relative;
font-weight: 900;
width: 100%;
height: 100%;
line-height: 38px;
text-align: center;
}
.btn a {
text-decoration: none;
display: block;
font-family: 'Poppins';
font-size: 20px;
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: block;
content: '';
width: 0;
height: 3px;
bottom: 5px;
left: 0;
bottom: -3px;
z-index: 0;
position: absolute;
background: #23abd4;
transition: all 0.3s ease-in-out;
}
.btn a:hover {
background-position: 0%;
}
.btn a:hover:before {
width: 100%;
}
.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;
display: none;
}
.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);
}
}