টেমপ্লেট:Hlist/styles.css: সংশোধিত সংস্করণের মধ্যে পার্থক্য
use actual pseudo-element selectors for after and before, all grade C and up support double (correct number) of colons |
অ 17 revisions imported ট্যাগ: মোবাইল সম্পাদনা মোবাইল ওয়েব সম্পাদনা |
||
(২ জন ব্যবহারকারী দ্বারা সম্পাদিত ৮টি মধ্যবর্তী সংশোধন দেখানো হচ্ছে না) | |||
১ নং লাইন: | ১ নং লাইন: | ||
/* | /* {{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]] | |||
*/ | */ | ||
/* | /* | ||
৮ নং লাইন: | ১১ নং লাইন: | ||
* 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, | ||
৫২ নং লাইন: | ৫৪ নং লাইন: | ||
} | } | ||
/* TODO: | /* TODO: :not() can maybe be used here to remove the later rule. naive test | ||
* like so: | * seems to work. more testing needed. like so: | ||
*.hlist dt:not(:last-child)::after { | *.hlist dt:not(:last-child)::after { | ||
* content: ": "; | * content: ": "; | ||
*} | *} | ||
*.hlist dd:not(:last-child)::after, | *.hlist dd:not(:last-child)::after, | ||
*.hlist | *.hlist li:not(:last-child)::after { | ||
* content: " · "; | * content: " · "; | ||
* font-weight: bold; | * font-weight: bold; |