mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 01:20:07 +00:00
ca0d404e50
- New night theme added via Codex `.cdx-mode-dark();` mixin. - CSS custom properties separated from skin.less. - Font-size rem conversion removed since Codex now uses rems. - bundlesize increased by 1kb ( followup from Icfcb5c7418061a5727580f0685054356ba4edb72 ). - Icons that use background-images are inverted for night-theme. - Linter error fixed for long-lines in clientPreferences.js Co-Author: <Bernard Wang> bwang@wikimedia.org Bug: T354889 Depends-On: I1f54bf4f144eaec6ed317c04bd0c851c2f01b42c Change-Id: I3a8a147b6be67bc830f0d3b816a4b85c26f99cf1
25 lines
890 B
Plaintext
25 lines
890 B
Plaintext
{{!
|
|
LogoDefinition logo
|
|
string link-mainpage link to the main page (from SkinMustache in core)
|
|
string msg-sitesubtitle the contents of the sitesubtitle message key
|
|
}}
|
|
<a href="{{link-mainpage}}" class="mw-logo">
|
|
{{#icon}}
|
|
{{! alt is provided for valid HTML but given aria-hidden not needed. }}
|
|
<img class="mw-logo-icon" src="{{.}}" alt="" aria-hidden="true" height="50" width="50">
|
|
{{/icon}}
|
|
<span class="mw-logo-container skin-invert">
|
|
{{#wordmark}}
|
|
{{!-- djlint:off H006 --}}
|
|
<img class="mw-logo-wordmark" alt="{{msg-sitetitle}}" src="{{src}}" style="{{style}}">
|
|
{{!-- djlint:on H006 --}}
|
|
{{/wordmark}}
|
|
{{^wordmark}}
|
|
<strong class="mw-logo-wordmark">{{msg-sitetitle}}</strong>
|
|
{{/wordmark}}
|
|
{{#tagline}}
|
|
<img class="mw-logo-tagline" alt="{{msg-sitesubtitle}}" src="{{src}}" width="{{width}}" height="{{height}}" style="{{style}}">
|
|
{{/tagline}}
|
|
</span>
|
|
</a>
|