MediaWiki:Gadget-GlobalStyle.css: Difference between revisions

m
Test changes now that they work well for various tablet sizes
(infobox customizations)
m (Test changes now that they work well for various tablet sizes)
Line 246:
text-decoration: underline;
}
 
 
#nav.mainpagebox {
padding: 2px 2px 5px 0;
Line 253 ⟶ 251:
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,
Line 382 ⟶ 385:
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}
 
/* -- 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;
}
}
43

edits