Jump to content

MediaWiki:Minerva.css: Difference between revisions

From THS Wiki
No edit summary
Replaced content with "body{ text-color: white; }"
Tags: Replaced Mobile edit Mobile web edit
Line 1: Line 1:
/* 1. Universal Silver Links */
body{
a, .mw-body a {
text-color: white;
    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:17, 21 February 2026

body{
	text-color: white;
}