Welcome to Mariopedia! If you want to request an account, please do so at Mario Wiki or Fanonpedia.

MediaWiki:Common.css: Difference between revisions

From Mariopedia, a wiki on Mario, Yoshi, Wario, Donkey Kong, Super Smash Bros., and more!
Jump to navigationJump to search
nvm shouldnt try to complex it
(taking this code from https://www.wikidex.net/wiki/MediaWiki:Common.css . i worry about oversize thumbnails in the source, like on Monty Mole article)
(nvm shouldnt try to complex it)
Line 316: Line 316:
.mobileonly {
.mobileonly {
display: none;
display: none;
}
/* thumbnails */
div.thumbinner, span.thumbinner,
/*VE,MW1.40+*/
figure[typeof~="mw:File/Thumb"],
figure[typeof~="mw:Image/Thumb"],
figure[typeof~="mw:Video/Thumb"],
figure[typeof~="mw:Audio/Thumb"],
figure[typeof~="mw:File/Frame"],
figure[typeof~="mw:Image/Frame"],
figure[typeof~="mw:Video/Frame"],
figure[typeof~="mw:Audio/Frame"] {
border:none;
padding:4px !important; /* One more pixel to match the sides */
text-align: center;
display: block;
}
figure[typeof~="mw:File/Thumb"] > figcaption,
figure[typeof~="mw:Image/Thumb"] > figcaption,
figure[typeof~="mw:Video/Thumb"] > figcaption,
figure[typeof~="mw:Audio/Thumb"] > figcaption,
figure[typeof~="mw:File/Frame"] > figcaption,
figure[typeof~="mw:Image/Frame"] > figcaption,
figure[typeof~="mw:Video/Frame"] > figcaption,
figure[typeof~="mw:Audio/Frame"] > figcaption {
/*VE*/
display: block;
background: none;
border: none;
}
img.thumbimage,
/*VE,MW1.40+*/
figure[typeof~="mw:File/Thumb"] > a:first-child > :first-child:not(.mw-broken-media),
figure[typeof~="mw:Image/Thumb"] > a:first-child > :first-child:not(.mw-broken-media),
figure[typeof~="mw:Video/Thumb"] > a:first-child > :first-child:not(.mw-broken-media),
figure[typeof~="mw:Audio/Thumb"] > a:first-child > :first-child:not(.mw-broken-media),
figure[typeof~="mw:File/Frame"] > a:first-child > :first-child:not(.mw-broken-media),
figure[typeof~="mw:Image/Frame"] > a:first-child > :first-child:not(.mw-broken-media),
figure[typeof~="mw:Video/Frame"] > a:first-child > :first-child:not(.mw-broken-media),
figure[typeof~="mw:Audio/Frame"] > a:first-child > :first-child:not(.mw-broken-media) {
border:none;
}
}


Navigation menu