-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdashboard.css
187 lines (162 loc) · 3.48 KB
/
dashboard.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
/* General Styles */
body {
font-family: Arial, sans-serif;
background-color: #e8f0fe; /* Light blue background */
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: flex-start;
min-height: 100vh;
}
/* Container */
.container {
width: 100%;
max-width: 1200px;
margin: 0;
padding: 30px;
background-color: #ffffff;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
border-radius: 10px;
display: flex;
flex-direction: column;
align-items: center;
}
/* Button Section - Positioned at the top */
.button-section {
width: 100%;
display: flex;
justify-content: flex-start;
margin-bottom: 20px;
}
.button-section .btn {
padding: 12px 20px;
background-color: #007bff; /* Blue button */
color: white;
font-size: 16px;
border: none;
border-radius: 5px;
cursor: pointer;
margin-right: 15px;
transition: background-color 0.3s ease;
}
.button-section .btn:hover {
background-color: #0056b3; /* Darker blue on hover */
}
/* Main Content Section */
.main-content {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
}
/* Header */
header {
text-align: center;
margin-bottom: 30px;
}
header h1 {
font-size: 36px;
color: #333;
}
/* Card Container */
.card-container {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 20px;
margin-bottom: 30px;
width: 100%;
}
/* Card */
.card {
background-color: #cfe2ff; /* Light blue card background */
padding: 30px;
border-radius: 10px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
width: 22%;
text-align: center;
min-width: 220px;
}
.card h2 {
font-size: 24px;
color: #333;
}
.card p {
font-size: 16px;
color: #333;
}
/* Footer */
footer {
text-align: center;
width: 100%;
margin-top: 30px;
}
footer .btn {
padding: 12px 25px;
background-color: #28a745; /* Green button */
color: white;
font-size: 18px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
footer .btn:hover {
background-color: #218838; /* Darker green on hover */
}
/* Responsive Design */
@media (max-width: 768px) {
.card-container {
justify-content: center;
}
.card {
width: 45%;
margin-bottom: 20px;
}
.button-section .btn {
font-size: 14px;
}
}
@media (max-width: 480px) {
.card-container {
flex-direction: column;
align-items: center;
}
.card {
width: 80%;
}
.button-section .btn {
width: 100%;
margin-bottom: 10px;
}
}
/* Knowledge Check Button */
.knowledge-check-btn {
display: inline-flex;
align-items: center;
padding: 12px 30px;
background-color: #6c757d; /* Gray for knowledge check */
color: white;
border: none;
border-radius: 50px;
font-size: 18px;
cursor: pointer;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: background 0.3s ease, transform 0.2s ease;
text-decoration: none;
}
.knowledge-check-btn:hover {
background-color: #5a6268; /* Darker gray on hover */
transform: scale(1.05);
}
.knowledge-check-btn i {
margin-right: 10px;
}
/* Optional: Additional style for Brain Exercise button */
.brain-exercise-btn {
background-color: #f39c12; /* Yellow-orange for Brain Exercise */
}
.brain-exercise-btn:hover {
background-color: #e67e22; /* Darker orange on hover */
}