-
Notifications
You must be signed in to change notification settings - Fork 56
/
index.css
197 lines (157 loc) · 3.1 KB
/
index.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
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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@tailwind base;
@tailwind components;
@tailwind utilities;
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
background-color: transparent;
}
::-webkit-scrollbar {
width: 6px;
background-color: transparent;
}
::-webkit-scrollbar-thumb {
height: 16px;
@apply bg-green-500;
}
.app-header {
background-color: #c6dcff;
position: sticky;
top: 0;
z-index: 99;
}
body.light {
background-color: white;
}
body.dark {
background-color: #121212;
color: white;
}
body.dark .app-header {
background-color: #333333;
color: white;
}
body.dark .footer {
background-color: #333333;
color: white;
}
body.dark .footer-heading {
color: white;
}
body.dark .blog {
background-color: black;
color: white;
}
.close-animation{
overflow: hidden;
animation: close both 0.8s ;
}
@keyframes close {
from{
height:calc(100vh - 7.375rem)
}to{
height: 0px;
}
}
.open-animation{
overflow: hidden;
animation: open both 0.8s ;
}
@keyframes open {
from{
height: 0px;
}to{
height:calc(100vh - 7.375rem)
}
}
body.dark .contact {
background-color: black;
color: white;
}
body.dark .blog-text {
background-color: rgb(192, 192, 192);
color: white;
}
body.dark .login,
.signup {
background-color: #121212;
color: white;
}
/* Add light mode styles for signup */
body.light .signup {
background-color: white;
color: black;
}
body.dark .contact-para {
color: white;
}
body.dark p, li {
color: white;
}
body.dark .guideline-subheading {
color: #d3d3d3;
}
body.light li {
color: #333;
}
body.dark .privacy {
color: rgb(211, 211, 211);
}
.nav-link-active {
@apply underline decoration-green-500 underline-offset-2 decoration-2;
}
/* Add this to your index.css or equivalent CSS file */
.scroll-to-top-btn {
position: fixed;
bottom: 20px;
right: 20px;
background-color: #38a169; /* Change color as needed */
color: white;
width: 60px;
height: 60px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
font-size: 24px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
cursor: pointer;
transition: background-color 0.3s, transform 0.3s;
}
.scroll-to-top-btn:hover {
background-color: #2f855a; /* Darken on hover */
transform: translateY(-3px); /* Lift effect on hover */
}
.scroll-to-top-btn:focus {
outline: none;
box-shadow: 0 0 0 4px rgba(66, 153, 225, 0.5); /* Focus ring */
}
@keyframes float {
0% {
transform: translateY(0);
}
50% {
transform: translateY(-20px);
}
100% {
transform: translateY(0);
}
}
.float {
animation: float 2s ease-in-out infinite;
}
.blog-card:hover{
scale: 1.05;
transition: scale ease-in-out 0.3s;
box-shadow: 0px 0px 15px white;
border-radius: 10px;
}
/* .p-4 flex flex-col gap-1 blog-text */
a .blog-card{
height:100;
width:100;
}
.p-4.flex.flex-col.gap-1.blog-text{
height:100;
width:100;
}