-
Notifications
You must be signed in to change notification settings - Fork 0
/
Monoasis.css
606 lines (506 loc) · 12.5 KB
/
Monoasis.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
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
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
/* Full width */
#WikiaRailWrapper,
.WikiaRail {
display: none;
}
.WikiaPage {
width: initial;
margin: 0 5% 1em 5%;
border: 1px solid #ccc;
z-index: 1;
}
.WikiaMainContent,
.wds-community-header {
width: 100%;
}
body {
padding: 0 !important;
color: black;
}
.WikiaPage {
padding: 2em;
}
/* White, opaque background */
.WikiaPage,
#WikiaPageBackground {
background: #F6F6F6 !important;
}
#WikiaPageBackground {
opacity: initial !important;
}
body,
body::before,
body::after {
background: #eee !important;
}
.background-image-gradient {
display: none;
}
/* Always allow scrolling */
body {
overflow-y: initial !important;
}
/* No floating navigation bar */
#globalNavigation {
position: absolute;
}
/* Separate header from article */
.WikiaPage {
padding-top: 1em;
margin-top: 3em;
border-top: 1px solid #ccc;
}
.wds-community-header + .WikiaPage {
border-top: 1px solid #ccc;
}
/* Monobook-style headings */
.WikiaPage h1,
.WikiaPage h2,
.WikiaPage h3,
.WikiaPage h4,
.WikiaPage h5,
.WikiaPage h6,
.WikiaPage h1.page-header__title,
.ArticlePreviewInner h1,
.ArticlePreviewInner h2,
.ArticlePreviewInner h3,
.ArticlePreviewInner h4,
.ArticlePreviewInner h5,
.ArticlePreviewInner h6 {
color: black;
font-weight: normal;
margin: 0;
overflow: hidden;
}
.WikiaPage h1,
.WikiaPage h1.page-header__title,
.ArticlePreviewInner h1.pagetitle {
font-size: 1.8em;
}
.WikiaPage h2,
.ArticlePreview h2 {
font-size: 1.5em;
}
.WikiaPage h3,
.ArticlePreview h3 {
font-size: 1.2em;
}
h3 .mw-headline {
font-weight: bold;
}
.WikiaPage h1,
.WikiaPage h2,
.ArticlePreviewInner h1,
.ArticlePreviewInner h2 {
line-height: 1.3em;
font-family: "Linux Libertine","Georgia","Times",serif;
padding: 0px;
margin-top: 1em;
margin-bottom: 0.5em;
}
.WikiaPage h3,
.WikiaPage h4,
.WikiaPage h5,
.WikiaPage h6,
.ArticlePreviewInner h3,
.ArticlePreviewInner h4,
.ArticlePreviewInner h5,
.ArticlePreviewInner h6 {
line-height: 1.6em;
margin-top: 0.3em;
padding-bottom: 0;
}
.ArticlePreviewInner h1.pagetitle {
margin-top: 0;
border-bottom: 1px solid #ccc;
}
.WikiaPage #toctitle h2 {
font-family: sans-serif;
font-weight: bold;
font-size: 0.9em;
}
#PageHeader {
padding: 0.5em 0;
}
.WikiaPage .page-header__main {
margin-bottom: -0.5em;
}
.WikiaPage h1.page-header__title {
margin-top: 0;
border-bottom: none;
font-size: 2.2em;
}
.WikiaPage .page-header__subtitle {
font-size: 0.75em;
margin: 0;
position: absolute;
right: 0;
bottom: 0;
}
.WikiaPage .page-header__separator {
margin-bottom: 0.5em;
}
/* Remove categories under page title */
.WikiaPage .page-header__categories {
display: none;
}
/* Remove the page subtitle */
.page-header__page-subtitle {
display: none;
}
/* Monobook-style text */
body {
font-family: sans-serif !important;
font-size: 12px;
}
.WikiaArticle {
font-size: 14px !important;
color: #222 !important;
line-height: 1.6em !important;
}
.WikiaArticle pre {
line-height: 1.1em;
font-size: 14px;
}
.WikiaArticle pre span {
color: black !important;
font-weight: initial !important;
}
/* Monobook-style lists */
.WikiaArticle ul {
margin: 0.3em 0px 0px 1.6em;
}
.WikiaArticle dl {
margin: 0.2em 0 0 0.5em;
}
.WikiaArticle dd {
margin: 0 0 0 1.6em;
}
/* Monobook-style edit section */
.sprite.edit-pencil {
display: none;
}
.editsection {
float: right !important;
font-family: sans-serif;
margin-right: 0.5em;
text-transform: lowercase;
}
.editsection::before {
content: '['
}
.editsection::after {
content: ']'
}
/* Adjust categories margins */
.article-categories {
margin: 1em 0 0 0;
padding: 0.3em;
}
/* Monobook-style contribution buttons */
.WikiaPage .page-header .wds-button svg,
.page-header__contribution-buttons .wds-dropdown__toggle,
.page-header__contribution-buttons .wds-dropdown::before,
.page-header__contribution-buttons .wds-dropdown::after {
display: none;
}
.page-header__contribution-buttons .wds-button-group {
display: inline;
}
.WikiaPage .page-header .wds-button {
border: none;
margin: 0;
padding: 0;
background: transparent;
display: inherit;
min-height: initial;
vertical-align: baseline;
}
.WikiaPage .page-header .wds-button span {
font-weight: initial;
font-style: initial;
text-transform: initial;
line-height: initial;
letter-spacing: initial;
}
.WikiaPage .page-header .wds-button:hover:not(:disabled) {
background: transparent;
}
.WikiaPage .page-header .wds-button:hover:not(:disabled) > span {
color: #0148C2;
}
.page-header__contribution-buttons .wds-dropdown__content,
.page-header__contribution-buttons .wds-dropdown:hover .wds-dropdown__content,
.page-header .wds-dropdown__content .wds-list.wds-is-linked > li > a {
display: initial;
position: initial;
border: none;
margin: 0;
padding: 0;
background: transparent;
}
.WikiaPage .page-header__contribution {
position: absolute;
margin: 0;
width: 100%;
display: inline;
bottom: 4.3em;
left: -2em;
}
.page-header__contribution-buttons .wds-dropdown__content .wds-list.wds-is-linked > li,
.WikiaPage .page-header .wds-button span {
background: #F6F6F6;
padding: 0.2em 0.6em;
margin: 0 0.2em;
border: 1px solid #ccc;
font-size: 14px;
}
.WikiaPage .page-header .wds-button span {
margin-left: -1px;
margin-right: 0;
}
.page-header__contribution-buttons .wds-dropdown__content li,
.page-header__contribution-buttons .wds-dropdown__content li a {
display: inline;
margin: 0;
}
.WikiaPage .page-header__contribution-buttons .wds-dropdown__content:hover,
.WikiaPage .page-header__contribution-buttons .wds-dropdown__content .wds-list.wds-is-linked li:hover > a {
background: transparent;
}
/* Remove language links */
.WikiaArticleInterlang,
.wds-dropdown.page-header__languages {
display: none;
}
/* Remove category gallery */
.category-gallery {
display: none;
}
/* Remove share button */
#ShareEntryPoint {
display: none;
}
/* Remove discuss button */
a[data-tracking="discuss"] {
display: none;
}
/* Remove bottom bar */
#WikiaBar {
display: none;
}
/* Remove print footer */
.printfooter {
display: none;
}
/* Remove ads */
#WikiaTopAds,
#top-right-boxad-wrapper,
#WikiaFooter {
display: none !important;
}
/* Remove user profile box */
#UserProfileMasthead {
display: none;
}
/* Color visited links */
a:visited {
color: #003180;
}
/* Fix edit page */
.EditPage {
background: initial;
margin-top: 0.5em;
border: 1px solid #ccc;
}
.EditPageHeader {
height: initial;
padding-left: 0;
background: #F6F6F6;
box-shadow: none;
border-bottom: none;
}
.EditPageHeader > .wordmark {
display: none;
}
.EditPageHeader h1,
.EditPageHeader h2 {
float: none;
display: inline;
vertical-align: middle;
line-height: 1.5em;
font-size: 1.8em;
margin: 0;
}
.EditPageHeader aside {
display: none;
}
#EditPage.toolbar-expanded .EditPageToolbar {
height: initial;
}
.EditPageToolbar,
.editpage-sourcewidemode.mode-source.editpage-sourcewidemode-on .EditPageToolbar {
padding: 0;
background: #e0e0e0;
}
.EditPageToolbar > .cke_toolbar_source {
padding: 0 0.2em 0.2em 0.5em;
}
.EditPageEditorWrapper {
padding: 0;
}
.EditPageEditor.noFooter {
margin: 0;
}
.EditPageEditor.noFooter .editpage-editarea {
border: none;
}
.editpage-widemode-trigger {
background: #e0e0e0;
}
.EditPageRail {
box-shadow: none;
}
/* Move page controls to bottom */
.editpage-sourcewidemode.mode-source.editpage-sourcewidemode-on {
display: flex;
flex-direction: column;
}
.editpage-sourcewidemode.mode-source.editpage-sourcewidemode-on .EditPageRail {
order: 2;
position: initial;
height: auto !important;
padding: 0.5em;
background: #e0e0e0;
border-top: 1px solid #ccc;
}
.editpage-sourcewidemode.mode-source.editpage-sourcewidemode-on .EditPageRail .module_page_controls .module_content {
padding: 0;
}
.EditPage .module_page_controls .checkboxes > label,
.editpage-sourcewidemode.mode-source.editpage-sourcewidemode-on .EditPageRail .module_page_controls .module_content .preview_box h3,
#EditPage.toolbar-expanded .diff-link,
#EditPage.toolbar-expanded #wpSave {
font-size: 0.8em;
}
#EditPage.toolbar-expanded .preview-header,
.editpage-sourcewidemode.mode-source.editpage-sourcewidemode-on .EditPageRail .module_page_controls .module_content .preview_box h3,
.editpage-sourcewidemode.mode-source.editpage-sourcewidemode-on .EditPageRail .module_page_controls .module_content .preview_box,
.editpage-sourcewidemode.mode-source.editpage-sourcewidemode-on .EditPageRail .module_page_controls .module_content .buttons,
.editpage-sourcewidemode.mode-source.editpage-sourcewidemode-on .EditPageRail .module_page_controls .module_content .wpSummaryFields,
.editpage-sourcewidemode.mode-source.editpage-sourcewidemode-on .EditPageRail .module_page_controls .module_content .checkboxes,
.editpage-sourcewidemode.mode-source.editpage-sourcewidemode-on .EditPageRail .module_page_controls .module_content .checkboxes span,
.editpage-sourcewidemode.mode-source.editpage-sourcewidemode-on .EditPageRail .module_page_controls .module_content .checkboxes label:only-child,
.editpage-sourcewidemode.mode-source.editpage-sourcewidemode-on .EditPageRail .module_page_controls .module_content .checkboxes label:only-child input {
float: none;
display: inline-block;
vertical-align: middle;
margin: 0;
}
.editpage-sourcewidemode.mode-source.editpage-sourcewidemode-on .EditPageRail .module_page_controls .module_content #wpSummary {
width: 30em;
height: initial;
margin: 0;
padding: 0.5em;
border-radius: 0;
}
.editpage-sourcewidemode.mode-source.editpage-sourcewidemode-on .EditPageRail .module_page_controls .module_content .checkboxes {
margin: 0.3em;
}
.editpage-sourcewidemode.mode-source.editpage-sourcewidemode-on .EditPageRail .module_page_controls .module_content .checkboxes span {
width: initial;
line-height: 1.5em;
color: initial;
}
.EditPage .module_page_controls .checkboxes > label input {
height: 1.5em;
margin: 0;
}
.editpage-sourcewidemode.mode-source.editpage-sourcewidemode-on .EditPageRail .module_page_controls .module_content .preview_box {
height: auto;
padding: 0;
}
#EditPage.toolbar-expanded .preview_mobile,
#EditPage.toolbar-expanded .preview_desktop,
.editpage-sourcewidemode.mode-source.editpage-sourcewidemode-on .EditPageRail .module_page_controls .module_content .preview_box .preview_mobile,
.editpage-sourcewidemode.mode-source.editpage-sourcewidemode-on .EditPageRail .module_page_controls .module_content .preview_box .preview_desktop {
float: none;
display: inline-block;
vertical-align: bottom;
padding: 0;
margin: 0 0.2em;
}
.editpage-sourcewidemode.mode-source.editpage-sourcewidemode-on .EditPageRail .module_page_controls .module_content .preview_box .preview_mobile svg,
.editpage-sourcewidemode.mode-source.editpage-sourcewidemode-on .EditPageRail .module_page_controls .module_content .preview_box .preview_desktop svg {
display: inline-block;
height: 1em;
}
#EditPage.toolbar-expanded .diff-link,
.editpage-sourcewidemode.mode-source.editpage-sourcewidemode-on .EditPageRail .module_page_controls .module_content .diff-link {
display: inline-block;
vertical-align: bottom;
width: initial;
line-height: 1.5em;
margin: 0 0.5em;
}
#EditPage.toolbar-expanded #wpSave,
.editpage-sourcewidemode.mode-source.editpage-sourcewidemode-on .module_page_controls .control-button {
background: none;
border: none;
width: initial;
height: initial !important;
line-height: 1.5em;
margin: 0 0.2em;
padding: 0;
}
/* Prevent dynamic resizing of editor */
#editarea textarea {
height: auto !important;
}
/* Hide edit toolbar */
.EditPageToolbar {
display: none;
}
/* Show preview above editor */
.blackout {
display: none !important;
}
body.mediawiki.modalShown {
display: flex;
flex-direction: column;
}
body.mediawiki.modalShown .WikiaSiteWrapper {
order: 2;
}
body.mediawiki.modalShown .WikiaPage {
margin-top: 0;
}
#EditPageDialog.preview {
width: initial !important;
position: relative;
top: 55px !important;
left: 0 !important;
box-shadow: none;
border: 1px solid #ccc;
border-bottom: none;
margin: 1em 5% 0 5% !important;
order: 1;
}
#EditPageDialog.preview .modalContent {
margin: 0;
}
#EditPageDialog.preview .modalContent .ArticlePreview {
border: none;
border-top: 1px solid #ccc;
padding: 2em;
}
#EditPageDialog.preview .modalContent .ArticlePreviewInner {
width: initial !important;
}
#EditPageDialog.preview .modalContent .modalToolbar {
display: none;
}
/* Full height preview */
#EditPageDialog.preview .modalContent .ArticlePreview {
height: initial !important;
}