mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-15 02:24:04 +00:00
4beb15e43d
* feat: update layout in different breakpoints * ci: lint code to MediaWiki standards Check commit and GitHub actions for more details * feat: remove negative margin for namespace and catlinks * ci: lint code to MediaWiki standards Check commit and GitHub actions for more details Co-authored-by: github-actions <github-actions@users.noreply.github.com>
46 lines
646 B
Plaintext
46 lines
646 B
Plaintext
@width-breakpoint-desktop-wider: @width-breakpoint-desktop + @width-toc * 2;
|
|
|
|
.firstHeading,
|
|
#siteSub,
|
|
.mw-body-content {
|
|
max-width: var( --width-layout );
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.mw-body-content {
|
|
.mixin-clearfix();
|
|
}
|
|
|
|
.thumb {
|
|
margin: 0.6rem 0;
|
|
|
|
.thumbinner {
|
|
max-width: 100%;
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
|
|
a.image > img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
@media ( min-width: @width-breakpoint-tablet ) {
|
|
div.tleft,
|
|
div.floatleft,
|
|
table.floatleft {
|
|
margin-right: 1.4rem;
|
|
clear: left;
|
|
float: left;
|
|
}
|
|
|
|
div.tright,
|
|
div.floatright,
|
|
table.floatright {
|
|
margin-left: 1.4rem;
|
|
clear: right;
|
|
float: right;
|
|
}
|
|
}
|