[less] Put element selectors in the right place

Element selectors need to come before class selectors.

Change-Id: I278adf4c5eb19e64fd0e2afdd4416dd45077389f
This commit is contained in:
Volker E 2020-06-11 16:41:44 -07:00
parent 58aa874951
commit 0b1abe7a03
1 changed files with 11 additions and 10 deletions

View File

@ -4,6 +4,17 @@
*
*/
ul {
// `list-style-image` sits on `ul` as it inherits and we don't need to worry about `ol`.
// No need for PNG fallback. Fallback is browser default (a smaller, also black, circle).
.list-style-image( 'images/bullet-icon.svg' );
}
pre,
.mw-code {
line-height: @line-height-code;
}
.mw-body-content {
p {
margin: 0.5em 0;
@ -55,16 +66,6 @@
font-family: @font-family-sans;
}
ul {
// No need for PNG fallback. Fallback is browser default (a smaller, also black, circle).
.list-style-image( 'images/bullet-icon.svg' );
}
pre,
.mw-code {
line-height: @line-height-code;
}
.mw-jump-link:not( :focus ) {
.mixin-screen-reader-text;
}