MediaWiki:Vector.css: Difference between revisions

fix background
(semi-transparent body background, expand custom font to more headings)
(fix background)
 
(13 intermediate revisions by the same user not shown)
Line 3:
background: #fff url('https://static.miraheze.org/chicorywiki/6/6c/Chicory_Wiki_page_background.jpg') no-repeat fixed 50% 50%;
background-size: cover;
--character-font: Domigorgon;
}
 
Line 11 ⟶ 13:
}
 
body,
.mw-logo-wordmark {
.mw-editsection, .mw-editsection-like {
font-family: Domigorgon, sans-serif;
font-family: Nunito, sans-serif;
}
 
.mw-body h1 {logo-wordmark,
#pt-userpage-2,
font-family: Domigorgon, 'Linux Libertine', 'Georgia', 'Times', serif;
#pt-userpage-sticky-header {
font-family: Domigorgon, Nunito, sans-serif;
}
 
.portable-infobox .pi-title {
font-family: var(--character-font), Domigorgon, Nunito, sans-serif;
}
 
.mw-body h1,
.mw-page-title-main,
.vector-feature-zebra-design-disabled .vector-sticky-header-context-bar-primary {
font-family: var(--character-font), Domigorgon, 'Linux Libertine', 'Georgia', 'Times', serif;
}
 
body.rootpage-Pickle,
body.rootpage-Prunus {
--character-font: 'Five Cents';
}
 
body.rootpage-Blackberry,
body.rootpage-Mom,
body.rootpage-Pumpernickel,
body.rootpage-Quinoa {
--character-font: Metafors;
}
 
.skin-vector-legacy #mw-panel,
.skin-vector-legacy .mw-body,
.vector-feature-zebra-design-disabled .vector-header-container,
.vector-feature-zebra-design-disabled .mw-page-container {,
.skin-vector-legacy #footer {
background-color: rgba(255, 255, 255, 0.97);
}
 
.skin-vector-legacy #footer {
display: flex;
flex-direction: column;
}
 
.skin-vector-legacy #footer-icons {
align-self: flex-end;
}
 
/* Main page */
body.rootpage-Main_Page.action-view .vector-header-container:not(.vector-sticky-header-container),
body.rootpage-Template_Main_Page.action-view .vector-header-container:not(.vector-sticky-header-container) {
background-image: url('https://static.miraheze.org/chicorywiki/8/87/Wiki_main_page_background.png');
background-repeat: no-repeat;
background-position: 50% 0;
background-size: 1596px 910px;
}
 
body.rootpage-Main_Page.action-view .mw-page-container,
body.rootpage-Template_Main_Page.action-view .mw-page-container {
background-image: url('https://static.miraheze.org/chicorywiki/8/87/Wiki_main_page_background.png');
background-repeat: no-repeat;
background-position: 50% -66px;
background-size: 1596px 910px;
}