Jump to content

MediaWiki:Common.css: Difference between revisions

From Pyrrwiki
Created page with "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: 400px; } .infobox-title { font-size: 2em; text-align: center; } .infobox-image { text-align: center; } .infobox-table th { text-align: right; vertical-align: top; width: 120px; } .infobox-table td { vertical-align: top; }"
 
No edit summary
Line 6: Line 6:
     float: right;
     float: right;
     margin: 0 0 1em 1em;
     margin: 0 0 1em 1em;
     padding: 1em;
     padding: 0.25em;
     width: 400px;
     width: 300px;
}
}
.infobox-title {
.infobox-title {
     font-size: 2em;
     font-size: 1.5rem;
    text-align: center;
}
.infobox-subtitle {
    font-size: 1.15rem;
     text-align: center;
     text-align: center;
}
}

Revision as of 15:34, 29 June 2025

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

.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 0.25em;
    width: 300px;
}
.infobox-title {
    font-size: 1.5rem;
    text-align: center;
}
.infobox-subtitle {
    font-size: 1.15rem;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox-table th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}
.infobox-table td {
    vertical-align: top;
}