Jump to content

Hovp-rsk-uwa01: Difference between revisions

From RiSKi
No edit summary
 
Line 19: Line 19:
  while at another place it is orange, the CSS rule with the !important will have
  while at another place it is orange, the CSS rule with the !important will have
  a higher priority over all other colour definitions.
  a higher priority over all other colour definitions.
These should be used sparingly as they can cause much confusion in large
projects.
*/

Latest revision as of 20:00, 7 October 2025

MediaWiki

Mediawiki:Common.css

/* Link color and glow */
a:link, a:visited {
  color: #0080d9 !IMPORTANT;
  text-decoration: none;
  transition: .35s;
}

a:hover, a:active {
  color: #ffffff !IMPORTANT;
  text-shadow: #ffffff 0 0 10px;
  text-decoration: none !IMPORTANT;
  transition: .35s;
}

/* The !IMPORTANT (or !important) part forces the rule to override all other
relevant rules. For example, at one place an object is defined in red colour,
while at another place it is orange, the CSS rule with the !important will have
a higher priority over all other colour definitions.

These should be used sparingly as they can cause much confusion in large 
projects.
*/