-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdashboard_css.css
More file actions
218 lines (189 loc) · 4.18 KB
/
dashboard_css.css
File metadata and controls
218 lines (189 loc) · 4.18 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
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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Lato', sans-serif, 'Merriweather', serif; /* New fonts */
}
html {
font-size: 16px;
-webkit-font-smoothing: antialiased;
}
body {
margin: 0;
padding: 0;
background: #2c3e50; /* Dark slate background */
color: #ecf0f1; /* Default light gray text for contrast */
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
font-size: 1rem;
}
/* Header Section */
header {
width: 100%;
background: linear-gradient(135deg, #e74c3c, #c0392b); /* Gradient from red to darker red */
text-align: center;
padding: 50px 20px;
box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.3); /* Soft shadow */
}
header .header-container {
display: inline-block;
text-align: center;
}
header h1 {
font-size: 3rem;
font-weight: 700; /* Using the Merriweather font for the main header */
color: #ffffff;
text-transform: uppercase;
letter-spacing: 4px;
}
header h2 {
font-size: 1.5rem;
font-weight: 400; /* Using Lato for the subtitle */
color: #ffffff; /* Light color to contrast with background */
margin-top: 10px;
letter-spacing: 1px;
}
/* Main Content Section */
.dashboard-container {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
flex: 1;
padding: 20px;
}
.main-content {
width: 100%;
max-width: 1200px;
padding: 30px;
background-color: rgba(44, 62, 80, 0.85); /* Dark semi-transparent background */
border-radius: 10px;
box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.3); /* Soft shadow */
backdrop-filter: blur(10px);
}
/* Content Section */
.content-section {
text-align: center;
margin-bottom: 40px;
}
.content-section h2 {
font-size: 2.5rem;
font-weight: 600;
color: #e74c3c; /* Red accent color */
}
.content-section p {
font-size: 1.2rem;
color: #ecf0f1;
margin-top: 10px;
}
/* Cards Container */
.cards-container {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 30px;
margin-bottom: 40px;
}
.card {
width: 100%;
max-width: 280px;
background: #34495e; /* Dark card background */
padding: 20px;
border-radius: 10px;
box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2); /* Soft shadow */
text-align: center;
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.card h3 {
font-size: 1.5rem;
font-weight: 600;
color: #ecf0f1;
margin-bottom: 15px;
}
.card a {
text-decoration: none;
color: #e74c3c; /* Red links */
font-size: 1.2rem;
font-weight: 500;
letter-spacing: 1px;
display: inline-block;
padding: 10px 15px;
border: 2px solid #e74c3c; /* Red border */
border-radius: 6px;
transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.card a:hover {
background-color: #e74c3c; /* Red background on hover */
color: #ffffff;
transform: translateY(-4px); /* Slight lift effect */
}
.card:hover {
transform: translateY(-4px); /* Lift effect */
box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.3); /* Shadow effect */
}
/* Large Card for Admin Summary */
.large-card {
background: #34495e;
padding: 30px;
border-radius: 10px;
box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.3); /* Soft shadow */
margin-top: 40px;
text-align: center;
}
.large-card h2 {
font-size: 2rem;
font-weight: 600;
color: #ecf0f1;
margin-bottom: 20px;
}
.large-card p {
font-size: 1.2rem;
color: #ecf0f1;
}
/* Footer Section */
footer {
width: 100%;
text-align: center;
padding: 20px 0;
background-color: #34495e; /* Footer background */
color: #ecf0f1; /* Text color */
box-shadow: 0px -6px 15px rgba(0, 0, 0, 0.1); /* Soft footer shadow */
position: fixed;
bottom: 0;
left: 0;
}
/* Hover Effects */
footer:hover {
background-color: #e74c3c; /* Red color on hover */
}
/* Responsive Design */
@media (max-width: 768px) {
.cards-container {
flex-direction: column;
align-items: center;
}
.card {
width: 90%;
margin-bottom: 20px;
}
.content-section h2 {
font-size: 2rem;
}
.content-section p {
font-size: 1.1rem;
}
}
@media (max-width: 480px) {
header h1 {
font-size: 2.5rem;
}
header h2 {
font-size: 1.2rem;
}
.main-content {
padding: 20px;
}
}