Skip to content

Commit

Permalink
fix safari link decoration inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
eyaler committed Nov 22, 2024
1 parent 8e63bea commit 696fbda
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion resen/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
const p = document.createElement('p')
let span = document.createElement('span')
//span.appendChild(make_link('https://www.facebook.com/events/1191766252206270', 'אירוע השקה 30/4'))
span.appendChild(make_link('https://www.facebook.com/events/877820824504694', 'אירוע השקה לגיליון קמעות 21/11'))
//span.appendChild(make_link('https://www.facebook.com/events/877820824504694', 'אירוע השקה לגיליון קמעות 21/11'))
p.appendChild(span)
span = document.createElement('span')
//span.appendChild(make_link(page2url('open-call-kmeot'), 'קול קורא - קמעות'))
Expand Down
4 changes: 4 additions & 0 deletions resen/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,8 @@ h4:not(article *) {
.harden {
display: inline-block;
text-decoration: inherit;
text-decoration-color: inherit; /* For Safari */
text-decoration-style: inherit; /* For Safari */
}

header {
Expand Down Expand Up @@ -791,6 +793,8 @@ nav a:not(.trans)::before {

nav .back > span {
text-decoration: inherit;
text-decoration-color: inherit; /* For Safari */
text-decoration-style: inherit; /* For Safari */
}

nav .back::before {
Expand Down

0 comments on commit 696fbda

Please sign in to comment.