-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added teal for hover and active state * added color for active state * fixed error * Remove visited link style All links in a documentation will be visited very soon. The value of coloring them different (especially the same as the hover style) is therefore questionable. * Reduce colors for link style The theme is already using quite a few colors. In an attempt to consolidate all these colors and reduce the number of used colors, the teal on hover is now replaced with the underline/border color (green). On hover and active, line and text are now of the same color. This feels a bit cleaner to me. * Use underline style insread of border The border was too far way and is influenced by the padding. This is not really what we wanted. * Remove underline from logo link * Add underline to first level main toc links again * Close underline gap in pager links * Remove underline from source buttons * Remove underline from footer links Co-authored-by: PaarthAgarwal <[email protected]>
- Loading branch information
1 parent
33bf537
commit e134d19
Showing
7 changed files
with
29 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
footer { | ||
a { | ||
border: none; | ||
text-decoration: none; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
a { | ||
border-bottom: 2px solid; | ||
color: $link-color; | ||
border-color: $link-border-color; | ||
color: $link-color; | ||
text-decoration: 2px solid underline; | ||
text-decoration-color: $link-border-color; | ||
text-underline-offset: 3px; | ||
|
||
&:hover { | ||
color: $link-hover-color; | ||
border-color: $link-border-hover-color; | ||
text-decoration: none; | ||
} | ||
&:focus, | ||
&:hover { | ||
color: $link-hover-color; | ||
// This is necessary because of some weird `hover` mixin in bootstrap. | ||
text-decoration: 2px solid underline; | ||
} | ||
|
||
&:visited { | ||
color: $link-hover-color; | ||
} | ||
&:active { | ||
color: $link-active-color; | ||
text-decoration: 2px solid underline; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters