Share to:

Predloga:Arrowlist/styles.css

/* Style for horizontal lists (separator following item).
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
   @revision 8 (2016-05-21)
   @author [[User:Edokter]]
 */
.arrowlist dl,
.arrowlist ol,
.arrowlist ul {
	margin: 0;
	padding: 0;
}
/* Display list items inline */
.arrowlist dd,
.arrowlist dt,
.arrowlist li {
	margin: 0;
	display: inline;
}
/* Display nested lists inline */
.arrowlist.inline,
.arrowlist.inline dl,
.arrowlist.inline ol,
.arrowlist.inline ul,
.arrowlist dl dl, .arrowlist dl ol, .arrowlist dl ul,
.arrowlist ol dl, .arrowlist ol ol, .arrowlist ol ul,
.arrowlist ul dl, .arrowlist ul ol, .arrowlist ul ul {
	display: inline;
}
/* Hide empty list items */
.arrowlist .mw-empty-li {
	display: none;
}
/* Generate interpuncts */
.arrowlist dt:after {
	content: ": ";
}
.arrowlist dd:after,
.arrowlist li:after {
	content: " → ";
	font-weight: bold;
}
.arrowlist dd:last-child:after,
.arrowlist dt:last-child:after,
.arrowlist li:last-child:after {
	content: none;
}
/* Add parentheses around nested lists */
.arrowlist dd dd:first-child:before, .arrowlist dd dt:first-child:before, .arrowlist dd li:first-child:before,
.arrowlist dt dd:first-child:before, .arrowlist dt dt:first-child:before, .arrowlist dt li:first-child:before,
.arrowlist li dd:first-child:before, .arrowlist li dt:first-child:before, .arrowlist li li:first-child:before {
	content: " (";
	font-weight: normal;
}
.arrowlist dd dd:last-child:after, .arrowlist dd dt:last-child:after, .arrowlist dd li:last-child:after,
.arrowlist dt dd:last-child:after, .arrowlist dt dt:last-child:after, .arrowlist dt li:last-child:after,
.arrowlist li dd:last-child:after, .arrowlist li dt:last-child:after, .arrowlist li li:last-child:after {
	content: ")";
	font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.arrowlist ol {
	counter-reset: listitem;
}
.arrowlist ol > li {
	counter-increment: listitem;
}
.arrowlist ol > li:before {
	content: " " counter(listitem) "\a0";
}
.arrowlist dd ol > li:first-child:before,
.arrowlist dt ol > li:first-child:before,
.arrowlist li ol > li:first-child:before {
	content: " (" counter(listitem) "\a0";
}

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.
Prefix: a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9

Portal di Ensiklopedia Dunia

Kembali kehalaman sebelumnya