mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-24 22:35:45 +00:00
refactor(core): remove unnessecary style overrides for links
* Visited link styles are removed from MW already, there are no need to use important to override those rules. * Citizen should not override text-decoration setting if users want to have underline links.
This commit is contained in:
parent
d5397d4ea4
commit
b39452d3b5
|
@ -50,12 +50,12 @@
|
|||
a {
|
||||
display: inline-block;
|
||||
padding: 7px 15px;
|
||||
color: var( --color-base--subtle ) !important; // Override
|
||||
color: var( --color-base--subtle );
|
||||
transition: @transition-background-quick;
|
||||
|
||||
&:hover {
|
||||
background-color: var( --color-primary--hover );
|
||||
color: @base-100 !important;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
&.new:hover {
|
||||
|
|
|
@ -134,7 +134,7 @@ td {
|
|||
|
||||
a {
|
||||
color: var( --color-link );
|
||||
text-decoration: none !important;
|
||||
text-decoration: none;
|
||||
|
||||
&:not( [ href ] ) {
|
||||
cursor: pointer;
|
||||
|
@ -150,14 +150,14 @@ a {
|
|||
}
|
||||
|
||||
&.new {
|
||||
color: var( --color-link-new ) !important; // Override visited
|
||||
color: var( --color-link-new ); // Override visited
|
||||
|
||||
&:hover {
|
||||
color: var( --color-link-new--hover ) !important;
|
||||
color: var( --color-link-new--hover );
|
||||
}
|
||||
|
||||
&:active {
|
||||
color: var( --color-link-new--active ) !important;
|
||||
color: var( --color-link-new--active );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue