forked from MUME/MMapper
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
397 lines (329 loc) · 8.3 KB
/
Copy pathstyle.css
File metadata and controls
397 lines (329 loc) · 8.3 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
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
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
/* Minimal MMapper Website Styles */
/* Basic Reset & Body */
.skip-link {
position: absolute;
top: -40px;
left: 0;
background: #cc9933;
color: #1a1a1a;
padding: 8px;
z-index: 100;
transition: top 0.3s;
}
.skip-link:focus,
.skip-link:focus-visible {
top: 0;
}
body {
margin: 0;
padding: 0;
font-family: Georgia, serif; /* Simple serif fallback */
line-height: 1.6;
background-color: #1a1a1a; /* Dark background */
color: #ccc; /* Light grey text */
}
/* Content Wrapper */
.content-wrapper {
max-width: 900px;
margin: 20px auto;
padding: 20px;
background-color: #2a2a2a; /* Slightly lighter dark background for content */
border-radius: 5px;
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
font-family: "Trebuchet MS", sans-serif; /* Simple sans-serif fallback */
color: #eee; /* Lighter heading color */
margin-top: 1.5em;
margin-bottom: 0.5em;
}
h1 {
font-size: 2em;
text-align: center;
border-bottom: 1px solid #555;
padding-bottom: 0.3em;
margin-bottom: 1em;
}
h2 {
font-size: 1.6em;
color: #74a9be; /* MUME-inspired color */
}
h3 {
font-size: 1.3em;
color: #cc9933; /* MUME-inspired color */
}
/* Links */
a {
color: #cc9933; /* MUME-inspired link color */
text-decoration: none;
}
a:hover {
text-decoration: none;
color: #eebb44; /* Lighter hover */
}
/* Paragraphs and Lists */
p {
margin-bottom: 1em;
}
ul, ol {
margin-bottom: 1em;
padding-left: 2em;
}
li {
margin-bottom: 0.5em;
}
/* Code Blocks */
pre, code {
font-family: Consolas, "Courier New", monospace; /* Monospace fallback */
background-color: #333;
padding: 2px 4px;
border-radius: 3px;
font-size: 0.95em;
}
pre {
padding: 1em;
overflow-x: auto;
white-space: pre-wrap; /* Wrap long lines */
word-wrap: break-word;
}
/* Horizontal Rule */
hr {
border: 0;
height: 1px;
background-color: #555;
margin: 2em 0;
}
/* Platform Icons Section (on index.md) */
.platform-links {
display: flex;
justify-content: space-around;
align-items: center;
text-align: center;
margin: 2em 0;
padding: 1em 0;
border-top: 1px solid #555;
border-bottom: 1px solid #555;
}
.platform-link {
display: flex;
flex-direction: column;
align-items: center;
color: #ccc; /* Match body text */
text-decoration: none;
}
.platform-link i { /* Font Awesome Icon */
font-size: 3em; /* Make icons large */
margin-bottom: 0.5em;
color: #cc9933; /* Icon color */
}
.platform-link:hover i {
color: #eebb44; /* Lighter hover for icon */
}
.platform-link span { /* Text below icon */
font-size: 1.1em;
font-family: "Trebuchet MS", sans-serif;
}
/* Download Buttons/Links (on platform pages) */
.download-link {
display: inline-block;
background-color: #cc9933;
color: #1a1a1a; /* Dark text on button */
padding: 0.8em 1.5em;
border-radius: 5px;
text-decoration: none;
font-weight: bold;
margin: 0.5em 0;
transition: background-color 0.2s ease;
}
.download-link:hover {
background-color: #eebb44;
color: #000;
text-decoration: none;
}
/* Recommended Download Highlight */
.recommended-download {
border: 2px solid #5cb85c; /* Green border */
padding: 0.6em 1.3em !important; /* Adjust padding slightly */
}
.recommendation-text {
color: #5cb85c;
font-weight: bold;
margin-left: 0.5em;
}
/* Warning Boxes */
.notice-box {
border: 1px solid #fdc571; /* Orange border */
background-color: #3a3020; /* Dark orange background */
padding: 1em;
margin-top: 1.5em;
border-radius: 4px;
color: #fdddb3; /* Light text for contrast */
}
.notice-box strong {
color: #fdddb3; /* Ensure strong text is also light */
}
.notice-box code {
background-color: #5a5040; /* Slightly darker code background within notice */
color: #fdddb3;
}
/* Basic Footer */
footer {
text-align: center;
margin-top: 2em;
padding-top: 1em;
border-top: 1px solid #555;
font-size: 0.9em;
color: #888;
}
/* Feature Box */
.feature-box {
display: inline-block;
padding: 0.3em 0.6em;
background-color: #333;
border-radius: 5px;
margin-right: 0.5em;
}
/* Style for the Beta Downloads expandable section */
details.beta-downloads-details {
margin-top: 2em;
padding: 1em;
background-color: #333; /* Slightly darker background */
border: 1px solid #555;
border-radius: 5px;
}
details.beta-downloads-details summary {
cursor: pointer;
color: #cc9933; /* Gold color for summary */
}
.beta-notice {
margin-top: 1em;
padding-top: 1em;
border-top: 1px solid #555;
}
.beta-notice p {
margin-bottom: 0.8em;
}
/* Light mode styles */
@media (prefers-color-scheme: light) {
body {
background-color: #f0f0f0; /* Light background */
color: #333; /* Dark text */
}
.content-wrapper {
background-color: #ffffff; /* White background for content */
}
h1, h2, h3, h4, h5, h6 {
color: #333; /* Dark headings */
}
h1 {
border-bottom: 1px solid #ccc; /* Light grey border */
}
h2 {
color: #5a8a9b; /* Darker variant of MUME-inspired blue */
}
h3 {
color: #a07a2a; /* Darker variant of MUME-inspired gold */
}
a {
color: #a07a2a; /* Darker variant of MUME-inspired link color */
}
a:hover {
color: #cc9933; /* Original MUME-inspired link color for hover */
}
pre, code {
background-color: #eee; /* Light background for code */
color: #333; /* Dark text for code */
}
hr {
background-color: #ccc; /* Light grey horizontal rule */
}
.platform-link {
color: #333; /* Match body text */
}
.platform-link i {
color: #a07a2a; /* Darker variant of MUME-inspired icon color */
}
.platform-link:hover i {
color: #cc9933; /* Original MUME-inspired icon color for hover */
}
.download-link {
background-color: #a07a2a; /* Darker variant of MUME-inspired button */
color: #ffffff; /* White text on button */
}
.download-link:hover {
background-color: #cc9933; /* Original MUME-inspired button hover */
color: #1a1a1a; /* Dark text on hover */
}
.recommended-download {
border: 2px solid #4a904a; /* Darker green border */
}
.recommendation-text {
color: #4a904a; /* Darker green text */
}
.notice-box {
border: 1px solid #fdc571; /* Original orange border */
background-color: #fff0cc; /* Light orange background */
color: #806030; /* Dark text for contrast */
}
.notice-box strong {
color: #806030; /* Ensure strong text is also dark */
}
.notice-box code {
background-color: #ffe099; /* Slightly darker code background within notice */
color: #806030;
}
footer {
border-top: 1px solid #ccc; /* Light grey border */
color: #666; /* Slightly darker grey for footer text */
}
.feature-box {
background-color: #eee; /* Light background */
color: #333; /* Dark text */
}
details.beta-downloads-details {
background-color: #eee; /* Light background */
border: 1px solid #ccc; /* Light grey border */
}
details.beta-downloads-details summary {
color: #a07a2a; /* Darker variant of gold color for summary */
}
.beta-notice {
border-top: 1px solid #ccc; /* Light grey border */
}
}
/* Add this at the end of the file */
@media (max-width: 768px) {
/* Adjustments for smaller screens */
.content-wrapper {
padding: 10px;
}
/* Make the main div in index.md stack vertically */
#index-screenshot-flex {
flex-direction: column;
align-items: center;
}
#index-screenshot-flex > img {
margin-right: 0;
margin-bottom: 1em;
}
/* Adjust the header in default.html to stack vertically */
header > div {
flex-direction: column;
align-items: center;
}
header > div > img {
margin-bottom: 0.5em;
}
/* Make the platform links wrap to multiple lines */
.platform-links {
flex-wrap: wrap;
}
.platform-link {
width: 50%; /* Two links per row */
margin-bottom: 1em;
}
#index-screenshot-flex > img {
margin-left: auto !important;
margin-right: auto !important;
}
}