MediaWiki:Common.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Version 35.0 - Navigation-Only Scaling
Fixes: Specific Tab Sizes, Tab Spacing, and Content Gaps
*/
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Crimson+Pro:wght@400;700&display=swap');
:root {
--miraheze-border: #a2a9b1;
}
/* --- 1. RESET BODY TEXT --- */
/* Keeping your lore text at a normal, readable 16px */
body, #mw-content-text {
font-family: 'Crimson Pro', serif !important;
font-size: 16px !important;
line-height: 1.6 !important;
}
/* --- 2. THE TABS (Read, Edit, Discussion, History, Actions) --- */
/* This targets ONLY the navigation labels to make them bigger */
.skin-anisa .vector-menu-tabs li a,
.skin-anisa .vector-menu-dropdown .vector-menu-heading-label,
.skin-anisa #p-cactions .vector-menu-heading-label,
.skin-anisa #ca-talk a span,
.skin-anisa #ca-view a span,
.skin-anisa #ca-edit a span,
.skin-anisa #ca-history a span {
font-size: 22px !important; /* Larger font for the tabs only */
font-weight: 400 !important; /* NOT bold */
padding: 10px 20px !important; /* Internal space in each tab */
color: #202122 !important;
text-transform: none !important;
}
/* --- 3. TAB SPACING (Horizontal Gap) --- */
/* This adds the space BETWEEN the tabs themselves */
.skin-anisa .vector-menu-tabs li,
.skin-anisa .vector-menu-dropdown {
margin-right: 20px !important; /* Creates that wide, open feel between buttons */
}
/* --- 4. THE CONTENT GAP (Vertical Space) --- */
/* This creates the big gap between the navigation and the page content */
.skin-anisa #content,
.skin-anisa .mw-body {
margin-top: 45px !important; /* Big vertical gap above the page box */
padding: 50px !important; /* Large "spacious" padding inside the box */
border: 1px solid var(--miraheze-border) !important;
background-color: #ffffff !important;
max-width: 1100px !important;
margin-left: auto !important;
margin-right: auto !important;
}
/* --- 5. INFOBOX & TOK (Restoring your standard styling) --- */
.portable-infobox {
background-color: #fff !important;
border: 1px solid var(--miraheze-border) !important;
width: 280px !important;
float: right !important;
border-collapse: collapse !important;
}
.portable-infobox .pi-title {
background-color: #ffd700 !important;
font-family: 'Cinzel', serif !important;
padding: 15px 10px !important;
font-size: 1.25em !important;
text-align: center !important;
border-bottom: 1px solid var(--miraheze-border) !important;
}
.portable-infobox .pi-header {
background-color: #3e5a47 !important;
color: #fff !important;
font-family: 'Cinzel', serif !important;
padding: 10px 5px !important;
text-align: center !important;
}
.pi-data-label { background-color: #f2f2f2 !important; padding: 8px !important; border: 1px solid var(--miraheze-border) !important; font-weight: bold !important; }
.pi-data-value { padding: 8px !important; border-bottom: 1px solid var(--miraheze-border) !important; }