MediaWiki:Common.css: Difference between revisions
Acmeraptor (talk | contribs) No edit summary |
Acmeraptor (talk | contribs) No edit summary |
||
| (19 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* Link glow */ | |||
/* Link color and glow */ | |||
a:link, a:visited { | a:link, a:visited { | ||
color: # | color: #0080d9 !IMPORTANT; | ||
text-decoration:none; | text-decoration: none; | ||
transition: .35s; | transition: .35s; | ||
} | } | ||
a:hover, a:active { | a:hover, a:active { | ||
color: # | color: #ffffff !IMPORTANT; | ||
text-shadow: #ffffff 0 0 10px; | |||
text-shadow: # | text-decoration: none !IMPORTANT; | ||
text-decoration:none; | |||
transition: .35s; | 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. | |||
*/ | |||