Forráskód Böngészése

extend the exception to headings

Maggie 4 éve
szülő
commit
2ae8d6f995
2 módosított fájl, 12 hozzáadás és 0 törlés
  1. 6 0
      skatepark/assets/theme.css
  2. 6 0
      skatepark/sass/elements/_links.scss

+ 6 - 0
skatepark/assets/theme.css

@@ -137,6 +137,12 @@ a {
 	        text-decoration-line: none;
 }
 
+h1 a,
+h2 a,
+h3 a,
+h4 a,
+h5 a,
+h6 a,
 .wp-block-site-title a,
 .wp-block-post-title a {
 	text-underline-offset: 0.1ex;

+ 6 - 0
skatepark/sass/elements/_links.scss

@@ -21,6 +21,12 @@ a {
 }
 
 //Exceptions for the general underline rule
+h1 a,
+h2 a,
+h3 a,
+h4 a,
+h5 a,
+h6 a,
 .wp-block-site-title a,
 .wp-block-post-title a{
 	text-underline-offset: 0.1ex;