mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-24 14:34:09 +00:00
feat(core): ✨ move catlinks to body footer
This commit is contained in:
parent
17907ead6d
commit
9de7a1d4b2
|
@ -247,7 +247,8 @@
|
||||||
@media ( min-width: @width-breakpoint-desktop-wide ) {
|
@media ( min-width: @width-breakpoint-desktop-wide ) {
|
||||||
.citizen-toc-enabled {
|
.citizen-toc-enabled {
|
||||||
.mw-body-header,
|
.mw-body-header,
|
||||||
.citizen-body {
|
.citizen-body,
|
||||||
|
.mw-body-footer {
|
||||||
// Reserve space for ToC
|
// Reserve space for ToC
|
||||||
padding-right: var( --width-toc );
|
padding-right: var( --width-toc );
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.mw-body-header,
|
.mw-body-header,
|
||||||
.citizen-body {
|
.citizen-body,
|
||||||
|
.mw-body-footer {
|
||||||
max-width: var( --width-layout );
|
max-width: var( --width-layout );
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
|
@ -78,13 +79,13 @@ a.image {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media ( min-width: @width-breakpoint-desktop ) {
|
@media ( min-width: @width-breakpoint-desktop ) {
|
||||||
// Reserve space for header
|
|
||||||
.mw-body,
|
.mw-body,
|
||||||
.parsoid-body,
|
.parsoid-body,
|
||||||
.mw-footer {
|
.mw-footer {
|
||||||
padding-right: ~'calc( var( --padding-page ) * 2 )';
|
padding-right: ~'calc( var( --padding-page ) * 2 )';
|
||||||
padding-left: ~'calc( var( --padding-page ) * 2 )';
|
padding-left: ~'calc( var( --padding-page ) * 2 )';
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
// Reserve space for header
|
||||||
margin-left: var( --header-size );
|
margin-left: var( --header-size );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
6
templates/ContentFooter.mustache
Normal file
6
templates/ContentFooter.mustache
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{{!
|
||||||
|
|
||||||
|
}}
|
||||||
|
<footer class="mw-body-footer">
|
||||||
|
{{{html-categories}}}
|
||||||
|
</footer>
|
|
@ -19,8 +19,8 @@
|
||||||
{{#html-undelete-link}}<div id="contentSub2">{{{html-undelete-link}}}</div>{{/html-undelete-link}}
|
{{#html-undelete-link}}<div id="contentSub2">{{{html-undelete-link}}}</div>{{/html-undelete-link}}
|
||||||
{{{html-user-message}}}
|
{{{html-user-message}}}
|
||||||
{{{html-body-content--formatted}}}
|
{{{html-body-content--formatted}}}
|
||||||
{{{html-categories}}}
|
|
||||||
</div>
|
</div>
|
||||||
|
{{>ContentFooter}}
|
||||||
</main>
|
</main>
|
||||||
{{{html-after-content}}}
|
{{{html-after-content}}}
|
||||||
{{#data-citizen-footer}}{{>Footer}}{{/data-citizen-footer}}
|
{{#data-citizen-footer}}{{>Footer}}{{/data-citizen-footer}}
|
||||||
|
|
Loading…
Reference in a new issue