mediawiki-skins-Citizen/skinStyles/extensions/VisualEditor/ext.visualEditor.mwformatting.less
alistair3149 af41f98935
feat(core): use same font family instead of serif for blockquote
Since it is the only place that use serif, the serif variable is also removed
2023-02-16 12:13:21 -05:00

70 lines
1.2 KiB
Plaintext

/*
* Citizen
*
* SkinStyles for Extension:VisualEditor
* Module: ext.visualEditor.mwformatting
* Version: REL1_39 65d89c9
*
* Date: 2023-02-06
*/
// Sync with Citizen font styles
.oo-ui-menuToolGroup-tools .oo-ui-tool-name {
&-paragraph .oo-ui-tool-title {
font-size: 1rem;
}
&-heading1,
&-heading2,
&-heading3,
&-heading4,
&-heading5,
&-heading6 {
.oo-ui-tool-title {
color: var( --color-base--emphasized );
font-weight: var( --font-weight-semibold );
}
}
&-heading1 .oo-ui-tool-title {
font-size: var( --font-size-h1 );
}
&-heading2 .oo-ui-tool-title {
font-size: var( --font-size-h2 );
}
&-heading3 .oo-ui-tool-title {
font-size: var( --font-size-h3 );
}
&-heading4 .oo-ui-tool-title {
font-size: var( --font-size-h4 );
}
&-heading5 .oo-ui-tool-title {
font-size: var( --font-size-h5 );
}
&-heading6 .oo-ui-tool-title {
font-size: var( --font-size-h6 );
}
&-preformatted .oo-ui-tool-title {
color: var( --color-base--emphasized );
font-family: var( --font-family-monospace );
}
&-blockquote .oo-ui-tool-title {
color: var( --color-base--subtle );
font-style: italic;
text-indent: var( --space-md );
}
/*
&-tableCellHeader .oo-ui-tool-title {
font-weight: bold;
}
*/
}