MediaWiki:Common.css: Difference between revisions
Content added Content deleted
ESUFranchise (talk | contribs) No edit summary |
ESUFranchise (talk | contribs) No edit summary |
||
(18 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); |
|||
/* CSS placed here will be applied to all skins */ |
|||
.mw- |
html, body, .mw-body { |
||
font-family: "Poppins", sans-serif !important; |
|||
⚫ | |||
font-style: normal; |
|||
} |
} |
||
.mw-body h1 { |
|||
/* Infobox template style */ |
|||
font-family: "Poppins", sans-serif !important; |
|||
.infobox { |
|||
⚫ | |||
border: 1px solid #a2a9b1; |
|||
font-style: normal; |
|||
background-color: #f8f9fa; |
|||
color: black; |
|||
/* @noflip */ |
|||
margin: 0.5em 0 0.5em 1em; |
|||
padding: 0.2em; |
|||
/* @noflip */ |
|||
float: right; |
|||
/* @noflip */ |
|||
clear: right; |
|||
⚫ | |||
line-height: 1.5em; |
|||
width: 22em; |
|||
} |
} |
||
.mw-body h2 { |
|||
.infobox-header, |
|||
font-family: "Poppins", sans-serif !important; |
|||
.infobox-label, |
|||
⚫ | |||
.infobox-above, |
|||
font-style: normal; |
|||
.infobox-full-data, |
|||
.infobox-data, |
|||
.infobox-below, |
|||
.infobox-subheader, |
|||
.infobox-image, |
|||
.infobox-navbar, |
|||
/* Remove element selector when every .infobox thing is using the standard module/templates */ |
|||
.infobox th, |
|||
.infobox td { |
|||
vertical-align: top; |
|||
} |
} |
||
.mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6 { |
|||
.infobox-label, |
|||
font-family: "Poppins", sans-serif !important; |
|||
.infobox-data, |
|||
font-weight: 600; |
|||
/* Remove element selector when every .infobox thing is using the standard module/templates */ |
|||
font-style: normal; |
|||
.infobox th, |
|||
.infobox td { |
|||
/* @noflip */ |
|||
text-align: left; |
|||
} |
} |
||
.mw-editsection { |
|||
/* Remove .infobox when element selectors above are removed */ |
|||
display: none !important; |
|||
.infobox .infobox-above, |
|||
.infobox .infobox-title, |
|||
/* Remove element selector when every .infobox thing is using the standard module/templates */ |
|||
.infobox caption { |
|||
⚫ | |||
⚫ | |||
text-align: center; |
|||
} |
} |
||
#p-tb { |
|||
.infobox-title, |
|||
display: none !important; |
|||
/* Remove element selector when every .infobox thing is using the standard module/templates */ |
|||
.infobox caption { |
|||
padding: 0.2em; |
|||
} |
|||
/* Remove .infobox when element selectors above are removed */ |
|||
.infobox .infobox-header, |
|||
.infobox .infobox-subheader, |
|||
.infobox .infobox-image, |
|||
.infobox .infobox-full-data, |
|||
.infobox .infobox-below { |
|||
text-align: center; |
|||
} |
|||
/* Remove .infobox when element selectors above are removed */ |
|||
.infobox .infobox-navbar { |
|||
/* @noflip */ |
|||
text-align: right; |
|||
} |
} |
Latest revision as of 20:42, 4 February 2024
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
html, body, .mw-body {
font-family: "Poppins", sans-serif !important;
font-weight: 400;
font-style: normal;
}
.mw-body h1 {
font-family: "Poppins", sans-serif !important;
font-weight: 800;
font-style: normal;
}
.mw-body h2 {
font-family: "Poppins", sans-serif !important;
font-weight: 700;
font-style: normal;
}
.mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6 {
font-family: "Poppins", sans-serif !important;
font-weight: 600;
font-style: normal;
}
.mw-editsection {
display: none !important;
}
#p-tb {
display: none !important;
}