MediaWiki:Timeless.css: Difference between revisions
From Inkipedia, the Splatoon wiki
(reduced padding) |
(Added Inkipedia-appropriate colors to many elements. Made the top bar static.) |
||
Line 1: | Line 1: | ||
#mw-header-container, | |||
#mw-header-hack { | |||
position: static; | |||
} | |||
/* top bar color */ | |||
.color-left, | |||
.color-middle, | |||
.color-right { | |||
background: #aadc00; | |||
} | |||
#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 { | #mw-content-container { | ||
background-image: url("//cdn.wikimg.net/en/splatoonwiki/images/d/d4/S2_background_stripe_pattern.svg"); | background-image: url("//cdn.wikimg.net/en/splatoonwiki/images/d/d4/S2_background_stripe_pattern.svg"); | ||
background-repeat: repeat; | background-repeat: repeat; | ||
margin-top: 0; | |||
border-bottom-color: #aadc00; | |||
padding-bottom: 0; | |||
} | } | ||
#mw-content { | #mw-content { | ||
padding: 1em; | padding: 1em; | ||
border-color: #aadc00; | |||
border-width: 0 2px 0 2px; | |||
} | } | ||
Line 16: | Line 55: | ||
#mw-footer-container a { | #mw-footer-container a { | ||
color: #333; | color: #333; | ||
} | |||
/* styles edit box and pre boxes */ | |||
pre, | |||
#wpTextbox1 { | |||
padding: 1em; | |||
color: #aeecab; | |||
background-color: #1a2f3e; | |||
} | } | ||
Revision as of 05:11, 8 February 2019
#mw-header-container, #mw-header-hack { position: static; } /* top bar color */ .color-left, .color-middle, .color-right { background: #aadc00; } #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; margin-top: 0; border-bottom-color: #aadc00; padding-bottom: 0; } #mw-content { padding: 1em; border-color: #aadc00; border-width: 0 2px 0 2px; } #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; } /* for displaying mobile-only content. 850px is the width that timeless stops displaying .nomobile classes content. */ @media screen and (max-width: 850px) { .onlymobile { display: initial; } } /* fixes the default behavior of collapsing all table borders together. */ table { border-collapse: initial; } /* fixes issue of header bottom border covering elements such as infoboxes. */ h1, h2, h3, h4, h5, h6 { overflow: hidden; }