mirror of
https://github.com/ItsDrike/itsdrike.com.git
synced 2024-11-10 05:59:41 +00:00
Add no-color-change anchor style
This commit is contained in:
parent
34927a8d00
commit
8390da28bc
|
@ -14,23 +14,6 @@ html, body {
|
|||
color: $body-color;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $primary;
|
||||
|
||||
&:hover {
|
||||
transition: color 0.5s;
|
||||
color: $body-color;
|
||||
}
|
||||
|
||||
&.colour-invert {
|
||||
color: $body-color;
|
||||
|
||||
&:hover {
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.navbar {
|
||||
background-color: $black;
|
||||
padding-top: 0;
|
||||
|
@ -94,3 +77,27 @@ footer {
|
|||
// screen height - top padding - navbar height - footer margin
|
||||
min-height: calc(100vh - #{$spacer * 5} - #{$navbar-height} - #{$spacer * 3});
|
||||
}
|
||||
|
||||
a {
|
||||
color: $primary;
|
||||
|
||||
&:hover {
|
||||
transition: color 0.5s;
|
||||
color: $body-color;
|
||||
}
|
||||
|
||||
&.colour-invert {
|
||||
color: $body-color;
|
||||
|
||||
&:hover {
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
a.no-color-change {
|
||||
&, &:hover {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue