Jump to content

MediaWiki:Common.css: Difference between revisions

no edit summary
(Created page with "→‎Default styling for HTML elements: dfn { font-style: inherit; →‎Reset default styling for <dfn>: } →‎Main page fixes: #interwiki-completelist { font-weigh...")
 
No edit summary
Line 2: Line 2:
dfn {
dfn {
     font-style: inherit;  /* Reset default styling for <dfn> */
     font-style: inherit;  /* Reset default styling for <dfn> */
}
q:before,
q:after {
    content: '"';  /* Consistent quote marks for <q> */
}
}


Line 83: Line 87:
}
}


/* Avoid list items from breaking between columns */
/* Avoid elements from breaking between columns */
.nocolbreak,
div.columns li,
div.columns li,
div.columns dd dd {
div.columns dd dd {
Line 860: Line 865:
div.mw-lag-warn-high,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon {
div#mw-protect-cascadeon,
div.titleblacklist-warning {
     clear: both;
     clear: both;
     margin: 0.2em 0;
     margin: 0.2em 0;
Line 932: Line 938:
     line-height: 1.5em;
     line-height: 1.5em;
     list-style-type: square;
     list-style-type: square;
     list-style-image: url(//bits.wikimedia.org/skins/common/images/bullet.gif);
     list-style-image: url(//bits.wikimedia.org/static-current/skins/common/images/bullet.gif);
}
}
.skin-vector .compact-ambox table .mbox-text-span {
.skin-vector .compact-ambox table .mbox-text-span {
     list-style-type: circle;
     list-style-type: circle;
     list-style-image: url(//bits.wikimedia.org/skins/vector/images/bullet-icon.png)
     list-style-image: url(//bits.wikimedia.org/static-current/skins/Vector/images/bullet-icon.png)
}
}
/* Allow for hiding text in compact form */
/* Allow for hiding text in compact form */
Line 1,173: Line 1,179:
   '.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */
   '.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */
.gallerybox .thumb img {
.gallerybox .thumb img {
     background: #fff url(//bits.wikimedia.org/skins/common/images/Checker-16x16.png) repeat;
     background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
}
}
/* But not on articles, user pages, portals or with opt-out. */
/* But not on articles, user pages, portals or with opt-out. */
Line 1,273: Line 1,279:
     font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
     font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
     font-size: 118%;
     font-size: 118%;
    line-height: 1.35em;
}
}
span.texhtml {
span.texhtml {
Line 1,404: Line 1,411:
.k-player .k-attribution {
.k-player .k-attribution {
     visibility: hidden;
     visibility: hidden;
}
/* workaround to keep editnotices readable in VE view.
Long term, editnotices should become a core feature so that they can be designed responsive. */
.mw-ve-editNotice .mbox-image {
display: none;
}
}