MediaWiki:Minerva.css: Difference between revisions
Blanked the page Tags: Blanking Manual revert Mobile edit Mobile web edit |
No edit summary |
||
| Line 1: | Line 1: | ||
/* 1. Universal Silver Links */ | |||
a, .mw-body a { | |||
color: silver !important; | |||
} | |||
/* 2. Full-Width Banner (Mobile) */ | |||
/* Minerva doesn't use .mw-page-container; it uses .header-container and .content */ | |||
.header-container { | |||
background-image: url('https://wiki.thehumanserver.org/images/9/9e/Wiki_background_top.png'); | |||
background-size: cover; | |||
background-position: center; | |||
} | |||
/* 3. Force Tables to Fit (Crucial for Mobile) */ | |||
/* This adds a scrollbar to any table that is too wide for the phone screen */ | |||
.content table { | |||
display: block; | |||
width: 100% !important; | |||
overflow-x: auto; | |||
-webkit-overflow-scrolling: touch; | |||
} | |||
/* 4. Force Dark Mode (Mobile Specific) */ | |||
/* Minerva adds the .client-darkmode class to the <html> or <body> tag */ | |||
.client-darkmode { | |||
background-color: #101418 !important; | |||
color: #eaecf0 !important; | |||
} | |||
Revision as of 18:16, 21 February 2026
/* 1. Universal Silver Links */
a, .mw-body a {
color: silver !important;
}
/* 2. Full-Width Banner (Mobile) */
/* Minerva doesn't use .mw-page-container; it uses .header-container and .content */
.header-container {
background-image: url('https://wiki.thehumanserver.org/images/9/9e/Wiki_background_top.png');
background-size: cover;
background-position: center;
}
/* 3. Force Tables to Fit (Crucial for Mobile) */
/* This adds a scrollbar to any table that is too wide for the phone screen */
.content table {
display: block;
width: 100% !important;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
/* 4. Force Dark Mode (Mobile Specific) */
/* Minerva adds the .client-darkmode class to the <html> or <body> tag */
.client-darkmode {
background-color: #101418 !important;
color: #eaecf0 !important;
}