MediaWiki:Common.css: Difference between revisions

From view recent changes
Jump to navigation Jump to search
No edit summary
No edit summary
Line 19: Line 19:
}
}
.infobox-credit p, .infobox-links p {
.infobox-credit p, .infobox-links p {
margin: 0;
margin: 0.25em 0;
}
}
.infobox-image {
.infobox-image {

Revision as of 03:39, 13 July 2020

/* CSS placed here will be applied to all skins */
.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 200px;
}
.infobox-title {
    font-size: 1em;
    text-align: left;
font-weight: bold;
margin-bottom: 0;
}
p.infobox-subtitle {
margin-top: 0;
margin-bottom: 1em;
}
.infobox-credit p, .infobox-links p {
margin: 0.25em 0;
}
.infobox-image {
    text-align: center;
}
.infobox-links .link1 {
border-top: 1px solid #aaa;
padding: 1em 0 0 0;
margin-top: 1em;
}

/* Images should be responsive */
.res-img {
max-width:95%;
height:auto;
}