MediaWiki:Common.css

Revision as of 04:46, 18 March 2026 by LennLeaf (talk | contribs)

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 33.0 - Anisa Navigation Overhaul
   Fixes: Discussion, Read, Edit, History, and Actions font sizes
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Crimson+Pro:wght@400;700&display=swap');

/* --- 1. GLOBAL TEXT FIX --- */
body {
    font-family: 'Crimson Pro', serif !important;
    font-size: 16px !important;
}

/* --- 2. ANISA NAVIGATION TABS (Discussion, Read, Edit, etc.) --- */
/* Target the spans specifically, as they often override the link size */
.skin-anisa #left-navigation .vector-menu-content-list li a span,
.skin-anisa #right-navigation .vector-menu-content-list li a span,
.skin-anisa #p-views .vector-menu-content-list li a span,
.skin-anisa #p-cactions .vector-menu-heading-label,
.skin-anisa .vector-menu-tabs li a span {
    font-size: 18px !important; /* Larger size */
    font-weight: 400 !important; /* Regular weight, not bold */
    color: #202122 !important;
    text-transform: none !important;
}

/* Fix for the "Actions" dropdown arrow and label alignment */
.skin-anisa #p-cactions .vector-menu-heading::after {
    margin-top: 12px !important; /* Aligns the arrow with the larger text */
}

/* --- 3. MIRAHEZE INFOBOX & CONTENT (Same as before) --- */
#content, .mw-body {
    background-color: #ffffff !important;
    border: 1px solid #a2a9b1 !important;
    padding: 1.5em 2em !important;
    max-width: 1100px !important;
    margin: 1em auto !important;
}

.portable-infobox {
    background-color: #fff !important;
    border: 1px solid #a2a9b1 !important;
    width: 280px !important;
    float: right !important;
    margin: 0 0 1em 1.5em !important;
    border-collapse: collapse !important;
}

.portable-infobox .pi-title {
    background-color: #ffd700 !important;
    color: #000 !important;
    font-family: 'Cinzel', serif !important;
    padding: 15px 10px !important;
    font-size: 1.25em !important;
    text-align: center !important;
    border-bottom: 1px solid #a2a9b1 !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;
}

/* Data Grid alignment */
.pi-item.pi-data { display: table-row !important; }
.pi-data-label { 
    display: table-cell !important; 
    width: 40% !important; 
    background-color: #f2f2f2 !important; 
    padding: 8px !important; 
    border-bottom: 1px solid #a2a9b1 !important;
    border-right: 1px solid #a2a9b1 !important;
}
.pi-data-value { 
    display: table-cell !important; 
    padding: 8px !important; 
    border-bottom: 1px solid #a2a9b1 !important;
}