MediaWiki:Common.css: Difference between revisions
From Lenn's Fun Stuff
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* Version | /* Version 23.0 - Miraheze Reconstruction */ | ||
@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 7: | Line 7: | ||
} | } | ||
/* | /* Portable Infobox Layout Fix */ | ||
.portable-infobox { | .portable-infobox { | ||
background-color: #fff !important; | background-color: #fff !important; | ||
border: 2px solid var(--kh-green) !important; | border: 2px solid var(--kh-green) !important; | ||
width: | width: 300px !important; | ||
float: right !important; | float: right !important; | ||
display: flex !important; | display: flex !important; | ||
flex-direction: column !important; | flex-direction: column !important; | ||
} | } | ||
/* Stretch | /* Stretch Titles/Headers */ | ||
.portable-infobox .pi-title, | .portable-infobox .pi-title, | ||
.portable-infobox .pi-header | .portable-infobox .pi-header { | ||
width: 100% !important; | width: 100% !important; | ||
text-align: center !important; | |||
font-family: 'Cinzel', serif !important; | |||
} | } | ||
| Line 38: | Line 28: | ||
background-color: var(--kh-yellow) !important; | background-color: var(--kh-yellow) !important; | ||
color: #2d4234 !important; | color: #2d4234 !important; | ||
padding: 10px !important; | |||
padding: | |||
} | } | ||
.portable-infobox .pi-header { | .portable-infobox .pi-header { | ||
background-color: var(--kh-green) !important; | background-color: var(--kh-green) !important; | ||
color: # | color: #fff !important; | ||
padding: 6px !important; | |||
padding: | |||
} | } | ||
/* Data | /* Label/Data Alignment */ | ||
.pi-item.pi-data { | .pi-item.pi-data { | ||
display: flex !important; | display: flex !important; | ||
border-bottom: 1px solid #ddd !important; | |||
border-bottom: 1px solid # | |||
} | } | ||
.pi-data-label { | .pi-data-label { | ||
flex: 0 0 | flex: 0 0 40% !important; | ||
background-color: # | background-color: #f2f2f2 !important; | ||
font-weight: bold !important; | font-weight: bold !important; | ||
padding: 8px !important; | |||
border-right: 1px solid # | border-right: 1px solid #ddd !important; | ||
} | } | ||
.pi-data-value { | .pi-data-value { | ||
flex: 1 !important; | flex: 1 !important; | ||
padding: 8px | padding: 8px !important; | ||
} | } | ||
Revision as of 03:07, 17 March 2026
/* Version 23.0 - Miraheze Reconstruction */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Crimson+Pro:wght@400;700&display=swap');
:root {
--kh-green: #3e5a47;
--kh-yellow: #ffd700;
}
/* Portable Infobox Layout Fix */
.portable-infobox {
background-color: #fff !important;
border: 2px solid var(--kh-green) !important;
width: 300px !important;
float: right !important;
display: flex !important;
flex-direction: column !important;
}
/* Stretch Titles/Headers */
.portable-infobox .pi-title,
.portable-infobox .pi-header {
width: 100% !important;
text-align: center !important;
font-family: 'Cinzel', serif !important;
}
.portable-infobox .pi-title {
background-color: var(--kh-yellow) !important;
color: #2d4234 !important;
padding: 10px !important;
}
.portable-infobox .pi-header {
background-color: var(--kh-green) !important;
color: #fff !important;
padding: 6px !important;
}
/* Label/Data Alignment */
.pi-item.pi-data {
display: flex !important;
border-bottom: 1px solid #ddd !important;
}
.pi-data-label {
flex: 0 0 40% !important;
background-color: #f2f2f2 !important;
font-weight: bold !important;
padding: 8px !important;
border-right: 1px solid #ddd !important;
}
.pi-data-value {
flex: 1 !important;
padding: 8px !important;
}