Skip to content

Commit

Permalink
Update Underline Css style and hover screenshot (#174)
Browse files Browse the repository at this point in the history
* Update Underline Css style

* use ::after instead of underline decoration

* Update link.css

* update hover screenshot
  • Loading branch information
hueitan authored Jul 26, 2023
1 parent 1708161 commit ea70c31
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
Binary file modified screenshot-hover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 12 additions & 3 deletions style/link.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
.wmf-wp-with-preview {
font-weight: 700;
text-decoration: underline dashed;
text-decoration-thickness: 2px;
position: relative;
font-weight: 400;
color: inherit;
cursor: pointer;
}

.wmf-wp-with-preview::after {
content: '';
position: absolute;
left: 0;
bottom: -4px;
width: 100%;
opacity: 0.5;
border-bottom: 2px dashed;
}

0 comments on commit ea70c31

Please sign in to comment.