mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-12 09:21:11 +00:00
Merge "styles: Replace local var with Codex design token"
This commit is contained in:
commit
f39a8dc0e5
|
@ -48,7 +48,7 @@ pre,
|
|||
margin-bottom: 0.25em;
|
||||
padding: 0;
|
||||
font-family: @font-family-serif;
|
||||
line-height: @line-height-heading;
|
||||
line-height: @line-height-xx-small;
|
||||
|
||||
// Fallback heading font for scripts which render poorly in `@font-family-serif`.
|
||||
// See T73240
|
||||
|
|
|
@ -55,7 +55,6 @@
|
|||
@font-size-footer: unit( 12 / @font-size-browser, em );
|
||||
|
||||
@line-height-base: 1.6;
|
||||
@line-height-heading: 1.375;
|
||||
@line-height-code: 1.3;
|
||||
@line-height-footer-info: 1.4;
|
||||
@line-height-footer-buttons: 2;
|
||||
|
@ -107,12 +106,12 @@
|
|||
@max-height-bottom-spacing-scroll-indicator: 16px;
|
||||
|
||||
// TOC and Page tools Pinned elements
|
||||
@padding-top-pinned-element: unit( (30px - @padding-top-tabs) / @font-size-browser, em);
|
||||
@padding-top-pinned-element: unit( ( 30px - @padding-top-tabs ) / @font-size-browser, em );
|
||||
|
||||
// Page Tools
|
||||
// 2.34 (height of #firstHeading) - the padding on the pinned element to allow
|
||||
// for 30px of space between the top of the pinned element and the top of the viewport.
|
||||
@margin-top-pinned-page-tools: (@font-size-heading-1 * @line-height-heading) - @padding-top-pinned-element;
|
||||
@margin-top-pinned-page-tools: ( @font-size-heading-1 * @line-height-xx-small ) - @padding-top-pinned-element;
|
||||
|
||||
// TOC
|
||||
@spacing-subsection-toggle: 22px; // @size-toc-subsection-toggle-icon @ 12
|
||||
|
|
|
@ -55,7 +55,6 @@
|
|||
@font-size-footer: unit( 12 / @font-size-browser, em );
|
||||
|
||||
@line-height-base: 1.6;
|
||||
@line-height-heading: 1.375;
|
||||
@line-height-code: 1.3;
|
||||
@line-height-footer-info: 1.4;
|
||||
@line-height-footer-buttons: 2;
|
||||
|
|
Loading…
Reference in a new issue