MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary Tag: Manual revert |
No edit summary |
||
| Line 34: | Line 34: | ||
@media screen { | @media screen { | ||
.infobox, | |||
.infobox tr, | |||
.infobox th, | .infobox th, | ||
.infobox td { | .infobox td { | ||
background-color: transparent !important; | background-color: transparent !important; | ||
border: | background: none !important; | ||
border: none !important; | |||
font-family: sans-serif !important; /* Forces it out of the 'code' monospace font */ | |||
white-space: normal !important; /* Prevents it from behaving like a <pre> block */ | |||
} | } | ||
.infobox | table.infobox { | ||
background-color: # | background-color: #f8f9fa !important; | ||
border: 1px solid #a2a9b1 !important; | |||
display: table !important; | |||
} | } | ||
} | } | ||
Revision as of 17:47, 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 */
.infobox,
.infobox th,
.infobox td,
.infobox tr {
border: 0 none !important;
border-style: none !important;
background-color: transparent !important;
background: none !important;
box-shadow: none !important;
}
table.infobox {
border: 1px solid #a2a9b1 !important;
background-color: #f8f9fa !important;
border-collapse: collapse !important;
display: table !important;
width: 22em;
float: right;
margin: 0 0 1em 1em;
}
.infobox-separator {
border-top: 1px solid #aaa !important;
display: table-cell !important;
}
.infobox-header {
background-color: #cedff2 !important;
}
@media screen {
.infobox,
.infobox tr,
.infobox th,
.infobox td {
background-color: transparent !important;
background: none !important;
border: none !important;
font-family: sans-serif !important; /* Forces it out of the 'code' monospace font */
white-space: normal !important; /* Prevents it from behaving like a <pre> block */
}
table.infobox {
background-color: #f8f9fa !important;
border: 1px solid #a2a9b1 !important;
display: table !important;
}
}