mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-24 06:24:22 +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 ) {
|
||||
.citizen-toc-enabled {
|
||||
.mw-body-header,
|
||||
.citizen-body {
|
||||
.citizen-body,
|
||||
.mw-body-footer {
|
||||
// Reserve space for ToC
|
||||
padding-right: var( --width-toc );
|
||||
}
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
|
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-user-message}}}
|
||||
{{{html-body-content--formatted}}}
|
||||
{{{html-categories}}}
|
||||
</div>
|
||||
{{>ContentFooter}}
|
||||
</main>
|
||||
{{{html-after-content}}}
|
||||
{{#data-citizen-footer}}{{>Footer}}{{/data-citizen-footer}}
|
||||
|
|
Loading…
Reference in a new issue