MediaWiki:Common.css: Difference between revisions

From the Nintendo Wiki, a wiki covering all things Nintendo
Jump to navigationJump to search
Content added Content deleted
(Removed Darkmode)
m (Styles and media queries not working for Anisa and other skins (as expected) when put in MediaWiki:Gadget-GlobalStyle.css, test putting them globally (for this wiki) in Common.css (as is normal practice for this type thing))
Line 124: Line 124:
margin-left: 2em;
margin-left: 2em;
padding-left: 1em;
padding-left: 1em;
}

/* mainpage new-releases box input field to adjust to width of parent */
.new-releases .mw-inputbox-createbox {
width: 100%;
}

/* -- At 800 px wide or less -- */
@media only screen and (max-width: 800px) {
.twocol-left {
width:100%!important;
}
.twocol-right {
width:100%!important;
margin-top:9px;
}
.mainpagebox-inner {
width:100%!important;
}
}

/* -- At 300 px wide or less -- */
@media only screen and (max-width: 300px) {
.mainpagebox .wikicolumns {
column-count: 1;
}
}
}