-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
137 lines (120 loc) · 2.42 KB
/
styles.css
File metadata and controls
137 lines (120 loc) · 2.42 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
:root {
--color-light: #D1B8A6;
--color-dark: #210203;
}
body {
font-family: "Montserrat", sans-serif;
}
.bg-light {
background-color: var(--color-light);
}
.bg-dark {
background-color: var(--color-dark);
}
nav {
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
.disease-card {
background-color: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-radius: 12px;
padding: 24px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
opacity: 0;
transform: translateX(-50px);
}
.disease-card:nth-child(even) {
transform: translateX(50px);
}
.disease-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}
.predict-btn {
background-color: #4CAF50;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.predict-btn:hover {
background-color: #45a049;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #888;
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: #555;
}
/* Welcome text animation */
#welcomeText span {
display: inline-block;
opacity: 0;
transform: translateY(-50px);
}
/* Responsive design */
@media (max-width: 768px) {
/* Adjust layout and styling for small screens */
.container {
max-width: 90%;
}
.grid-cols-1 {
grid-template-columns: repeat(1, 1fr);
}
.grid-cols-2 {
grid-template-columns: repeat(2, 1fr);
}
.grid-cols-3 {
grid-template-columns: repeat(1, 1fr);
}
}
@media (max-width: 480px) {
/* Adjust layout and styling for very small screens */
.container {
max-width: 95%;
}
.grid-cols-1 {
grid-template-columns: repeat(1, 1fr);
}
.grid-cols-2 {
grid-template-columns: repeat(1, 1fr);
}
.grid-cols-3 {
grid-template-columns: repeat(1, 1fr);
}
}
/* Dark mode styles */
.dark {
background-color: #333;
color: #fff;
}
.dark .bg-light {
background-color: #333;
}
.dark .text-gray-800 {
color: #121111;
}
.dark .bg-gray-200 {
background-color: #444;
}
.dark .text-yellow-500 {
color: #fff;
}
.dark .bg-blue-600 {
background-color: #666;
}
.dark .text-white {
color: #fff;
}