Hi Gamepedia users and contributors! Please complete this survey to help us learn how to better meet your needs in the future. We have one for editors and readers. This should only take about 7 minutes!

Changing colors in dynamic notifications

From Gamepedia Help Wiki
Jump to: navigation, search

It may not be obvious how to style certain dynamic notifications displayed briefly via JavaScript. You can use the following code snippets to style some of these (colors in these snippets are merely examples).

Add/remove from Watchlist[edit | edit source]

/* Watchlist notifications */
.mw-notification {
    background-color: #fff !important;
    border: 1px solid red !important;
    color: black !important;
}

Page save[edit | edit source]

/* Page save notifications */
.postedit-container .postedit {
    background: #fff !important;
    border: 1px solid red !important;
    color: black !important;
}