MediaWiki:Common.css: Difference between revisions
From Drug Information
No edit summary |
No edit summary Tag: Reverted |
||
| Line 2: | Line 2: | ||
#footer-info-lastmod { | #footer-info-lastmod { | ||
display: none !important; | 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''' | |||
|} | |||
} | } | ||
Revision as of 01:49, 8 March 2026
/* 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'''
|}
}