MediaWiki:Gadget-GlobalStyle.css: Difference between revisions

From the Nintendo Wiki, a wiki covering all things Nintendo
Jump to navigationJump to search
Content added Content deleted
m (breakpoint top margin)
m (I can't roll back but copied and pasted the last version by RMV2003 instead, to essentially roll back what I've done because CSS is not working here as it typically does, and does on my site with the same skin activated.)
Tags: Manual revert Reverted
Line 246: Line 246:
text-decoration: underline;
text-decoration: underline;
}
}


#nav.mainpagebox {
#nav.mainpagebox {
padding: 2px 2px 5px 0;
padding: 2px 2px 5px 0;
Line 251: Line 253:
border: 1px solid gray;
border: 1px solid gray;
}
}
/* mainpage new-releases box input field to adjust to width of parent */
.new-releases .mw-inputbox-createbox {
width: 100%;
}
/* See media queries section (bottom of this page) for media queries specific to main page */


#mf-poll .poll__question-media > div,
#mf-poll .poll__question-media > div,
Line 385: Line 382:
table.table, table.table {background:#fff;margin:1em 0;border:1pt solid #000;border-collapse:collapse;color:black}
table.table, table.table {background:#fff;margin:1em 0;border:1pt solid #000;border-collapse:collapse;color:black}
table.table > * > tr > td, table.table > * > tr > th, table.table > * > tr > td, table.table > * > tr > th {border:1pt solid #000;padding:0.2em 0.4em}
table.table > * > tr > td, table.table > * > tr > th, table.table > * > tr > td, table.table > * > tr > th {border:1pt solid #000;padding:0.2em 0.4em}

/* -- Media Queries -- */
/* These control things at different device widths */
/* -- At 1000 px wide or less -- */
@media only screen and (max-width: 1000px) {
.mainpagebox .wikicolumns {
column-count: 2;
}
}

/* -- 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;
}
}