টেমপ্লেট: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
ট্যাগ: মোবাইল সম্পাদনা মোবাইল ওয়েব সম্পাদনা
 
(২ জন ব্যবহারকারী দ্বারা সম্পাদিত ৮টি মধ্যবর্তী সংশোধন দেখানো হচ্ছে না)
১ নং লাইন: ১ নং লাইন:
/* Style for horizontal lists (separator following item).
/* {{pp-protected|reason=match parent|small=yes}} */
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
/*
  @revision 8 (2016-05-21)
* hlist styles are defined in core and Minerva and differ in Minerva. The
  @original-author [[User:Edokter]]
* 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: believe :not() can be used here to remove the later rule. needs testing.
/* 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 dd:not(:last-child)::after {
  *.hlist li:not(:last-child)::after {
  * content: " · ";
  * content: " · ";
  * font-weight: bold;
  * font-weight: bold;