MediaWiki:Common.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* Note template styles - wiki-style info boxes */
.note {
border: 1px solid #ccc;
border-left-width: 6px;
background: #f9f9f9;
padding: 12px 16px;
margin: 1em 0;
border-radius: 4px;
box-shadow: 0 1px 2px rgb(0 0 0 / 0.1);
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
font-size: 14px;
line-height: 1.4;
}
.note-info {
border-left-color: #5bc0de; /* bright blue */
background: #d9edf7;
color: #31708f;
}
.note-error {
border-left-color: #d9534f; /* strong red */
background: #f2dede;
color: #a94442;
}
.note-warn {
border-left-color: #f0ad4e; /* orange */
background: #fcf8e3;
color: #8a6d3b;
}
.note-reminder {
border-left-color: #5cb85c; /* green */
background: #dff0d8;
color: #3c763d;
}
.note-inline {
display: inline-block;
padding: 2px 6px;
font-size: 90%;
vertical-align: middle;
margin: 0 0.3em;
border-radius: 3px;
border-left-width: 3px;
box-shadow: none;
}
.note-inline.note-info {
border-left-color: #5bc0de;
background: #e1f0fa;
color: #31708f;
}
.note-inline.note-error {
border-left-color: #d9534f;
background: #f8d7da;
color: #a94442;
}
.note-inline.note-warn {
border-left-color: #f0ad4e;
background: #faf1d6;
color: #8a6d3b;
}
.note-inline.note-reminder {
border-left-color: #5cb85c;
background: #d8e9d1;
color: #3c763d;
}