MediaWiki:Common.css: Difference between revisions

An idea by Jeff Lawlor
Created on 2024-10-08
No edit summary
No edit summary
Line 84: Line 84:
body[class*=' ns-special '] .hide-when-not-idea {
body[class*=' ns-special '] .hide-when-not-idea {
display: none;
display: none;
}
/* Printer touch-ups */
@media print {
    .firstHeading::before {
    display: none;
    }
   
    .vector-page-titlebar, .skin-minerva .page-heading {
    border: 0;
    background: none;
    }
   
    header .share-container, .header-button {
    display: none;
    }
   
    .page-quick-details {
    float: right;
    }
   
    .infobox-tab.active {
    background-color: #CCCCCC;
    }
   
    .infobox-tab {
    background-color: #DDDDDD;
    }
   
}
}


Line 492: Line 463:
   --is-border-color: #ccc;
   --is-border-color: #ccc;
}
}
/* Printer touch-ups */
@media print {
    .firstHeading::before {
    display: none;
    }
   
    .vector-page-titlebar, .skin-minerva .page-heading {
    border: 0;
    background: none;
    }
   
    header .share-container, .header-button {
    display: none;
    }
   
    .page-quick-details {
    float: right;
    }
   
    .infobox-tab.active {
    background-color: #CCCCCC;
    }
   
    .infobox-tab {
    background-color: #DDDDDD;
    }
   
    .mw-content-ltr figure[typeof~='mw:File/Thumb'], .mw-content-ltr figure[typeof~='mw:File/Frame'] {
    margin: 1em .5em;
    float: right;
    clear: right;
    }
}


/* Light/dark mode  
/* Light/dark mode