Jump to content

MediaWiki:Common.css: Difference between revisions

uh, not sure why I thought "//" was valid CSS comment syntax
(added some TODO comments and placed some more markup under the "to port" section)
(uh, not sure why I thought "//" was valid CSS comment syntax)
Line 4: Line 4:
/* The original markup on Wikipedia's Common.css page should be checked once in a while for updates to, or removal of, this markup */
/* The original markup on Wikipedia's Common.css page should be checked once in a while for updates to, or removal of, this markup */


// TODO: Localize checkerboard image
/* TODO: Localize checkerboard image */
@media screen {
@media screen {
/* Put a chequered background behind images, only visible if they have transparency,
/* Put a chequered background behind images, only visible if they have transparency,
Line 49: Line 49:
.client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child),
.client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child),


// TODO: Doesn't seem to work in hiding the "do it yourself" box on [[Developer Mode]]
/* TODO: Doesn't seem to work in hiding the "do it yourself" box on [[Developer Mode]] */
/* Avoid FOUC/reflows on collapsed elements. */
/* Avoid FOUC/reflows on collapsed elements. */
/* This copies MediaWiki's solution for T42812 to apply to innercollapse/outercollapse (T325115). */
/* This copies MediaWiki's solution for T42812 to apply to innercollapse/outercollapse (T325115). */
Line 83: Line 83:
}
}


// TODO: Correct/replace for use in Vector 2022
/* TODO: Correct/replace for use in Vector 2022 */
/* When <div class="nonumtoc"> is used on the table of contents,
/* When <div class="nonumtoc"> is used on the table of contents,
   the ToC will display without numbers */
   the ToC will display without numbers */
Line 99: Line 99:
}
}


// TODO: Correct/replace for use in Vector 2022
/* TODO: Correct/replace for use in Vector 2022 */
/* Allow limiting of which header levels are shown in a TOC;
/* Allow limiting of which header levels are shown in a TOC;
   <div class="toclimit-3">, for instance, will limit to
   <div class="toclimit-3">, for instance, will limit to
Line 126: Line 126:
/* CUSTOM ONI WIKI ADDITIONS */
/* CUSTOM ONI WIKI ADDITIONS */


// TODO: Restore to working order
/* TODO: Restore to working order */
/* Redesigned outbound arrow for external links */
/* Redesigned outbound arrow for external links */
div#content a.external
div#content a.external