Jump to content

MediaWiki:Common.css: Difference between revisions

From CCDirectLink
No edit summary
m Disable word wrapping in table header elements of infoboxes
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


img {
img.block-img {
  max-width: 100%;
    display: inline-block;
    max-width: 100%;
    height: auto;
}
 
table.infobox-table {
    float: right;
    clear: right;
    margin-top: 0;
    margin: 0.5em 0 0.5em 1em;
}
}


img.block-img {
table.infobox-table th {
  display: block;
    white-space: nowrap;
  max-width: 100%;
  height: auto;
}
}

Latest revision as of 20:51, 14 August 2020

/* CSS placed here will be applied to all skins */

img.block-img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

table.infobox-table {
    float: right;
    clear: right;
    margin-top: 0;
    margin: 0.5em 0 0.5em 1em;
}

table.infobox-table th {
    white-space: nowrap;
}