MediaWiki:Gadget-GlobalStyle.css: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
(22 intermediate revisions by the same user not shown)
Line 24: Line 24:
.client-js .tabbertab:first-child { margin-top: 22px; }
.client-js .tabbertab:first-child { margin-top: 22px; }
.client-js .tabbertab:not(:first-of-type) { display: none; }
.client-js .tabbertab:not(:first-of-type) { display: none; }
.mw-parser-output > .tabber, section > .tabber { display: table; margin-bottom: 0.5em; }
.mw-parser-output > .tabber, section > .tabber { display: block; width: max-content; margin-bottom: 0.5em; }
.mobile ul.tabbernav li a { padding-top: 4px; padding-bottom: 4px; }
.mobile ul.tabbernav li a { padding-top: 4px; padding-bottom: 4px; }
.client-js .mobile .tabbertab:first-child { margin-top: 27px; }
.client-js .mobile .tabbertab:first-child { margin-top: 27px; }
Line 30: Line 30:
.tabbertab > p:first-child { margin-top: 0.2em; }
.tabbertab > p:first-child { margin-top: 0.2em; }
.tabbertab > p:last-child { margin-bottom: 0; }
.tabbertab > p:last-child { margin-bottom: 0; }
/* Pixelated gallery/interface image upscaling */
ul.gallery:not(.smooth) img, table.listfiles img,
table.searchResultImage img, table.filehistory img {
image-rendering: crisp-edges;
image-rendering: pixelated;
}
/* Root category */
body.page-Category_Super_Mario_Wiki.action-view #catlinks,
body.page-Category_Super_Mario_Wiki.action-view #mw-subcategories .mw-category-group:last-of-type {
display: none;
}


/* Show/hide toggle */
/* Show/hide toggle */
.mw-collapsible-toggle {
.mw-collapsible-toggle {
padding-right: 0.3em;
}
.contentbox .mw-collapsible-toggle {
font-weight: bold;
font-weight: bold;
}
.infobox th a.mw-collapsible-text {
color: inherit !important;
}
}
.infobox .mw-collapsible-toggle {
.infobox .mw-collapsible-toggle {
min-width: 41px;
min-width: 41px;
text-align: right;
text-align: right;
}
.infobox th a.mw-collapsible-text {
color: inherit !important;
}
}
.infobox .mw-made-collapsible > tbody > tr > th:not([style*="text-align"]) {
.infobox .mw-made-collapsible > tbody > tr > th:not([style*="text-align"]) {
padding-left: 45px !important;
padding-left: 45px !important;
}
table:not(.wikitable) .mw-collapsible-toggle {
padding-right: 0.3em;
}
}


Line 71: Line 58:
padding: 4px;
padding: 4px;
border: 1px solid;
border: 1px solid;
}
.infobox th a, .infobox-wide th a {
color: inherit !important;
}
}
.infobox audio + br,
.infobox audio + br,
Line 136: Line 126:
.notice-template.maintenance#delete a:not(.new) {
.notice-template.maintenance#delete a:not(.new) {
color: yellow;
color: yellow;
}
/* List of games */
.games {
background: silver;
border: 1px solid #000;
margin-bottom: 7px;
}
.games tbody tr {
background: #fff;
}
.client-nojs .games tr:first-of-type th {
background: silver;
}
}


Line 159: Line 136:
}
}


/* DK tables */
/* Donkey Kong tables */
table.dktable,
table.wikitable.dk { color: #000; }
table.dktable-brown {
table.wikitable.dk > * > tr > * { border-color: #000; }
color: #000;
table.wikitable.dk > * > tr > th { background-color: #BB8855; }
background: #fff;
table.wikitable.dk > * > tr:not([bgcolor]):nth-child(even) { background: wheat; }
border: 1pt solid #000;
table.wikitable.dk > * > tr:not([bgcolor]):nth-child(odd) { background: #FFF8DC; }
border-collapse: collapse;
margin: 1em 0;
}
table.dktable > * > tr > td,
table.dktable > * > tr > th,
table.dktable-brown > * > tr > td,
table.dktable-brown > * > tr > th {
border: 1pt solid #000;
padding: 0.2em 0.4em;
}
table.wikitable.dk > * > tr > th,
table.dktable-brown > * > tr > th {
background: #BB8855;
}
table.wikitable.dk > * > tr:nth-child(odd) > td,
table.dktable-brown > * > tr:nth-child(odd) > td {
background: #FFF8DC;
}
table.wikitable.dk > * > tr:nth-child(even) > td,
table.dktable-brown > * > tr:nth-child(even) > td {
background: wheat;
}


/* Fake headings */
/* Fake headings */