MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap'); | ||
/* Infobox */ | /* Infobox */ | ||
.infobox, | /* Final Infobox Reset */ | ||
.infobox | @media screen { | ||
.infobox | table.infobox, | ||
.infobox | .infobox tr, | ||
.infobox th, | |||
.infobox td { | |||
background-color: transparent !important; | |||
background: none !important; | |||
border: 0 !important; | |||
border-style: none !important; | |||
box-shadow: none !important; | |||
/* Force text color to dark gray/black */ | |||
color: #202122 !important; | |||
font-family: sans-serif !important; | |||
white-space: normal !important; | |||
} | |||
} | |||
.infobox | table.infobox { | ||
background-color: #f8f9fa !important; | |||
} | border: 1px solid #a2a9b1 !important; | ||
border-collapse: collapse !important; | |||
width: 22em; | |||
float: right; | |||
margin: 0 0 1em 1em; | |||
} | |||
.infobox-header { | |||
background-color: #cedff2 !important; | |||
font-weight: bold; | |||
} | |||
.infobox-separator { | |||
border-top: 1px solid #aaa !important; | |||
height: 0; | |||
} | |||
} | } | ||
Revision as of 17:48, 13 May 2026
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');
/* Infobox */
/* Final Infobox Reset */
@media screen {
table.infobox,
.infobox tr,
.infobox th,
.infobox td {
background-color: transparent !important;
background: none !important;
border: 0 !important;
border-style: none !important;
box-shadow: none !important;
/* Force text color to dark gray/black */
color: #202122 !important;
font-family: sans-serif !important;
white-space: normal !important;
}
table.infobox {
background-color: #f8f9fa !important;
border: 1px solid #a2a9b1 !important;
border-collapse: collapse !important;
width: 22em;
float: right;
margin: 0 0 1em 1em;
}
.infobox-header {
background-color: #cedff2 !important;
font-weight: bold;
}
.infobox-separator {
border-top: 1px solid #aaa !important;
height: 0;
}
}