MediaWiki:Minerva.css: Difference between revisions
imported>Dawning No edit summary |
imported>Dawning No edit summary |
||
| Line 52: | Line 52: | ||
font-family: var(--wiki-body-font-family); | font-family: var(--wiki-body-font-family); | ||
accent-color: var(--wiki-accent-color); | accent-color: var(--wiki-accent-color); | ||
} | |||
.pre-content h1, .content .mw-heading1, .content h1, .content .mw-heading2, .content h2 { | |||
font-family: 'Pixelify Sans', 'Outfit', 'Times', 'Source Serif Pro', serif; | |||
} | } | ||
Revision as of 03:50, 16 October 2025
/* ---------- Hide actions for anonymous users ---------- */
html:not(.is-authenticated) .minerva-page-actions-menu,
html:not(.is-authenticated) .page-actions-overflow,
html:not(.is-authenticated) .header-action,
html:not(.is-authenticated) .minerva-drawer,
body:not(.is-authenticated) .minerva-page-actions-menu,
body:not(.is-authenticated) .page-actions-overflow,
body:not(.is-authenticated) .header-action,
body:not(.is-authenticated) .minerva-drawer {
display: none !important;
}
/* ---------- Show login button for anonymous users ---------- */
html:not(.is-authenticated) #pt-login,
body:not(.is-authenticated) #pt-login {
display: inline-block !important;
background: #2a4b8d;
color: #fff;
padding: 6px 12px;
border-radius: 6px;
font-weight: 600;
margin-right: 0.5rem;
text-decoration: none;
}
/* ---------- Style login button ---------- */
#pt-login:hover {
background: #365fb8;
}
/* ---------- Ensure logged-in users see everything ---------- */
html.is-authenticated .minerva-page-actions-menu,
html.is-authenticated .page-actions-overflow,
html.is-authenticated .header-action,
html.is-authenticated .minerva-drawer,
body.is-authenticated .minerva-page-actions-menu,
body.is-authenticated .page-actions-overflow,
body.is-authenticated .header-action,
body.is-authenticated .minerva-drawer {
display: flex !important;
}
html,
body,
.skin-minerva {
background-image: var(--wiki-body-background-image);
background-size: cover;
background-position: bottom left;
background-repeat: no-repeat;
background-attachment: fixed;
background-color: var(--wiki-body-background-color);
font-family: var(--wiki-body-font-family);
accent-color: var(--wiki-accent-color);
}
.pre-content h1, .content .mw-heading1, .content h1, .content .mw-heading2, .content h2 {
font-family: 'Pixelify Sans', 'Outfit', 'Times', 'Source Serif Pro', serif;
}