2022-10-06 20:31:55 +00:00
|
|
|
.citizen-toc-enabled {
|
|
|
|
--width-layout--toc: ~'calc( var( --width-layout ) + var( --width-toc ) + var( --space-lg ) )';
|
|
|
|
}
|
2021-01-18 20:18:39 +00:00
|
|
|
|
2022-10-05 02:00:56 +00:00
|
|
|
.citizen-page-container {
|
|
|
|
// Reserve space for header
|
|
|
|
margin-bottom: var( --header-size );
|
|
|
|
}
|
|
|
|
|
2021-04-19 16:38:39 +00:00
|
|
|
.mw-body,
|
|
|
|
.parsoid-body {
|
|
|
|
min-height: 80vh; // avoid footer being in the middle of the page
|
2022-09-29 23:12:56 +00:00
|
|
|
}
|
|
|
|
|
2022-10-06 20:31:55 +00:00
|
|
|
.citizen-body-container {
|
2022-10-06 20:40:30 +00:00
|
|
|
display: grid;
|
2022-10-06 20:31:55 +00:00
|
|
|
justify-content: center;
|
|
|
|
padding: var( --space-lg ) var( --padding-page );
|
2022-10-20 18:26:20 +00:00
|
|
|
gap: var( --space-md ) var( --space-lg );
|
2022-10-06 20:40:30 +00:00
|
|
|
grid-template-areas: 'header'
|
|
|
|
'content'
|
|
|
|
'footer';
|
2022-10-22 23:58:54 +00:00
|
|
|
grid-template-columns: minmax( auto, var( --width-layout ) );
|
2021-01-18 20:18:39 +00:00
|
|
|
}
|
|
|
|
|
2021-01-26 19:25:46 +00:00
|
|
|
.mw-body-header {
|
2022-10-19 17:49:29 +00:00
|
|
|
position: sticky;
|
2022-10-03 16:38:23 +00:00
|
|
|
z-index: @z-index-page-header;
|
2021-01-26 19:25:46 +00:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2022-10-19 18:20:21 +00:00
|
|
|
align-items: center;
|
2022-09-30 02:33:06 +00:00
|
|
|
padding-top: var( --space-md );
|
2022-09-30 15:24:06 +00:00
|
|
|
gap: var( --space-lg );
|
2022-10-06 20:31:55 +00:00
|
|
|
grid-area: header;
|
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 {
|
2022-10-06 20:31:55 +00:00
|
|
|
grid-area: content;
|
2022-10-22 23:59:50 +00:00
|
|
|
overflow-x: auto;
|
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
|
|
|
}
|
|
|
|
|
|
|
|
@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
|
|
|
|
2022-09-29 23:12:56 +00:00
|
|
|
@media ( min-width: @width-breakpoint-desktop ) {
|
2022-10-05 02:00:56 +00:00
|
|
|
.citizen-page-container {
|
2022-10-05 02:01:30 +00:00
|
|
|
margin-bottom: 0;
|
2022-10-01 20:07:37 +00:00
|
|
|
// Reserve space for header
|
2022-10-01 19:06:57 +00:00
|
|
|
margin-left: var( --header-size );
|
2022-09-30 01:12:27 +00:00
|
|
|
}
|
2022-10-06 20:31:55 +00:00
|
|
|
|
|
|
|
.citizen-body-container {
|
|
|
|
padding-right: ~'calc( var( --padding-page ) * 2 )';
|
|
|
|
padding-left: ~'calc( var( --padding-page ) * 2 )';
|
|
|
|
}
|
|
|
|
|
|
|
|
.citizen-toc-enabled {
|
|
|
|
.citizen-body-container {
|
|
|
|
display: grid;
|
|
|
|
grid-template-areas: 'header header'
|
|
|
|
'content toc'
|
|
|
|
'footer footer';
|
2022-10-22 23:58:54 +00:00
|
|
|
grid-template-columns: minmax( auto, var( --width-layout ) ) var( --width-toc );
|
2022-10-06 20:31:55 +00:00
|
|
|
}
|
|
|
|
}
|
2022-09-29 23:12:56 +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 {
|
2022-10-01 19:33:30 +00:00
|
|
|
--width-layout: var( --width-layout--extended );
|
2021-03-08 16:42:43 +00:00
|
|
|
}
|
2021-01-26 19:56:11 +00:00
|
|
|
}
|
|
|
|
}
|