mediawiki-skins-Citizen/templates/skin.mustache
alistair3149 53742a0dd2
feat(core): extend page header background to full width
This is needed to get rid of the negative margin sticky header background hack.
Since it looks weird on wikis with background imgae.
2024-10-17 04:10:32 -04:00

34 lines
1.2 KiB
Plaintext

{{!
string|null html-site-notice the contents of a banner defined in MediaWiki:Sitenotice.
Also used by CentralNotice to inject banners into Vector.
string html-subtitle
string html-undelete-link
string html-user-message
string html-body-content--formatted
string html-categories
string html-after-content
object data-footer for footer template partial. see Footer.mustache for documentation.
}}
{{>Header}}
<div class="citizen-page-container">
<div class="citizen-sitenotice-container">
<div id="siteNotice">{{{html-site-notice}}}</div>
</div>
<main class="mw-body {{#toc-enabled}}citizen-toc-enabled{{/toc-enabled}}" id="content">
{{>PageHeader}}
<div class="citizen-body-container">
<div id="bodyContent" class="citizen-body" aria-labelledby="firstHeading">
<div id="contentSub"{{{html-user-language-attributes}}}>{{{html-subtitle}}}</div>
{{#html-undelete-link}}<div id="contentSub2">{{{.}}}</div>{{/html-undelete-link}}
{{{html-user-message}}}
{{{html-body-content--formatted}}}
</div>
{{#toc-enabled}}{{>PageSidebar}}{{/toc-enabled}}
{{>PageFooter}}
</div>
</main>
{{{html-after-content}}}
{{#data-footer}}{{>Footer}}{{/data-footer}}
</div>