MediaWiki:Common.css
Revision as of 15:04, 1 December 2021 by Sakaratte (talk | contribs) (Created page with "→CSS placed here will be applied to all skins: .quote-frame { margin: auto; } .quote-r { vertical-align: bottom; } .quote-l { vertical-align: top; } .mainpage-buttons ul { display: inline-grid; grid-template-columns: 150px 150px 150px; grid-gap: 5px; text-align: center; } .mainpage-buttons li { background: rgb(112, 79, 58); padding: 10px 0; display: block; } .Icon-Text-Grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; } .Icon...")
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
.quote-frame {
margin: auto;
}
.quote-r {
vertical-align: bottom;
}
.quote-l {
vertical-align: top;
}
.mainpage-buttons ul {
display: inline-grid;
grid-template-columns: 150px 150px 150px;
grid-gap: 5px;
text-align: center;
}
.mainpage-buttons li {
background: rgb(112, 79, 58);
padding: 10px 0;
display: block;
}
.Icon-Text-Grid {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
}
.Icon-Grid-Cols-3 {
grid-template-columns: 1fr 1fr 1fr;
}
/* Requested install on backend */
.infobox {
width: 260px;
float: right;
margin: 10px;
clear: both;
}
.infobox-title {
font-size: 1.5em;
font-weight: bold;
text-align: center;
}
.infobox-caption {
display: block;
text-align: center;
}
.infobox-header {
width: 100%;
text-align: center;
font-size: 1.25em;
font-weight: bold;
}
.infobox-label {
display: flex;
width: 50%;
}
.infobox-data-section {
display: flex;
flex-direction: row;
}
.infobox-data {
width: 50%;
}
.infobox-label, .infobox-data {
font-size: 0.75em;
padding: 0 5px;
}
.infobox-data-section:nth-of-type(odd):last-child {
width: 100%;
}
.data-rows-2 {
display: grid;
grid-template-columns: 1fr 1fr;
}
.data-rows-2 .infobox-header,
.data-rows-2 .infobox-data-section:nth-child(odd):last-child {
grid-column: 1 / span 2;
}
.data-rows-2 .infobox-label, .data-rows-2 .infobox-data {
display: block;
text-align: center;
width: 100%;
}
.data-rows-2 .infobox-data-section {
display: block;
}
.infobox-label {
font-weight: 600;
}