14 Custom List Styles
1. Two-column List
Used in Elementary Arabic I
Custom Styles
.column-list {
column-count: 2;
}
.column-list li:not(last-child) {
margin-bottom: 1em;
}
In-Text
<ol class=”column-list”>
<li>**LIST CONTENT**</li>
</ol>
<li>**LIST CONTENT**</li>
</ol>
Example
- Lorem
- Lorem
- Lorem
- Lorem
- Lorem
- Lorem
2. Custom Numbered Lists (With Non-Arabic Numbers/Non-English Alphabet)
Used in Intermediate Persian
Custom Styles
/* list markers in persian alphabet */
@counter-style persian {
@counter-style persian {
symbols: الف ب پ ت ث جیم چ ح خ دال ذال ر ز ژ سین شین صاد ضاد طا ظا عین غین ف قاف کاف گاف لام میم نون واو ه ی;
}
.persian {
list-style: persian;
}
/* list markers in persian numbers up to 15 */
@counter-style persian-numbers {
symbols: ۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹ ۱۰ ۱۱ ۱۲ ۱۳ ۱۴ ۱۵;
}
.persian-numbers {
list-style: persian-numbers;
}
In-Text
<ol lang=”fa” class=”persian-numbers” dir=”rtl”>
<li>LIST ITEM</li></ol>
<li>LIST ITEM</li></ol>
Example
Persian Numerals
- lorem
- lorem
- lorem
- lorem
Persian Alphabet
- lorem
- lorem
- lorem
- lorem
3. Horizontal List
Used in Basic Tibetan
Custom Styles
.horiz-list {
counter-reset: counter;
}
.horiz-list li {
display:inline-block;
margin-right: 20px;
margin-right: 20px;
}
.horiz-list li:before {
content: counter(counter) ” “. “;
counter-increment: counter;
counter-increment: counter;
}
In-Text
<ol class=”horiz-list”>
<li>LIST ITEM</li>
</ol>
<li>LIST ITEM</li>
</ol>
Example
- lorem
- lorem
- lorem
- lorem