Replace id by attribute selector

`[ class|='mw-content ]'` catches `.mw-content`, but also `.mw-content-rtl`.

Change-Id: Ibbde7670cf86e36f08a4ce3dca9565bdaaec9b13
This commit is contained in:
Volker E 2019-11-25 22:03:13 -08:00 committed by Niedzielski
parent 0c00901503
commit 7dc77f594a

View file

@ -79,8 +79,9 @@
font-size: 28px;
}
// stylelint-disable selector-max-id
#mw-content-text {
// `#mw-content-text` doesn't feature universal class selector.
// `class|='mw-content'` catches `.mw-content`, but also `.mw-content-rtl`.
[ class|='mw-content' ] {
font-size: 36px;
a {
@ -122,4 +123,3 @@
font-size: 30px;
}
}
// stylelint-enable selector-max-id