Gamepedia Help Wiki
m (interwiki)
 
(One intermediate revision by one other user not shown)
Line 24: Line 24:
 
[[Category:Advanced help]]
 
[[Category:Advanced help]]
   
  +
[[cs:Změna barev v dynamických notifikacích]]
 
[[fr:Changer la couleur des notifications dynamiques]]
 
[[fr:Changer la couleur des notifications dynamiques]]
  +
[[tr:Dinamik bildirimlerde renkleri değiştirme]]

Latest revision as of 10:27, 26 November 2020

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

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

Page save

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