Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
feat: set anchor tags' color
Browse files Browse the repository at this point in the history
  • Loading branch information
adil192 committed Jan 28, 2024
1 parent 63dbd96 commit d7a825d
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
17 changes: 17 additions & 0 deletions main.css
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,23 @@
nav.term-navigator {
display: none !important;
}
a,
button.anchor,
.button-anchor,
.select-wrapper button.button-anchor {
color: #4f2f62;
text-decoration: underline;
transition: color 0.1s ease-out;
}
a:hover, a:focus,
button.anchor:hover,
button.anchor:focus,
.button-anchor:hover,
.button-anchor:focus,
.select-wrapper button.button-anchor:hover,
.select-wrapper button.button-anchor:focus {
color: #8142a6;
}
/* navbar */
#side-menu {
background: #1d1b1e !important;
Expand Down
14 changes: 14 additions & 0 deletions styles/_online.manchester.ac.uk_ultra.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@use "sass:color";
@import "globals";

/* set better fonts */
Expand All @@ -24,6 +25,19 @@ nav.term-navigator {
display: none !important;
}

a,
button.anchor,
.button-anchor,
.select-wrapper button.button-anchor {
color: color.mix($primary, $on-surface, 50%);
text-decoration: underline;
transition: color 0.1s ease-out;

&:hover, &:focus {
color: $primary;
}
}

/* navbar */
#side-menu {
background: $header !important;
Expand Down

0 comments on commit d7a825d

Please sign in to comment.