টেমপ্লেট:Hlist/styles.css: সংশোধিত সংস্করণের মধ্যে পার্থক্য
অবয়ব
←Created page with '.mw-parser-output .hlist ul, .mw-parser-output .hlist ol { padding-left: 0; } →reset hlist margins of Minerva: .mw-parser-output .hlist li, .mw-parser-outpu...' |
conventions |
||
১ নং লাইন: | ১ নং লাইন: | ||
.hlist ul, | |||
.hlist ol { | |||
padding-left: 0; | padding-left: 0; | ||
} | } | ||
/* reset hlist margins of Minerva */ | /* reset hlist margins of Minerva */ | ||
.hlist li, | |||
.hlist dd, | |||
.hlist dt { | |||
margin-right: 0; | margin-right: 0; | ||
} | } | ||
.hlist li:after, | |||
.hlist dd:after { | |||
content: " · "; | content: " · "; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
.hlist dt:after { | |||
content: ": "; | content: ": "; | ||
} | } | ||
.hlist dd:last-child:after, | |||
.hlist dt:last-child:after, | |||
.hlist li:last-child:after { | |||
content: none; | content: none; | ||
} | } | ||
.hlist dd dd:first-child:before, | |||
.hlist dd dt:first-child:before, | |||
.hlist dd li:first-child:before, | |||
.hlist dt dd:first-child:before, | |||
.hlist dt dt:first-child:before, | |||
.hlist dt li:first-child:before, | |||
.hlist li dd:first-child:before, | |||
.hlist li dt:first-child:before, | |||
.hlist li li:first-child:before { | |||
content: " ("; | content: " ("; | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, | |||
.hlist dd li:last-child:after, | |||
.hlist dt dd:last-child:after, | |||
.hlist dt dt:last-child:after, | |||
.hlist dt li:last-child:after, | |||
.hlist li dd:last-child:after, | |||
.hlist li dt:last-child:after, | |||
.hlist li li:last-child:after { | |||
content: ") "; | content: ") "; | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
/* Put ordinals in front of ordered list items */ | /* Put ordinals in front of ordered list items */ | ||
.hlist ol { | |||
counter-reset: listitem; | counter-reset: listitem; | ||
} | } | ||
.hlist ol > li { | |||
counter-increment: listitem; | counter-increment: listitem; | ||
} | } | ||
.hlist ol > li:before { | |||
content: " " counter(listitem) " "; | content: " " counter(listitem) " "; | ||
white-space: nowrap; | white-space: nowrap; | ||
} | } | ||
.hlist dd ol > li:first-child:before, | |||
.hlist dt ol > li:first-child:before, | |||
.hlist li ol > li:first-child:before { | |||
content: " (" counter(listitem) " "; | content: " (" counter(listitem) " "; | ||
} | } |
০৬:১০, ১ অক্টোবর ২০২১ তারিখে সংশোধিত সংস্করণ
.hlist ul,
.hlist ol {
padding-left: 0;
}
/* reset hlist margins of Minerva */
.hlist li,
.hlist dd,
.hlist dt {
margin-right: 0;
}
.hlist li:after,
.hlist dd:after {
content: " · ";
font-weight: bold;
}
.hlist dt:after {
content: ": ";
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
content: none;
}
.hlist dd dd:first-child:before,
.hlist dd dt:first-child:before,
.hlist dd li:first-child:before,
.hlist dt dd:first-child:before,
.hlist dt dt:first-child:before,
.hlist dt li:first-child:before,
.hlist li dd:first-child:before,
.hlist li dt:first-child:before,
.hlist li li:first-child:before {
content: " (";
font-weight: normal;
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after,
.hlist dd li:last-child:after,
.hlist dt dd:last-child:after,
.hlist dt dt:last-child:after,
.hlist dt li:last-child:after,
.hlist li dd:last-child:after,
.hlist li dt:last-child:after,
.hlist li li:last-child:after {
content: ") ";
font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.hlist ol {
counter-reset: listitem;
}
.hlist ol > li {
counter-increment: listitem;
}
.hlist ol > li:before {
content: " " counter(listitem) " ";
white-space: nowrap;
}
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
content: " (" counter(listitem) " ";
}