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
(infobox customizations)
m (Test changes now that they work well for various tablet sizes)
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 253: Line 251:
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 382: Line 385:
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 900 px wide or less -- */
@media only screen and (max-width: 900px) {
.mainpagebox .wikicolumns {
column-count: 2!important;
}
}

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