mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-15 10:38:19 +00:00
95 lines
1.5 KiB
Plaintext
95 lines
1.5 KiB
Plaintext
@width-breakpoint-desktop-wider: @width-breakpoint-desktop + @width-toc * 2;
|
|
|
|
.mw-body,
|
|
.parsoid-body {
|
|
min-height: 80vh; // avoid footer being in the middle of the page
|
|
padding: 0 var( --padding-page );
|
|
margin-top: var( --height-header );
|
|
}
|
|
|
|
.mw-body-header,
|
|
.mw-body-content {
|
|
max-width: var( --width-layout );
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.mw-body-header {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin-top: @content-margin-top * 1.5;
|
|
margin-bottom: @content-margin-top;
|
|
}
|
|
|
|
.page-heading {
|
|
flex-grow: 1;
|
|
margin-bottom: @content-margin-top;
|
|
}
|
|
|
|
.firstHeading-container {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.mw-body-content {
|
|
.mixin-clearfix();
|
|
}
|
|
|
|
figure,
|
|
.thumb {
|
|
margin: @content-margin-top 0;
|
|
|
|
.thumbinner {
|
|
max-width: 100%;
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
|
|
a.image {
|
|
max-width: 100%;
|
|
|
|
> img {
|
|
max-width: inherit;
|
|
height: auto;
|
|
}
|
|
}
|
|
|
|
@media ( min-width: @width-breakpoint-tablet ) {
|
|
div.tleft,
|
|
figure.mw-halign-left,
|
|
div.floatleft,
|
|
table.floatleft {
|
|
/* @noflip */
|
|
margin-right: 1.4rem;
|
|
/* @noflip */
|
|
clear: left;
|
|
/* @noflip */
|
|
float: left;
|
|
}
|
|
|
|
div.tright,
|
|
figure.mw-halign-right,
|
|
figure.mw-default-size,
|
|
div.floatright,
|
|
table.floatright {
|
|
/* @noflip */
|
|
margin-left: 1.4rem;
|
|
/* @noflip */
|
|
clear: right;
|
|
/* @noflip */
|
|
float: right;
|
|
}
|
|
}
|
|
|
|
/* Wider page width for certain namespaces */
|
|
@media ( min-width: @width-breakpoint-desktop-wide ) {
|
|
// 1 - Special, 6 - File, 14 - Category
|
|
.ns {
|
|
&--1,
|
|
&-6,
|
|
&-14 {
|
|
--width-layout: @width-breakpoint-desktop-wide - @padding-page * 2;
|
|
}
|
|
}
|
|
}
|