MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* Version | /* 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'); | @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 */ | |||
font- | .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 { | |||
.skin-anisa # | margin-top: 12px !important; /* Aligns the arrow with the larger text */ | ||
margin | |||
} | } | ||
/* --- 3. | /* --- 3. MIRAHEZE INFOBOX & CONTENT (Same as before) --- */ | ||
. | #content, .mw-body { | ||
padding: | background-color: #ffffff !important; | ||
border: 1px solid #a2a9b1 !important; | |||
padding: 1.5em 2em !important; | |||
max-width: 1100px !important; | |||
margin: 1em auto !important; | |||
} | } | ||
.portable-infobox { | .portable-infobox { | ||
background-color: #fff !important; | background-color: #fff !important; | ||
border: 1px solid | border: 1px solid #a2a9b1 !important; | ||
width: 280px !important; | width: 280px !important; | ||
float: right !important; | float: right !important; | ||
margin: 0 0 1em 1.5em !important; | margin: 0 0 1em 1.5em !important; | ||
border-collapse: collapse !important; | border-collapse: collapse !important; | ||
} | } | ||
.portable-infobox .pi-title { | .portable-infobox .pi-title { | ||
background-color: | background-color: #ffd700 !important; | ||
color: #000 !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; | ||
} | } | ||
.portable-infobox .pi-header { | .portable-infobox .pi-header { | ||
background-color: | background-color: #3e5a47 !important; | ||
color: #fff !important; | color: #fff !important; | ||
font-family: 'Cinzel', serif !important; | font-family: 'Cinzel', serif !important; | ||
padding: 10px 5px !important; | padding: 10px 5px !important; | ||
text-align: center !important; | text-align: center !important; | ||
} | } | ||
/* --- | /* Data Grid alignment */ | ||
.pi-item.pi-data { display: table-row !important; } | |||
background-color: # | .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; | |||
padding: | |||
# | |||
} | } | ||