MediaWiki:Monobook.css: Difference between revisions
From the Nintendo Wiki, a wiki covering all things Nintendo
Jump to navigationJump to search
Content added Content deleted
(add) |
(new & improved monobook css from https://www.mariowiki.com/MediaWiki:Monobook.css) |
||
Line 1: | Line 1: | ||
/* |
/* CSS placed here will affect users of the Monobook skin */ |
||
/* <h2> All pages </h2> */ |
/* <h2> All pages </h2> */ |
||
#globalWrapper { |
#globalWrapper { |
||
overflow: clip; |
|||
background: none !important; |
|||
} |
|||
.firstHeading { margin-top: 5px; } |
.firstHeading { margin-top: 5px; } |
||
p { margin: 0.6em 0 0.7em 0; } |
p { margin: 0.6em 0 0.7em 0; } |
||
Line 10: | Line 13: | ||
margin-top: -0.1em; |
margin-top: -0.1em; |
||
} |
} |
||
.ns-talk p + dl, .ns-110 p + dl, |
|||
.rootpage-MarioWiki_Proposals p + dl, |
|||
/* classic font */ |
|||
.rootpage-MarioWiki_Featured_articles p + dl, |
|||
body { |
|||
.rootpage-MarioWiki_Changing_username p + dl { |
|||
font-family: verdana; |
|||
margin-top: -0.4em; |
|||
} |
} |
||
.ns-talk dl + dl, .ns-110 dl + dl, |
|||
.rootpage-MarioWiki_Proposals dl + dl, |
|||
#content h1, |
|||
.rootpage-MarioWiki_Featured_articles dl + dl, |
|||
#content h2 { |
|||
.rootpage-MarioWiki_Changing_username dl + dl { |
|||
font-family: verdana; |
|||
margin-top: -0.2em; |
|||
} |
} |
||
/* <h3> Interface elements </h3> */ |
/* <h3> Interface elements </h3> */ |
||
body { background: #f6f6f6 url(https://static.miraheze.org/nintendowiki/c/c1/Monobook-bg.png); } |
|||
body.skin-monobook .pBody, |
body.skin-monobook .pBody, |
||
body.skin-monobook .portlet h3, |
body.skin-monobook .portlet h3, |
||
body.skin-monobook #footer #f-list { |
body.skin-monobook #footer #f-list { |
||
font-family: verdana; |
font-family: verdana, sans-serif; |
||
} |
} |
||
Line 45: | Line 52: | ||
#localNotice { margin: 0; } |
#localNotice { margin: 0; } |
||
#localNotice hr { background: #ccc; } |
#localNotice hr { background: #ccc; } |
||
/* Main page */ |
|||
body.page-Main_Page .pds-vote { |
|||
padding-bottom: 2px !important; |
|||
} |
|||
body.anon #mw-content-text > .mw-parser-output { |
|||
margin-top: -0.5px !important; |
|||
} |
|||
body.skin-monobook #p-cactions ul li, |
|||
body.skin-monobook #p-cactions ul li a, |
|||
body.skin-monobook #p-cactions li.selected, |
|||
body.skin-monobook #p-cactions li.selected a { |
|||
border-top-left-radius: 1em; |
|||
border-top-right-radius: 1em; |
|||
} |
|||
body.skin-monobook input.searchButton { |
body.skin-monobook input.searchButton { |
||
Line 53: | Line 76: | ||
padding: 0 0.4em !important; |
padding: 0 0.4em !important; |
||
} |
} |
||
body.skin-monobook #searchButton |
body.skin-monobook #searchButton { |
||
body.skin-monobook #searchGoButton { |
|||
font-weight: normal; |
font-weight: normal; |
||
} |
} |
||
Line 73: | Line 95: | ||
@media all and (min-width: 551px) { |
@media all and (min-width: 551px) { |
||
#content { |
|||
border-top-left-radius: 1em; |
|||
border-bottom-left-radius: 1em; |
|||
} |
|||
body.skin-monobook li#pt-login, |
body.skin-monobook li#pt-login, |
||
body.skin-monobook li#pt-userpage, |
body.skin-monobook li#pt-userpage, |
||
body.skin-monobook li#pt-anonuserpage { |
body.skin-monobook li#pt-anonuserpage { |
||
color: #606060; |
color: #606060; |
||
background: url(https://mario.wiki.gallery/images/mushroom.gif) top left no-repeat; |
|||
padding: 1px 0 2px 20px; |
padding: 1px 0 2px 20px; |
||
line-height: |
line-height: 17px; |
||
} |
|||
body.skin-monobook div.pBody { |
|||
border-top-right-radius: 1em; |
|||
border-bottom-right-radius: 1em; |
|||
} |
} |
||
body.skin-monobook #p-cactions li { |
body.skin-monobook #p-cactions li { |
||
padding-bottom: 1em; |
padding-bottom: 1em; |
||
border-top-left-radius: .72em !important; |
|||
} |
|||
border-top-right-radius: .72em !important; |
|||
body.skin-monobook.ns-3014 li#pt-login, |
|||
body.skin-monobook.ns-3014 li#pt-userpage, |
|||
body.skin-monobook.ns-3014 li#pt-anonuserpage { |
|||
background: url(https://static.miraheze.org/nintendowiki/7/7f/ACWiki_user_icon.png) top left no-repeat; |
|||
padding: 1px 0 2px 20px; |
|||
line-height: 20px; |
|||
} |
|||
body.skin-monobook.ns-3015 li#pt-login, |
|||
body.skin-monobook.ns-3015 li#pt-userpage, |
|||
body.skin-monobook.ns-3015 li#pt-anonuserpage { |
|||
background: url(https://static.miraheze.org/nintendowiki/7/7f/ACWiki_user_icon.png) top left no-repeat; |
|||
padding: 1px 0 2px 20px; |
|||
line-height: 20px; |
|||
} |
|||
} |
|||
@media all and (min-width: 551px) { |
|||
body.skin-monobook #p-personal ul { |
|||
background: #FFFFFF; |
|||
border-left: 1px solid #aaa; |
|||
border-bottom: 1px solid #aaa; |
|||
width: auto; |
|||
display: inline; |
|||
position: absolute; |
|||
right: 0; |
|||
padding-left: 0px; |
|||
padding-bottom: 0px; |
|||
margin-top: -1px; |
|||
} |
} |
||
} |
} |
||
Line 125: | Line 129: | ||
color: #00f; |
color: #00f; |
||
} |
} |
||
body.skin-monobook #p-personal li a:hover { |
body.skin-monobook #p-personal li a:hover { |
||
background |
background: none; |
||
text-decoration: underline; |
text-decoration: underline; |
||
} |
} |
||
Line 136: | Line 139: | ||
body.skin-monobook #p-cactions .new a { |
body.skin-monobook #p-cactions .new a { |
||
color: #c00; |
color: #c00; |
||
} |
|||
body.skin-monobook li#pt-betafeatures { |
|||
display:none; |
|||
} |
} |
||
body.skin-monobook .pBody { |
body.skin-monobook .pBody { |
||
z-index: 3 !important; |
z-index: 3 !important; |
||
} |
|||
body.skin-monobook .portlet h3 { |
|||
background:#FFF; |
|||
border:1px solid #aaa; |
|||
} |
} |
||
Line 158: | Line 152: | ||
a:visited { color: #00c; } |
a:visited { color: #00c; } |
||
.mw-parser-output a.extiw { color: #06f; } |
.mw-parser-output a.extiw { color: #06f; } |
||
.mw-parser-output a.extiw:visited { color: # |
.mw-parser-output a.extiw:visited { color: #36b; } |
||
.mw-parser-output a.external { color: #06f; } |
.mw-parser-output a.external { color: #06f; } |
||
.mw-parser-output a.external:visited { color: # |
.mw-parser-output a.external:visited { color: #04c; } |
||
/* Fix footer spacing */ |
/* Fix footer spacing */ |
||
Line 169: | Line 163: | ||
/* Indicator icons */ |
/* Indicator icons */ |
||
.mw-indicators { |
.mw-indicators { |
||
height: 0; |
|||
top: -10px; |
top: -10px; |
||
} |
} |
||
Line 184: | Line 179: | ||
} |
} |
||
/* |
/* Responsive fix */ |
||
@media all and (max-width: 550px) { |
|||
body.skin--responsive #sidebar .portlet[role="navigation"] { |
|||
display: none !important; |
|||
} |
|||
} |
|||
/* Search up top */ |
|||
#sidebar { |
#sidebar { |
||
display: flex; |
|||
flex-direction: column; |
|||
} |
} |
||
#p-search { |
#p-search { |
||
order: -1; |
|||
} |
|||
/* Echo extension */ |
|||
#pt-notifications-alert .mw-echo-notifications-badge, |
|||
#pt-notifications-notice .mw-echo-notifications-badge { |
|||
height: 16px; |
|||
} |
|||
/* Animal Crossing Wiki */ |
|||
body.skin-monobook.ns-3014 .portlet h3, |
|||
body.skin-monobook.ns-3015 .portlet h3, |
|||
body.skin-monobook.ns-3014 #p-personal ul, |
|||
body.skin-monobook.ns-3015 #p-personal ul, |
|||
body.skin--responsive.ns-3014 .pBody, |
|||
body.skin--responsive.ns-3015 .pBody { |
|||
border: 1px solid #000; |
|||
} |
|||
body.skin--responsive.ns-3014 #p-cactions li, |
|||
body.skin--responsive.ns-3015 #p-cactions li { |
|||
border: 1px solid #000; |
|||
} |
|||
body.skin--responsive.ns-3014 #p-cactions li a, |
|||
body.skin--responsive.ns-3015 #p-cactions li a { |
|||
z-index: 3; |
|||
} |
} |