MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(9 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 */
/* Infobox */
.infobox {
.infobox {
     background: #eee;
     background: #eee;
Line 14: Line 16:
.infobox-image {
.infobox-image {
     text-align: center;
     text-align: center;
    margin-bottom: 1.5em;
}
}
.infobox th {
.infobox th {
     text-align: right;
     text-align: left;
     vertical-align: top;
     padding-left: 30px;
     width: 120px;
     width: 120px;
}
}
.infobox td {
.thumbinner {
     vertical-align: top;
     min-width: 150px;
}
}
.transparent.thumbimage {
    background-color: transparent;
    border: 0;
}
/* Main article template */
.mw-parser-output div.hatnote {
    padding-left: 1.6em;
    margin-bottom: 0.5em;
}
.mw-parser-output .hatnote {
    font-style: italic;
}
/* Wikitable */
.wikitable td {
    text-align: center;
}
/* Disable image smoothing */
img {
    image-rendering: optimizeSpeed;            /*                    */
    image-rendering: -moz-crisp-edges;          /* Firefox            */
    image-rendering: -o-crisp-edges;            /* Opera              */
    image-rendering: -webkit-optimize-contrast; /* Chrome (and Safari) */
    image-rendering: pixelated;                /* Chrome as of 2019  */
    image-rendering: optimize-contrast;        /* CSS3 Proposed      */
    -ms-interpolation-mode: nearest-neighbor;  /* IE8+                */
}