Template:Hlist/styles.css: Difference between revisions
naive works |
m 17 revisions imported Tags: Mobile edit Mobile web edit |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
/* | /* {{pp-protected|reason=match parent|small=yes}} */ | ||
/* | |||
* hlist styles are defined in core and Minerva and differ in Minerva. The | |||
* current definitions here (2023-01-01) are sufficient to override Minerva | |||
* without use of the hlist-separated class. The most problematic styles were | |||
* related to margin, padding, and the bullet. Check files listed at | |||
* [[MediaWiki talk:Common.css/to do#hlist-separated]] | |||
*/ | */ | ||
/* | /* | ||
| Line 8: | Line 11: | ||
* in which grade C support is above the minimum threshold), use :is() | * in which grade C support is above the minimum threshold), use :is() | ||
*/ | */ | ||
.hlist dl, | .hlist dl, | ||
.hlist ol, | .hlist ol, | ||
| Line 52: | Line 54: | ||
} | } | ||
/* TODO: :not() can be used here to remove the later rule. | /* TODO: :not() can maybe be used here to remove the later rule. naive test | ||
* | * seems to work. more testing needed. like so: | ||
*.hlist dt:not(:last-child)::after { | *.hlist dt:not(:last-child)::after { | ||
* content: ": "; | * content: ": "; | ||