MediaWiki:Common.css: Difference between revisions

From Skipper & Skeeto
Jump to navigation Jump to search
Adjust infobox a bit
No edit summary
 
(One intermediate revision by the same user not shown)
Line 26: Line 26:
.infobox td {
.infobox td {
     vertical-align: top;
     vertical-align: top;
}
td ul.gallery {
    margin: 0;
}
}

Latest revision as of 22:28, 16 January 2023

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

/* Hide Main Page head title */
body.page-Main_Page h1.firstHeading { display:none; }

/* Infobox */
.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    max-width: 250px;
}
.infobox-title {
    font-size: 1.5em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox th {
    text-align: right;
    vertical-align: top;
}
.infobox td {
    vertical-align: top;
}

td ul.gallery {
    margin: 0;
}