Search results
Results From The WOW.Com Content Network
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.
The {{colored link}} template takes two parameters to function: the color of the link, the article being linked to, with an optional third parameter for alternative text to display as a piped link. {{colored link|orange|Canada}} → Canada {{colored link|#00F000|Page name to link|Alternative text}} → Alternative text; Or
Either of those lines changes the color for all either visited or unvisited links. For example, when I use the second line, with the color changed to a purple, it changes all visited links including redirects (which used to be orange), red links (which used to be dark red), and links to disambiguation pages (which used to be olive) to purple.
Avoid using colored links as it may hinder the reader's ability to distinguish links from regular text, or coloring links solely for aesthetic purposes. See the Manual of Style accessibility guideline sections on contrast and color .
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.
Color may be used to convey information, to make things stand out, or to make things aesthetically pleasing. Wikipedia allows the use of color through HTML and CSS (See our standards regarding HTML). We believe that: Colors must be used carefully; Things conveyed with colors must also be conveyed by other means
Links in prose should never be manually colored. ( MOS:LINKCOLOR ) When using this template, make sure you only use it on a colored background to avoid issues with dark mode.
The primary reason is that MediaWiki:Mobile.css loads after, rather than before, the rest of a specific page. Accordingly, adding styles to it can cause FOUCs ("jumpy pages while loading"), which are generally bad for both user experience, and these days, search engine optimization (you don't really need to care about the second one if you don't want to).