Jump to content

MediaWiki:Common.css: Difference between revisions

Created page with "CSS placed here will be applied to all skins: .character-infobox { float: right; margin: 0 0 1em 1em; border: 1px solid #aaa; background: #f8f8f8; padding: 0.5em; width: 250px; } @media (max-width: 600px) { .character-infobox { float: none; width: 100%; margin: 1em 0; } }"
 
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 */
.character-infobox {
body.page-Main_Page h1.firstHeading,
    float: right;
body.page-Main_Page #siteSub { display: none; }
    margin: 0 0 1em 1em;
    border: 1px solid #aaa;
    background: #f8f8f8;
    padding: 0.5em;
    width: 250px;
}
 
@media (max-width: 600px) {
    .character-infobox {
        float: none;
        width: 100%;
        margin: 1em 0;
    }
}