Template:Infobox styles.css: Difference between revisions
Add wikitable dark mode styles for tables inside document infobox (via update-page on MediaWiki MCP Server) |
Keep document buttons blue in dark mode for consistency (via update-page on MediaWiki MCP Server) |
||
| Line 196: | Line 196: | ||
} | } | ||
/* Document buttons stay blue in dark mode for consistency */ | |||
html.skin-theme-clientpref-night .document-button-primary { | html.skin-theme-clientpref-night .document-button-primary { | ||
background-color: # | background-color: #3b82f6; | ||
color: #ffffff !important; | color: #ffffff !important; | ||
border-color: # | border-color: #2563eb; | ||
} | } | ||
html.skin-theme-clientpref-night .document-button-secondary { | html.skin-theme-clientpref-night .document-button-secondary { | ||
background-color: # | background-color: #1e3a5f; | ||
color: # | color: #93c5fd !important; | ||
border-color: # | border-color: #3b82f6; | ||
} | } | ||
| Line 314: | Line 315: | ||
} | } | ||
/* Document buttons stay blue in dark mode */ | |||
html.skin-theme-clientpref-os .document-button-primary { | html.skin-theme-clientpref-os .document-button-primary { | ||
background-color: # | background-color: #3b82f6; | ||
color: #ffffff !important; | color: #ffffff !important; | ||
border-color: # | border-color: #2563eb; | ||
} | } | ||
html.skin-theme-clientpref-os .document-button-secondary { | html.skin-theme-clientpref-os .document-button-secondary { | ||
background-color: # | background-color: #1e3a5f; | ||
color: # | color: #93c5fd !important; | ||
border-color: # | border-color: #3b82f6; | ||
} | } | ||