MediaWiki:Mobile.css: Difference between revisions

no edit summary
No edit summary
No edit summary
Tag: Reverted
Line 137: Line 137:
*/
*/
/* Counter hlist indenting of Minerva*/
/* Counter hlist indenting of Minerva*/
.mw-parser-output .hlist ul,
/*.mw-parser-output .hlist ul,*/
.mw-parser-output .hlist ol {
/*.mw-parser-output .hlist ol {*/
padding-left: 0;
/* padding-left: 0;*/
}
/*}*/
/* reset hlist margins of Minerva
/* reset hlist margins of Minerva
do not add li here (see T235416) */
do not add li here (see T235416) */
.mw-parser-output .hlist dd,
/*.mw-parser-output .hlist dd,*/
.mw-parser-output .hlist dt {
/*.mw-parser-output .hlist dt {*/
margin-right: 0;
/* margin-right: 0;*/
}
/*}*/
/* do not add li here. Minerva provides it already*/
/* do not add li here. Minerva provides it already*/
.mw-parser-output .hlist dd:after {
/*.mw-parser-output .hlist dd:after {*/
content: " · ";
/* content: " · ";*/
font-weight: bold;
/* font-weight: bold;*/
}
/*}*/
.mw-parser-output .hlist dt:after {
/*.mw-parser-output .hlist dt:after {*/
content: ": ";
/* content: ": ";*/
}
/*}*/


/* Should be removed and moved to templates once TemplateStyles is live */
/* Should be removed and moved to templates once TemplateStyles is live */
.heading-holder .hlist li:after,
/*.heading-holder .hlist li:after,*/
.mw-parser-output .hlist dd:last-child:after,
/*.mw-parser-output .hlist dd:last-child:after,*/
.mw-parser-output .hlist dt:last-child:after,
/*.mw-parser-output .hlist dt:last-child:after,*/
.mw-parser-output .hlist li:last-child:after {
/*.mw-parser-output .hlist li:last-child:after {*/
content: none;
/* content: none;*/
}
/*}*/
/* Add parentheses around nested lists */
/* Add parentheses around nested lists */
/* Should be removed and moved to templates once TemplateStyles is live */
/* Should be removed and moved to templates once TemplateStyles is live */
.mw-parser-output .hlist dd dd:first-child:before,
/*.mw-parser-output .hlist dd dd:first-child:before,*/
.mw-parser-output .hlist dd dt:first-child:before,
/*.mw-parser-output .hlist dd dt:first-child:before,*/
.mw-parser-output .hlist dd li:first-child:before,
/*.mw-parser-output .hlist dd li:first-child:before,*/
.mw-parser-output .hlist dt dd:first-child:before,
/*.mw-parser-output .hlist dt dd:first-child:before,*/
.mw-parser-output .hlist dt dt:first-child:before,
/*.mw-parser-output .hlist dt dt:first-child:before,*/
.mw-parser-output .hlist dt li:first-child:before,
/*.mw-parser-output .hlist dt li:first-child:before,*/
.mw-parser-output .hlist li dd:first-child:before,
/*.mw-parser-output .hlist li dd:first-child:before,*/
.mw-parser-output .hlist li dt:first-child:before,
/*.mw-parser-output .hlist li dt:first-child:before,*/
.mw-parser-output .hlist li li:first-child:before {
/*.mw-parser-output .hlist li li:first-child:before {*/
content: " (";
/* content: " (";*/
font-weight: normal;
/* font-weight: normal;*/
}
/*}*/
/* Should be removed and moved to templates once TemplateStyles is live */
/* Should be removed and moved to templates once TemplateStyles is live */
.mw-parser-output .hlist dd dd:last-child:after,
/*.mw-parser-output .hlist dd dd:last-child:after,*/
.mw-parser-output .hlist dd dt:last-child:after,
/*.mw-parser-output .hlist dd dt:last-child:after,*/
.mw-parser-output .hlist dd li:last-child:after,
/*.mw-parser-output .hlist dd li:last-child:after,*/
.mw-parser-output .hlist dt dd:last-child:after,
/*.mw-parser-output .hlist dt dd:last-child:after,*/
.mw-parser-output .hlist dt dt:last-child:after,
/*.mw-parser-output .hlist dt dt:last-child:after,*/
.mw-parser-output .hlist dt li:last-child:after,
/*.mw-parser-output .hlist dt li:last-child:after,*/
.mw-parser-output .hlist li dd:last-child:after,
/*.mw-parser-output .hlist li dd:last-child:after,*/
.mw-parser-output .hlist li dt:last-child:after,
/*.mw-parser-output .hlist li dt:last-child:after,*/
.mw-parser-output .hlist li li:last-child:after {
/*.mw-parser-output .hlist li li:last-child:after {*/
content: ") " !important; /* Override hlist-separated being dumb */
/* content: ") " !important; /* Override hlist-separated being dumb */
font-weight: normal;
/* font-weight: normal;*/
padding-left: 0;
/* padding-left: 0;*/
}
/*}*/


/* Put ordinals in front of ordered list items */
/* Put ordinals in front of ordered list items */
/* Should be removed and moved to templates once TemplateStyles is live */
/* Should be removed and moved to templates once TemplateStyles is live */
.mw-parser-output .hlist ol {
/*.mw-parser-output .hlist ol {*/
counter-reset: listitem;
/* counter-reset: listitem;*/
}
/*}*/


/* Should be removed and moved to templates once TemplateStyles is live */
/* Should be removed and moved to templates once TemplateStyles is live */
.mw-parser-output .hlist ol > li {
/*.mw-parser-output .hlist ol > li {*/
counter-increment: listitem;
/* counter-increment: listitem;*/
}
/*}*/


/* Should be removed and moved to templates once TemplateStyles is live */
/* Should be removed and moved to templates once TemplateStyles is live */
.mw-parser-output .hlist ol > li:before {
/*.mw-parser-output .hlist ol > li:before {*/
content: " " counter(listitem) " ";
/* content: " " counter(listitem) " ";*/
white-space: nowrap;
/* white-space: nowrap;*/
}
/*}*/


/* Should be removed and moved to templates once TemplateStyles is live */
/* Should be removed and moved to templates once TemplateStyles is live */
.mw-parser-output .hlist dd ol > li:first-child:before,
/*.mw-parser-output .hlist dd ol > li:first-child:before,*/
.mw-parser-output .hlist dt ol > li:first-child:before,
/*.mw-parser-output .hlist dt ol > li:first-child:before,*/
.mw-parser-output .hlist li ol > li:first-child:before {
/*.mw-parser-output .hlist li ol > li:first-child:before {*/
content: " (" counter(listitem) " ";
/* content: " (" counter(listitem) " ";*/
}
/*}*/


/* https://phabricator.wikimedia.org/T180396#5317728 */
/* https://phabricator.wikimedia.org/T180396#5317728 */