Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 18: Line 18:
/* Set background image */
/* Set background image */
body {
body {
     background-image: url('/images/custom-background.png');
     /*background-image: url('/images/custom-background.png');*/
     background-size: cover;
     background-size: cover;
     background-attachment: fixed;
     background-attachment: fixed;
}
}

Revision as of 15:45, 19 February 2025

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

#mw-panel {
    width: 10px;  /* Shrinks sidebar */
    overflow: hidden;
    transition: width 0.3s ease-in-out;
}

#mw-panel:hover {
    width: 180px; /* Expand on hover */
}

/* Change background color */
body {
    background-color: rgb(55, 56, 62) !important;
}

/* Set background image */
body {
    /*background-image: url('/images/custom-background.png');*/
    background-size: cover;
    background-attachment: fixed;
}