Welcome to the newly independent BOXBOY WIKI! |
---|
Learn more about our fork at BOXBOY WIKI!:2025 Fork. If you have edited the Fandom wiki and would like to claim your account here, you can do so via Special:MigrateUserAccount. To ensure 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) (Set up main page cols) |
SuperHamster (talk | contribs) mNo edit summary |
||
Line 21: | Line 21: | ||
} | } | ||
.main-page- | .main-page-cols { | ||
display: grid; | display: grid; | ||
grid-auto-flow: row dense; | grid-auto-flow: row dense; | ||
Line 31: | Line 31: | ||
@media (min-width: 850px) { | @media (min-width: 850px) { | ||
.main-page- | .main-page-cols { | ||
grid-template-columns: 1fr 1fr; | grid-template-columns: 1fr 1fr; | ||
} | } | ||
} | } |
Revision as of 18:11, 12 January 2025
/* CSS placed here will be applied to all skins */
.text-center {
text-align: center;
}
.infobox {
border: 3px solid #000;
width: 300px;
}
.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;
grid-template-columns: 1fr 1fr;
}
@media (min-width: 850px) {
.main-page-cols {
grid-template-columns: 1fr 1fr;
}
}