-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
268 lines (222 loc) · 5.07 KB
/
styles.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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
/* Set global styles */
body {
color: #333;
background-color: #F5F5F5;
font-size: 18px; /* Increased font size for better readability */
font-family: 'Open Sans', sans-serif; /* More modern and readable font */
line-height: 1.8; /* Increased line height for better readability */
margin: 0;
}
/* Container styles */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 2rem; /* Increased padding for more white space */
display: grid; /* Use grid layout for better alignment */
grid-template-columns: 1fr; /* Single column layout by default */
gap: 2rem; /* Gap between grid items */
}
/* Header styles */
.header {
background-color: #004D4D;
border-radius: 6px;
color: #FFF;
font-size: 2.5rem; /* Increased font size for better readability */
padding: 2rem; /* Increased padding for more white space */
text-align: center;
font-family: 'Roboto', sans-serif; /* More modern and readable font */
}
/* Panel caption styles */
.panel-caption {
background-color: #006666;
border-radius: 6px;
color: #FFF;
font-size: 2rem; /* Increased font size for better readability */
padding: 1rem; /* Increased padding for more white space */
text-align: center;
margin-top: 2rem; /* Increased margin for more white space */
margin-bottom: 2rem; /* Increased margin for more white space */
}
/* Styles for level panels */
.overview-panel-level {
background-color: #FFF;
border-radius: 3px;
color: #333;
padding: 2rem; /* Increased padding for more white space */
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
/* Headings */
h2 {
margin-bottom: 2rem; /* Increased margin for more white space */
}
/* Link styles */
a {
color: #004d4d; /* Retain the existing color */
text-decoration: underline; /* Underline links */
}
a:hover, a:focus {
color: #d9534f; /* Change color on hover and focus to Bootstrap's danger color for a contrasting red */
}
/* Paragraphs */
p {
margin-bottom: 2rem; /* Increased margin for more white space */
}
/* New color palette */
:root {
--primary-color: #004D4D;
--secondary-color: #006666;
--accent-color: #d9534f;
--background-color: #F5F5F5;
--text-color: #333;
--header-font: 'Roboto', sans-serif;
--body-font: 'Open Sans', sans-serif;
}
/* Typography improvements */
body {
font-family: var(--body-font);
}
h1, h2, h3, h4, h5, h6 {
font-family: var(--header-font);
color: var(--primary-color);
}
h1 {
font-size: 3rem; /* Increased font size for better readability */
}
h2 {
font-size: 2.5rem; /* Increased font size for better readability */
}
h3 {
font-size: 2rem; /* Increased font size for better readability */
}
h4 {
font-size: 1.75rem; /* Increased font size for better readability */
}
h5 {
font-size: 1.5rem; /* Increased font size for better readability */
}
h6 {
font-size: 1.25rem; /* Increased font size for better readability */
}
/* Spacing improvements */
.container {
padding: 2rem;
}
.header {
padding: 2rem;
}
.panel-caption {
padding: 1rem;
}
.overview-panel-level {
padding: 2rem;
}
/* Media queries for responsive design */
@media (max-width: 768px) {
.container {
padding: 1rem;
grid-template-columns: 1fr; /* Single column layout on smaller screens */
}
.header {
font-size: 2rem; /* Adjusted font size for smaller screens */
padding: 1rem;
}
.panel-caption {
font-size: 1.75rem; /* Adjusted font size for smaller screens */
padding: 0.5rem;
}
.overview-panel-level {
padding: 1rem;
}
h1 {
font-size: 2.5rem; /* Adjusted font size for smaller screens */
}
h2 {
font-size: 2rem; /* Adjusted font size for smaller screens */
}
h3 {
font-size: 1.75rem; /* Adjusted font size for smaller screens */
}
h4 {
font-size: 1.5rem; /* Adjusted font size for smaller screens */
}
h5 {
font-size: 1.25rem; /* Adjusted font size for smaller screens */
}
h6 {
font-size: 1rem; /* Adjusted font size for smaller screens */
}
}
/* Hover effects and animations */
a {
transition: color 0.3s ease;
}
a:hover, a:focus {
color: var(--accent-color);
}
button {
background-color: var(--primary-color);
color: #FFF;
border: none;
padding: 0.5rem 1rem;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover, button:focus {
background-color: var(--secondary-color);
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.fade-in {
animation: fadeIn 1s ease-in-out;
}
/* Optional styling for the new content */
figure {
margin: 20px 0;
text-align: center;
}
figure img {
max-width: 100%;
height: auto;
}
figcaption {
font-style: italic;
color: #666;
}
hr {
border: none;
border-top: 1px solid #ccc;
margin: 40px 0;
}
h1, h2, h3 {
color: #333;
}
p {
line-height: 1.6;
color: #555;
}
ul, ol {
margin-left: 20px;
color: #555;
}
/* Footer styles */
footer {
background-color: var(--primary-color);
color: #FFF;
padding: 2rem;
text-align: center;
font-family: var(--header-font);
}
footer a {
color: #FFF;
text-decoration: underline;
}
footer a:hover, footer a:focus {
color: var(--accent-color);
}