Skip to content

Commit

Permalink
feat(site): Styling scroll-to-text fragments #238
Browse files Browse the repository at this point in the history
  • Loading branch information
ichim-david committed Sep 15, 2022
2 parents 96f9f75 + 8368cbe commit 1883fcf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions theme/themes/eea/globals/site.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,9 @@ h2, h3, h4, h5, h6 {
.homepage {
color: @tertiaryColor;
}

/* Add background and color for scroll-to-text fragments */
::target-text {
background: @lightLavender;
color: @black;
}
1 change: 1 addition & 0 deletions theme/themes/eea/globals/site.variables
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@
@lightBlue : #75C9DB;
@lightViolet : #BFC0FF;
@lightPurple : #DE99FF;
@lightLavender : #E8D2FD;
@lightPink : #FFBFF1;
@lightBrown : #D9C2AD;
@lightGrey : #E6E7E8;
Expand Down

0 comments on commit 1883fcf

Please sign in to comment.