2021-01-18 20:18:39 +00:00
|
|
|
@width-breakpoint-desktop-wider: @width-breakpoint-desktop + @width-toc * 2;
|
|
|
|
|
2021-04-19 16:38:39 +00:00
|
|
|
.mw-body,
|
|
|
|
.parsoid-body {
|
|
|
|
min-height: 80vh; // avoid footer being in the middle of the page
|
|
|
|
padding: 0 var( --padding-page );
|
2022-06-02 14:57:19 +00:00
|
|
|
margin-top: var( --height-header );
|
2021-04-19 16:38:39 +00:00
|
|
|
}
|
|
|
|
|
2021-01-26 19:25:46 +00:00
|
|
|
.mw-body-header,
|
2021-07-30 15:44:02 +00:00
|
|
|
.citizen-body {
|
2021-01-18 20:18:39 +00:00
|
|
|
max-width: var( --width-layout );
|
|
|
|
margin-right: auto;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
2021-01-26 19:25:46 +00:00
|
|
|
.mw-body-header {
|
2022-05-16 22:12:37 +00:00
|
|
|
position: relative;
|
2021-01-26 19:25:46 +00:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2022-05-16 04:50:00 +00:00
|
|
|
align-items: flex-start;
|
2022-06-02 14:57:19 +00:00
|
|
|
padding-top: @content-margin-top;
|
2022-06-21 20:23:31 +00:00
|
|
|
margin-bottom: @content-margin-top * 2;
|
2022-06-02 18:40:31 +00:00
|
|
|
gap: @content-margin-top;
|
2021-01-26 19:25:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.page-heading {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
2021-01-26 20:38:27 +00:00
|
|
|
.firstHeading-container {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2021-07-30 15:44:02 +00:00
|
|
|
.citizen-body {
|
2021-01-18 20:18:39 +00:00
|
|
|
.mixin-clearfix();
|
|
|
|
}
|
|
|
|
|
2021-03-08 15:50:18 +00:00
|
|
|
a.image {
|
2021-03-08 15:53:46 +00:00
|
|
|
> img {
|
2021-03-08 15:52:46 +00:00
|
|
|
max-width: inherit;
|
2021-03-08 15:50:18 +00:00
|
|
|
height: auto;
|
|
|
|
}
|
2021-01-18 20:18:39 +00:00
|
|
|
}
|
|
|
|
|
2021-08-26 21:11:01 +00:00
|
|
|
#mw-data-after-content {
|
2021-08-31 17:27:33 +00:00
|
|
|
padding-bottom: var( --padding-page );
|
2021-08-26 21:11:01 +00:00
|
|
|
background: var( --color-surface-0 );
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-footer,
|
|
|
|
#mw-data-after-content {
|
|
|
|
position: relative;
|
|
|
|
margin-top: var( --padding-page );
|
|
|
|
|
|
|
|
// Footer spacer
|
|
|
|
&:before {
|
|
|
|
position: absolute;
|
|
|
|
top: ~'calc( var( --padding-page ) * -2 )';
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
display: block;
|
|
|
|
height: ~'calc( var( --padding-page ) * 2 )';
|
|
|
|
background: var( --color-surface-0 );
|
|
|
|
content: '';
|
|
|
|
-webkit-mask-image: linear-gradient( 0deg, #000, transparent );
|
|
|
|
mask-image: linear-gradient( 0deg, #000, transparent );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#mw-data-after-content + .mw-footer {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2021-01-18 20:18:39 +00:00
|
|
|
@media ( min-width: @width-breakpoint-tablet ) {
|
|
|
|
div.tleft,
|
2021-03-18 16:50:08 +00:00
|
|
|
figure.mw-halign-left,
|
2021-01-18 20:18:39 +00:00
|
|
|
div.floatleft,
|
|
|
|
table.floatleft {
|
2021-03-18 16:50:08 +00:00
|
|
|
/* @noflip */
|
2021-01-18 20:18:39 +00:00
|
|
|
margin-right: 1.4rem;
|
2021-03-18 16:50:08 +00:00
|
|
|
/* @noflip */
|
2021-01-18 20:18:39 +00:00
|
|
|
clear: left;
|
2021-03-18 16:50:08 +00:00
|
|
|
/* @noflip */
|
2021-01-18 20:18:39 +00:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.tright,
|
2021-03-18 16:50:08 +00:00
|
|
|
figure.mw-halign-right,
|
|
|
|
figure.mw-default-size,
|
2021-01-18 20:18:39 +00:00
|
|
|
div.floatright,
|
|
|
|
table.floatright {
|
2021-03-18 16:50:08 +00:00
|
|
|
/* @noflip */
|
2021-01-18 20:18:39 +00:00
|
|
|
margin-left: 1.4rem;
|
2021-03-18 16:50:08 +00:00
|
|
|
/* @noflip */
|
2021-01-18 20:18:39 +00:00
|
|
|
clear: right;
|
2021-03-18 16:50:08 +00:00
|
|
|
/* @noflip */
|
2021-01-18 20:18:39 +00:00
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
2021-01-26 19:56:11 +00:00
|
|
|
|
2021-03-08 16:42:43 +00:00
|
|
|
/* Wider page width for certain namespaces */
|
2021-01-26 19:56:11 +00:00
|
|
|
@media ( min-width: @width-breakpoint-desktop-wide ) {
|
2021-03-08 16:42:43 +00:00
|
|
|
// 1 - Special, 6 - File, 14 - Category
|
|
|
|
.ns {
|
|
|
|
&--1,
|
|
|
|
&-6,
|
|
|
|
&-14 {
|
|
|
|
--width-layout: @width-breakpoint-desktop-wide - @padding-page * 2;
|
|
|
|
}
|
2021-01-26 19:56:11 +00:00
|
|
|
}
|
|
|
|
}
|