MediaWiki:Common.css
From Drug Information
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 */
#footer-info-lastmod {
display: none !important;
}
.force-light-mode {
color-scheme: light !important;
filter: none !important;
background-color: white !important;
}
.force-light-mode * {
color-scheme: light !important;
filter: none !important;
}
.fixed-light-colors {
background-color: white !important;
}
@media (prefers-color-scheme: dark) {
{| class="wikitable" style="margin: 0 auto; width: 400px; text-align: center;"
|-
| class="dm-threshold" style="background-color: #E0FFE0; color: black;" | 20-50mg<br>'''Threshold'''
|-
| class="dm-light" style="background-color: #28A745; color: white;" | 50-100mg<br>'''Light'''
|-
| class="dm-common" style="background-color: #FFC107; color: black;" | 100-150mg<br>'''Common'''
|-
| class="dm-strong" style="background-color: #FD7E14; color: white;" | 150-200mg<br>'''Strong'''
|-
| class="dm-heavy" style="background-color: #DC3545; color: white;" | 200mg+<br>'''Heavy'''
|}
}