MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* Version | /* Version 36.0 - Restored Anisa Factory Proportions | ||
Goal: Original Anisa layout + KH Colors/Fonts + Readable Tabs | |||
*/ | */ | ||
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Crimson+Pro:wght@400;700&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Crimson+Pro:wght@400;700&display=swap'); | ||
/* --- 1. GLOBAL FONTS --- */ | |||
- | body { | ||
font-family: 'Crimson Pro', serif !important; | |||
} | } | ||
/* --- | /* --- 2. ANISA (DESKTOP) RESTORATION --- */ | ||
/* | /* We remove the forced margins/paddings here to let Anisa look "Factory" */ | ||
.skin-anisa #content, | |||
.skin-anisa .mw-body { | |||
font-size: 16px !important; | font-size: 16px !important; | ||
line-height: 1.6 | line-height: 1.6; | ||
/* We are NOT forcing margin-top or padding here anymore */ | |||
} | } | ||
/* | /* Scaling up the tiny Navigation Labels to a readable "Normal" size */ | ||
.skin-anisa .vector-menu-tabs li a, | .skin-anisa .vector-menu-tabs li a, | ||
.skin-anisa .vector-menu-dropdown .vector-menu-heading-label, | .skin-anisa .vector-menu-dropdown .vector-menu-heading-label, | ||
.skin-anisa #p-cactions .vector-menu-heading-label, | .skin-anisa #p-cactions .vector-menu-heading-label, | ||
.skin-anisa | .skin-anisa .vector-menu-tabs li a span { | ||
. | font-size: 16px !important; /* Readable, but fits the skin's design */ | ||
font-weight: 400 !important; | |||
font-size: | |||
font-weight: 400 | |||
text-transform: none !important; | text-transform: none !important; | ||
} | } | ||
/* | /* Restoring the natural spacing between "Read", "Edit", etc. */ | ||
.skin-anisa .vector-menu-tabs li { | |||
.skin-anisa .vector-menu-tabs li | margin-right: 5px !important; | ||
margin-right: | |||
} | } | ||
/* --- | /* --- 3. COSMOS (MOBILE) PRESERVATION --- */ | ||
/* This | /* This section ensures our mobile view doesn't change */ | ||
.skin- | .skin-cosmos #content { | ||
padding: 15px !important; | |||
font-size: 15px !important; | |||
} | } | ||
/* --- | /* --- 4. THE SEAMLESS INFOBOX (THE "LORE" FIX) --- */ | ||
/* This keeps your Kingdom Hearts style intact across BOTH skins */ | |||
.portable-infobox { | .portable-infobox { | ||
background-color: #fff !important; | background-color: #fff !important; | ||
border: 1px solid | border: 1px solid #a2a9b1 !important; | ||
width: | width: 270px !important; | ||
float: right !important; | float: right !important; | ||
margin: 0 0 1em 1.2em !important; | |||
border-collapse: collapse !important; | border-collapse: collapse !important; | ||
border-spacing: 0 !important; | |||
} | } | ||
.portable-infobox .pi-title { | .portable-infobox .pi-title { | ||
background-color: #ffd700 !important; | background-color: #ffd700 !important; | ||
color: #000 !important; | |||
font-family: 'Cinzel', serif !important; | font-family: 'Cinzel', serif !important; | ||
padding: 15px 10px !important; | padding: 15px 10px !important; | ||
font-size: 1.25em !important; | font-size: 1.25em !important; | ||
text-align: center !important; | text-align: center !important; | ||
border-bottom: 1px solid | border-bottom: 1px solid #a2a9b1 !important; | ||
} | } | ||
| Line 79: | Line 71: | ||
} | } | ||
.pi-data-label { background-color: #f2f2f2 !important; padding: 8px !important; border: 1px solid | .pi-data-label { | ||
.pi-data-value { padding: 8px !important; border-bottom: 1px solid | background-color: #f2f2f2 !important; | ||
padding: 8px !important; | |||
border: 1px solid #a2a9b1 !important; | |||
font-weight: bold !important; | |||
} | |||
.pi-data-value { | |||
padding: 8px !important; | |||
border-bottom: 1px solid #a2a9b1 !important; | |||
} | |||
/* --- 5. TABLE OF CONTENTS --- */ | |||
#toc, .toc { | |||
background-color: #f8f9fa !important; | |||
border: 1px solid #a2a9b1 !important; | |||
padding: 8px !important; | |||
} | |||