Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Commit

Permalink
Update dictionary image link color (#1778)
Browse files Browse the repository at this point in the history
  • Loading branch information
toasted-nutbread authored Jun 29, 2021
1 parent 1f1a958 commit deb2a74
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
6 changes: 6 additions & 0 deletions dev/data/structured-content-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
.gloss-image-link[data-background=true]>.gloss-image-container {
/* remove-property background-color */
}
.gloss-image-link {
color: inherit;
}
.gloss-image-link:hover {
/* remove-rule */
}
.gloss-image-container-overlay {
font-size: initial;
line-height: initial;
Expand Down
5 changes: 4 additions & 1 deletion ext/css/structured-content.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,15 @@
}
.gloss-image-link {
cursor: inherit;
color: inherit;
color: var(--accent-color);
display: inline-block;
position: relative;
line-height: 1;
max-width: 100%;
}
.gloss-image-link:hover {
color: var(--accent-color-dark);
}
.gloss-image-link[href]:hover {
cursor: pointer;
}
Expand Down
4 changes: 2 additions & 2 deletions ext/data/structured-content-style.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"selectors": [".gloss-image-link"],
"styles": [
["cursor", "inherit"],
["color", "inherit"],
["display", "inline-block"],
["position", "relative"],
["line-height", "1"],
["max-width", "100%"]
["max-width", "100%"],
["color", "inherit"]
]
},
{
Expand Down

0 comments on commit deb2a74

Please sign in to comment.