MediaWiki:Timeless.css: Difference between revisions
From Inkipedia, the Splatoon wiki
m (adjust padding) |
(disabled padding and sidebar changes) |
||
Line 66: | Line 66: | ||
border-width: 0 2px; | border-width: 0 2px; | ||
} | } | ||
/* remove excess padding on desktop | /* remove excess padding on desktop | ||
#mw-header, | #mw-header, | ||
#mw-content-block { | #mw-content-block { | ||
Line 72: | Line 72: | ||
max-width: none; | max-width: none; | ||
} | } | ||
} | }*/ | ||
/* SINGLE SIDEBAR MODE | /* SINGLE SIDEBAR MODE | ||
@media (min-width: 1340px) { | @media (min-width: 1340px) { | ||
#mw-content-block { | #mw-content-block { | ||
Line 92: | Line 92: | ||
padding: 0 1em 0 0; | padding: 0 1em 0 0; | ||
} | } | ||
} | }*/ | ||
/* on some screen sizes, categories appear at the bottom and need a background to be readable */ | /* on some screen sizes, categories appear at the bottom and need a background to be readable */ |
Revision as of 20:07, 10 February 2019
#mw-content-block { max-width: none; } #p-banner.mw-wiki-title { font-variant: normal; font-weight: bold; color: #2f7020; } /* top bar color */ .color-left, .color-middle, .color-right { background: #aadc00; } .mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body #firstHeading, .mw-body #siteSub, #p-banner.mw-wiki-title, #personal h2, #mw-content-text dt { font-family: 'Helvetica Neue','Nimbus Sans','Helvetica','Arial',sans-serif; } #mw-content-text dt { font-weight: bold; } #site-navigation.sidebar-chunk, #site-tools.sidebar-chunk, #page-tools.sidebar-chunk, #other-languages.sidebar-chunk, #catlinks-sidebar.sidebar-chunk { border-color: #aadc00; border-width: 2px 2px 2px 10px; border-radius: 2px; } /* sidebar header colors */ .sidebar-chunk h3#p-navigation-label { border-bottom: solid 2px #007edc; } .sidebar-chunk h3#p-Games-label { border-bottom: solid 2px #d60e6e; } .sidebar-chunk h3#p-Explore-label { border-bottom: solid 2px #fb5c03; } .sidebar-chunk h3#p-Community-label { border-bottom: solid 2px #830b9c; } .sidebar-chunk h3#p-tb-label { border-bottom: solid 2px #007edc; } .sidebar-chunk h3#p-cactions-label { border-bottom: solid 2px #d60e6e; } .sidebar-chunk h3#p-userpagetools-label { border-bottom: solid 2px #fb5c03; } .sidebar-chunk h3#p-pagemisc-label { border-bottom: solid 2px #830b9c; } .sidebar-chunk h3#p-lang-label { border-bottom: solid 2px #007edc; } .sidebar-chunk h3#p-normal-catlinks-label { border-bottom: solid 2px #fb5c03; } #mw-content-container { background-image: url("//cdn.wikimg.net/en/splatoonwiki/images/d/d4/S2_background_stripe_pattern.svg"); background-repeat: repeat; border-bottom-color: #aadc00; padding-bottom: 0; } @media screen and (min-width: 1100px) { #mw-site-navigation { padding-top: .25em; } #mw-content { border-color: #aadc00; border-width: 0 2px; } /* remove excess padding on desktop #mw-header, #mw-content-block { padding: 0 3em 0 1em; max-width: none; } }*/ /* SINGLE SIDEBAR MODE @media (min-width: 1340px) { #mw-content-block { display: block; } #mw-content, #content-bottom-stuff { margin-left: 14em; } #mw-content-wrapper { float: right; margin-left: -14em; width: 100%; } #mw-related-navigation { width: 14em; padding: 0 1em 0 0; } }*/ /* on some screen sizes, categories appear at the bottom and need a background to be readable */ #content-bottom-stuff { background-color: white; } /* fixes issue where empty space appears below footer on some screen sizes */ @media (max-width: 1099px) { #mw-footer { padding-bottom: 0.5em; } } #mw-footer-container { background-image: url("//cdn.wikimg.net/splatoonwiki/images/b/b4/Featured-bg.png"); background-repeat: repeat; } #mw-footer-container li, #mw-footer-container a { color: #333; } /* styles edit box and pre boxes */ pre, #wpTextbox1 { padding: 1em; color: #aeecab; background-color: #1a2f3e; } /* on smaller screen sizes, prevents tables from stretching pages, and makes them scrollable */ @media(max-width: 850px) { table { display: block; overflow-x: auto; padding: 0 !important; } } /* remove excess margin from recent change table */ #bodyContent #mw-content-text .mw-changeslist div table { margin-left: 0; } /* fix visual glitches on recent changes */ .mw-changeslist-legend .mw-collapsible-content dt { margin: 0 0.5em 0 0; } #mw-content-text .oo-ui-tagMultiselectWidget-handle { margin-bottom: 0; }