MediaWiki:Common.css: Difference between revisions
No edit summary Tags: Mobile edit Mobile web edit Advanced mobile edit |
No edit summary Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
| Line 1: | Line 1: | ||
/* Version | /* Version 18.0 - Miraheze Reconstruction (Stable Build) */ | ||
@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'); | ||
| Line 14: | Line 14: | ||
background-color: var(--kh-light-bg) !important; | background-color: var(--kh-light-bg) !important; | ||
} | } | ||
h1, h2, h3, .mw-headline { | |||
color: var(--kh-green) !important; | |||
font-family: 'Cinzel', serif !important; | |||
} | |||
h2::before, h3::before { content: "\1F343\0020" !important; } | |||
/* 2. PORTABLE INFOBOXES ( | /* 2. PORTABLE INFOBOXES (Full Width Fix) */ | ||
.portable-infobox { | .portable-infobox { | ||
background: #fff !important; | background-color: #fff !important; | ||
border: 2px solid var(--kh-green) !important; | border: 2px solid var(--kh-green) !important; | ||
width: 300px !important; | width: 300px !important; | ||
float: right !important; | float: right !important; | ||
margin: 0 0 1em 1em !important; | margin: 0 0 1em 1em !important; | ||
display: | display: flex !important; | ||
flex-direction: column !important; | |||
} | } | ||
/* | /* Force Title, Header, and Image to take full 100% width */ | ||
.portable-infobox .pi-title, | .portable-infobox .pi-title, | ||
.portable-infobox .pi-header, | .portable-infobox .pi-header, | ||
.portable-infobox .pi-image | .portable-infobox .pi-image, | ||
.portable-infobox .pi-image img { | |||
width: 100% !important; | width: 100% !important; | ||
display: block !important; | |||
box-sizing: border-box !important; | |||
float: none !important; | |||
} | } | ||
| Line 40: | Line 48: | ||
padding: 10px !important; | padding: 10px !important; | ||
text-align: center !important; | text-align: center !important; | ||
} | } | ||
| Line 48: | Line 55: | ||
font-family: 'Cinzel', serif !important; | font-family: 'Cinzel', serif !important; | ||
padding: 6px !important; | padding: 6px !important; | ||
} | } | ||
/* Data Row | /* Side-by-Side Data Row Logic */ | ||
.pi-item.pi-data { | .pi-item.pi-data { | ||
display: | display: flex !important; | ||
flex-direction: row !important; | |||
width: 100% !important; | |||
border-bottom: 1px solid #ddd; | |||
} | } | ||
.pi-data-label { | .pi-data-label { | ||
flex: 0 0 40% !important; | |||
background-color: #f2f2f2 !important; | background-color: #f2f2f2 !important; | ||
padding: 8px !important; | padding: 8px !important; | ||
font-weight: bold !important; | font-weight: bold !important; | ||
font-family: 'Cinzel', serif !important; | |||
font-size: 0.85em !important; | |||
border-right: 1px solid #ddd; | border-right: 1px solid #ddd; | ||
} | } | ||
.pi-data-value { | .pi-data-value { | ||
flex: 1 !important; | |||
padding: 8px !important; | padding: 8px !important; | ||
} | } | ||