MediaWiki:Mobile.css: Difference between revisions

From Polyphasic Sleep Wiki
Created page with "Styling for citations. Breaks long urls, etc., rather than overflowing box: .citation { word-wrap: break-word; } Make the list of references smaller: Keep in sync with Template:Refbegin/styles.css: ol.references, div.reflist { font-size: 90%; Default font-size: margin-bottom: 0.5em; } div.reflist ol.references { font-size: 100%; Reset font-size when nested in div.reflist: margin-bottom: 0; /* Avoid double margi..."
Tags: Mobile edit Mobile web edit
 
No edit summary
Tags: Mobile edit Mobile web edit
 
Line 110: Line 110:
counter-reset: listitem;
counter-reset: listitem;
}
}
.hlist ol > li {
.hlist ol > li {
counter-increment: listitem;
counter-increment: listitem;
}
}
.hlist ol > li:before {
.hlist ol > li:before {
content: " " counter(listitem) "\a0";
content: " " counter(listitem) "\a0";
}
}
.hlist dd ol > li:first-child:before,
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
.hlist li ol > li:first-child:before {
content: " (" counter(listitem) "\a0";
content: " (" counter(listitem) "\a0";
}
}
Line 176: Line 176:
}
}
/* cell spacing for navboxMobile cells */
/* cell spacing for navboxMobile cells */
tr + tr > .navboxMobile-abovebelow,
tr + tr > .navboxMobile-abovebelow,
tr + tr > .navboxMobile-group,
tr + tr > .navboxMobile-group,
tr + tr > .navboxMobile-image,
tr + tr > .navboxMobile-image,
tr + tr > .navboxMobile-list {    /* Borders above 2nd, 3rd, etc. rows */
tr + tr > .navboxMobile-list {    /* Borders above 2nd, 3rd, etc. rows */
border-top: 2px solid #fdfdfd; /* Must match background color */
border-top: 2px solid #fdfdfd; /* Must match background color */
}
}
Line 979: Line 979:


/* Remove bullets when there are multiple edit page warnings */
/* Remove bullets when there are multiple edit page warnings */
ul.permissions-errors > li {
ul.permissions-errors > li {
list-style: none none;
list-style: none none;
}
}
Line 1,013: Line 1,013:
}
}


/* Make <math display="block"> be left aligned with one space indent for compatibility with style conventions */
/* Make <math display="block"> be left aligned with one space indent for compatibility with style conventions */
.mwe-math-fallback-image-display,
.mwe-math-fallback-image-display,
.mwe-math-mathml-display {
.mwe-math-mathml-display {
Line 1,030: Line 1,030:
}
}


/* Make it possible to hide checkboxes in &lt;inputbox&gt; */
/* Make it possible to hide checkboxes in <inputbox> */
.inputbox-hidecheckboxes form .inputbox-element,
.inputbox-hidecheckboxes form .inputbox-element,
.inputbox-hidecheckboxes .mw-ui-checkbox {
.inputbox-hidecheckboxes .mw-ui-checkbox {