소스 검색

extend the exception to headings

Maggie 4 년 전
부모
커밋
2ae8d6f995
2개의 변경된 파일12개의 추가작업 그리고 0개의 파일을 삭제
  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;