MediaWiki:Common.css: Difference between revisions

lighter violet subtle
formatting; .vw-main-subtitle
Line 92: Line 92:
}
}


.hatnote {
    font-style: italic;
    padding-left: 1.5em;
    margin-bottom: 0.5em;
}
.infobox {
    float: right;
    margin: 0 0 1em 1em;
}
@media (max-width: 600px) {
    .infobox {
        width: 100% !important;
        float: none !important;
        margin: 0 0 1em 0;
        box-sizing: border-box;
    }
    .infobox img {
        max-width: 100% !important;
        overflow: hidden;
    }
}
@media (min-width: 601px){
.infobox{
max-width: 300px !important;
}
}


/* Main Page */
.page-Main_Page .firstHeading {  
.page-Main_Page .firstHeading {  
display: none;  
display: none;  
Line 154: Line 128:
#feature-box h2 { border-bottom-color: var(--vw-gold); }
#feature-box h2 { border-bottom-color: var(--vw-gold); }


.vw-main-subtitle {
    margin-top: 0;
}
@media (min-width: 720px) {
    .vw-main-subtitle {
        margin-top: -0.5em;
    }
}
/* Templates */
.documentation .mw-editsection:not(.documentation-edit) {
.documentation .mw-editsection:not(.documentation-edit) {
     display: none;
     display: none;
Line 160: Line 144:
.poster-container {
.poster-container {
display:flex; flex-wrap:wrap; gap:0.4em;
display:flex; flex-wrap:wrap; gap:0.4em;
}
.hatnote {
    font-style: italic;
    padding-left: 1.5em;
    margin-bottom: 0.5em;
}
.infobox {
    float: right;
    margin: 0 0 1em 1em;
}
@media (max-width: 600px) {
    .infobox {
        width: 100% !important;
        float: none !important;
        margin: 0 0 1em 0;
        box-sizing: border-box;
    }
    .infobox img {
        max-width: 100% !important;
        overflow: hidden;
    }
}
@media (min-width: 601px){
.infobox{
max-width: 300px !important;
}
}
}