MediaWiki:Vector.css: Difference between revisions
Content deleted Content added
use Five Cents font for Pickle |
fix main page background image, fix font |
||
(12 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
--character-font: Domigorgon; |
--character-font: Domigorgon; |
||
--background-color-base: rgba(255, 255, 255, 0.97); |
|||
} |
} |
||
Line 11: | Line 12: | ||
background: none; |
background: none; |
||
} |
} |
||
} |
|||
body, |
|||
.mw-editsection, .mw-editsection-like { |
|||
⚫ | |||
} |
} |
||
.mw-logo-wordmark, |
.mw-logo-wordmark, |
||
#pt-userpage-2 |
#pt-userpage-2, |
||
#pt-userpage-sticky-header { |
|||
⚫ | |||
font-family: Domigorgon, Nunito, sans-serif; |
|||
} |
} |
||
.portable-infobox .pi-title { |
.portable-infobox .pi-title { |
||
font-family: var(--character-font), Domigorgon, sans-serif; |
font-family: var(--character-font), Domigorgon, Nunito, sans-serif; |
||
} |
} |
||
.mw-body h1 |
.mw-body h1, |
||
.mw-page-title-main, |
|||
.vector-sticky-header-context-bar-primary { |
|||
font-family: var(--character-font), Domigorgon, 'Linux Libertine', 'Georgia', 'Times', serif; |
font-family: var(--character-font), Domigorgon, 'Linux Libertine', 'Georgia', 'Times', serif; |
||
} |
} |
||
body.rootpage-Pickle |
body.rootpage-Pickle, |
||
body.rootpage-Prunus { |
|||
--character-font: 'Five Cents'; |
--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-panel, |
||
.skin-vector-legacy .mw-body, |
.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 { |
.skin-vector-legacy #footer { |
||
background-color: rgba(255, 255, 255, 0.97); |
background-color: rgba(255, 255, 255, 0.97); |
||
Line 45: | Line 60: | ||
.skin-vector-legacy #footer-icons { |
.skin-vector-legacy #footer-icons { |
||
align-self: flex-end; |
align-self: flex-end; |
||
} |
|||
/* Main page */ |
|||
body.rootpage-Main_Page.action-view .vector-header-container:not(.vector-sticky-header-container) .mw-header, |
|||
body.rootpage-Template_Main_Page.action-view .vector-header-container:not(.vector-sticky-header-container) .mw-header { |
|||
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; |
|||
} |
} |
Latest revision as of 22:38, 29 July 2024
/* All CSS here will be loaded for users of the Vector skin */
body {
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;
--background-color-base: rgba(255, 255, 255, 0.97);
}
@media print {
body {
background: none;
}
}
body,
.mw-editsection, .mw-editsection-like {
font-family: Nunito, sans-serif;
}
.mw-logo-wordmark,
#pt-userpage-2,
#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-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,
.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) .mw-header,
body.rootpage-Template_Main_Page.action-view .vector-header-container:not(.vector-sticky-header-container) .mw-header {
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;
}