Search results
Results from the WOW.Com Content Network
A light-on-dark color scheme (dark mode, night mode) is available to Wikipedia's smartphone apps and website (for users using the default skins) since July 2024.. In addition to this there is a gadget on English Wikipedia, and various volunteer-written CSS files that allow customization for logged-in users.
To use a colour in a template or table you can use the hex triplet (e.g. #CD7F32 is bronze) or HTML color name (e.g. red).. Editors are encouraged to make use of tools, such as Color Brewer 2 to create Brewer palettes, listed at MOS:COLOR for color scheme selection used in graphical charts, maps, tables, and webpages with accessibility in mind for color-blind and visually impaired users.
For lines of CSS which should be different on different MediaWiki projects, e.g. for a different background color for easy distinction, clearly the local CSS cannot be used; at least these lines should be put in the user subpages. Some computers, e.g. in internet cafes, mobile devices/tablets, do not allow users to set preferences for the browser.
content – the white background, thin bordered box which contains the main page content. bodyContent – the main page content within the content box; The portlet class is the style used by all the div blocks around the main content. Identified blocks using that class:
For text against a white background, the following CSS colors do not meet the minimum contrast ratio (4.5:1) specified by Web Content Accessibility Guidelines (WCAG) 2.0 Level AA. Contrast [ d ] Color sample
The dark mode gadget applies an invert filter to the root HTML node, and with this setting the background to black, it results in the white overflow area. I think the background: #000 should actually be background: #fff. I've applied this change in my vector.css override and the white overflow area returned to black as expected.
Test contrast of link color with background color and text color: WebAIM: Link Contrast Checker. Substitute various background colors for the default white Vector background (#FFFFFF): Unvisited Vector link color, white background color, and Vector text color. Visited Vector link color, white background color, and Vector text color.
If the background colors are to be moved to the skin css files, that's fine with me - but it seems this should be done before deleting the color here. There are also a fair number of skins in addition to monobook, so there should perhaps be a default color here as well.