forked from androidvitb/Spendwise
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinput.css
More file actions
83 lines (71 loc) · 1.62 KB
/
Copy pathinput.css
File metadata and controls
83 lines (71 loc) · 1.62 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
@tailwind base;
@tailwind components;
@tailwind utilities;
#scrollButton {
position: fixed;
bottom: 20px;
right: 20px;
display: block;
background-color: #007BFF;
color: white;
border: none;
border-radius: 50%;
width: 50px;
height: 50px;
font-size: 24px;
cursor: pointer;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease; /* Smooth transition for all properties */
text-align: center;
line-height: 50px; /* Center the icon vertically */
z-index: 1000;
}
#scrollButton i {
font-size: 24px;
}
/* Hover effect */
#scrollButton:hover {
background-color: #0056b3; /* Darker background color */
transform: scale(1.1); /* Slightly increase the size */
box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); /* Stronger shadow for depth */
}
#scrollButton:active {
transform: scale(0.9);
}
@media only screen and (max-width: 600px) {
/* Styles for screens up to 600px wide (phones) */
.container {
width: 90%; /* Make the container more narrow */
}
.logo {
width: 50px; /* Reduce logo size */
}
/* Other mobile-specific styles */
}
/* for dark mode button */
body.dark {
background-color: #121212;
color: #e0e0e0;
}
body.dark header {
background-color: #1e1e1e;
color: #e0e0e0;
}
body.dark main {
background-color: #1e1e1e;
color: #e0e0e0;
}
body.dark footer {
background-color: #1e1e1e;
color: #e0e0e0;
}
body.dark button {
background-color: #377f8e;
color: white;
}
body.dark button:hover {
background-color: #1f3c42;
}
html {
scroll-behavior: smooth;
}