MediaWiki:Minerva.css: Difference between revisions

From WikiLegend
Jump to navigation Jump to search
Created page with "All CSS here will be loaded for users of the MinervaNeue skin: .skin-minerva .mw-wiki-logo { background-image: url('/images/phonr.png') !important; background-size: contain; background-repeat: no-repeat; background-position: center; width: 120px; adjust width: height: 40px; adjust height: text-indent: -9999px; hide default text: }"
 
No edit summary
Line 2: Line 2:


.skin-minerva .mw-wiki-logo {
.skin-minerva .mw-wiki-logo {
    background: none !important;
    width: 120px !important;
    height: 40px !important;
    position: relative;
    text-indent: -9999px !important; /* hide text */
}
/* Placeholder for new logo */
.skin-minerva .mw-wiki-logo:before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
     background-image: url('/images/phonr.png') !important;
     background-image: url('/images/phonr.png') !important;
     background-size: contain;
     background-size: contain !important;
     background-repeat: no-repeat;
     background-repeat: no-repeat !important;
     background-position: center;
     background-position: center !important;
     width: 120px; /* adjust width */
     display: block;
    height: 40px;  /* adjust height */
    text-indent: -9999px; /* hide default text */
}
}

Revision as of 14:39, 4 June 2025

/* All CSS here will be loaded for users of the MinervaNeue skin */

.skin-minerva .mw-wiki-logo {
    background: none !important;
    width: 120px !important;
    height: 40px !important;
    position: relative;
    text-indent: -9999px !important; /* hide text */
}

/* Placeholder for new logo */
.skin-minerva .mw-wiki-logo:before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('/images/phonr.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    display: block;
}