feat(core): move catlinks to body footer

This commit is contained in:
alistair3149 2022-10-01 16:07:37 -04:00
parent 17907ead6d
commit 9de7a1d4b2
No known key found for this signature in database
4 changed files with 12 additions and 4 deletions

View file

@ -247,7 +247,8 @@
@media ( min-width: @width-breakpoint-desktop-wide ) {
.citizen-toc-enabled {
.mw-body-header,
.citizen-body {
.citizen-body,
.mw-body-footer {
// Reserve space for ToC
padding-right: var( --width-toc );
}

View file

@ -13,7 +13,8 @@
}
.mw-body-header,
.citizen-body {
.citizen-body,
.mw-body-footer {
max-width: var( --width-layout );
margin-right: auto;
margin-left: auto;
@ -78,13 +79,13 @@ a.image {
}
@media ( min-width: @width-breakpoint-desktop ) {
// Reserve space for header
.mw-body,
.parsoid-body,
.mw-footer {
padding-right: ~'calc( var( --padding-page ) * 2 )';
padding-left: ~'calc( var( --padding-page ) * 2 )';
margin-bottom: 0;
// Reserve space for header
margin-left: var( --header-size );
}
}

View file

@ -0,0 +1,6 @@
{{!
}}
<footer class="mw-body-footer">
{{{html-categories}}}
</footer>

View file

@ -19,8 +19,8 @@
{{#html-undelete-link}}<div id="contentSub2">{{{html-undelete-link}}}</div>{{/html-undelete-link}}
{{{html-user-message}}}
{{{html-body-content--formatted}}}
{{{html-categories}}}
</div>
{{>ContentFooter}}
</main>
{{{html-after-content}}}
{{#data-citizen-footer}}{{>Footer}}{{/data-citizen-footer}}