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
Created page with "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: }"
 
No edit summary
Line 9: Line 9:
#mw-panel:hover {
#mw-panel:hover {
     width: 180px; /* Expand on 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;
}
}

Revision as of 15:44, 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;
}