Imported from Mediawiki default skin
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
/* Styles appear on displays 750 pixels wide and below */
|
||||
|
||||
#p-logo {
|
||||
width: 6em;
|
||||
|
||||
// Make the logo smaller because we're dealing with less space here
|
||||
// Note that background-size doesn't necessarily work in older browsers, but whatever
|
||||
a.mw-wiki-logo {
|
||||
margin: 0 0 1em 1em;
|
||||
width: 5em;
|
||||
height: 5em;
|
||||
background-size: contain;
|
||||
}
|
||||
}
|
||||
|
||||
#p-banner {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// Full-width thumbnails (to avoid having really squished text around them)
|
||||
div.thumb {
|
||||
float: none;
|
||||
}
|
||||
|
||||
.thumb {
|
||||
width: 100%;
|
||||
margin: 1em auto;
|
||||
}
|
||||
|
||||
.thumbinner {
|
||||
/* stylelint-disable-next-line declaration-no-important */
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
div.tright {
|
||||
margin-left: 0;
|
||||
|
||||
.thumbinner {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
div.tleft {
|
||||
margin-right: 0;
|
||||
|
||||
.thumbinner {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.thumbimage {
|
||||
display: block;
|
||||
margin: 0 auto 0.5em;
|
||||
}
|
||||
|
||||
// Keep images from overflowing
|
||||
.mw-body-content a > img {
|
||||
/* stylelint-disable-next-line declaration-no-important */
|
||||
height: auto !important;
|
||||
/* stylelint-disable-next-line declaration-no-important */
|
||||
max-width: 100% !important;
|
||||
}
|
||||
|
||||
.nomobile {
|
||||
display: none;
|
||||
}
|
||||
Reference in New Issue
Block a user