| Welcome to the independent BOXBOY WIKI! |
|---|
|
After ten years on Fandom, we forked on January 14, 2025. If you have edited the Fandom wiki and would like to reclaim your account, click here. To ensure that you only visit the independent wiki going forward, install the Indie Wiki Buddy browser extension. |
MediaWiki:Common.css: Difference between revisions
From BOXBOY WIKI!
Jump to navigationJump to search
SuperHamster (talk | contribs) mNo edit summary |
SuperHamster (talk | contribs) (Add left-margin on infoboxes) |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
.text-center { | .text-center { | ||
text-align: center; | text-align: center; | ||
} | |||
.hatnote { | |||
padding-left: 1.6em; | |||
margin-bottom: 0.5em; | |||
} | } | ||
| Line 7: | Line 12: | ||
border: 3px solid #000; | border: 3px solid #000; | ||
width: 300px; | width: 300px; | ||
margin: 0 0 1em 1em; | |||
} | } | ||
| Line 27: | Line 33: | ||
align-content: stretch; | align-content: stretch; | ||
justify-items: stretch; | justify-items: stretch; | ||
} | } | ||
@media (min-width: | @media (min-width: 950px) { | ||
.main-page-cols { | .main-page-cols { | ||
grid-template-columns: 1fr 1fr; | grid-template-columns: 1fr 1fr; | ||
} | } | ||
} | } | ||
Latest revision as of 17:34, 28 July 2025
/* CSS placed here will be applied to all skins */
.text-center {
text-align: center;
}
.hatnote {
padding-left: 1.6em;
margin-bottom: 0.5em;
}
.infobox {
border: 3px solid #000;
width: 300px;
margin: 0 0 1em 1em;
}
.infobox th {
width: 50%;
border: 0px;
background-color: #bbbbbb;
}
@media screen and (max-width: 600px) {
.infobox {
width: 100%;
}
}
.main-page-cols {
display: grid;
grid-auto-flow: row dense;
gap: 5px 5px;
align-content: stretch;
justify-items: stretch;
}
@media (min-width: 950px) {
.main-page-cols {
grid-template-columns: 1fr 1fr;
}
}