From 696fbda43b3dacd0dde5f1215adde07723098a65 Mon Sep 17 00:00:00 2001 From: Eyal Gruss Date: Fri, 22 Nov 2024 23:16:50 +0200 Subject: [PATCH] fix safari link decoration inheritance --- resen/index.html | 2 +- resen/style.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/resen/index.html b/resen/index.html index 6609dae..8e5cf68 100644 --- a/resen/index.html +++ b/resen/index.html @@ -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'), 'קול קורא - קמעות')) diff --git a/resen/style.css b/resen/style.css index 552206d..f333761 100644 --- a/resen/style.css +++ b/resen/style.css @@ -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 { @@ -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 {