Imported from Mediawiki default skin

This commit is contained in:
Diskette Guy
2025-07-18 00:20:55 +07:00
parent 314b39f4bb
commit 9da7278191
35 changed files with 7825 additions and 0 deletions
+66
View File
@@ -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;
}