Browse Source

#6085: Zoologist: Add underline to links (#6382)

* #6085: Zoologist: Add underline to links

* #6085: Geologist: Fix text decoration on links (also in generated themes)

* #6085: Quadrat (and variations): Fix link text decoration
Bob Matyas 2 years ago
parent
commit
4739f645c1

+ 2 - 2
geologist-blue/assets/theme.css

@@ -158,11 +158,11 @@ ul ul {
   color: var(--wp--preset--color--background);
 }
 
-.wp-block-post-content p a {
+.wp-block-post-content a {
   -webkit-text-decoration-line: underline;
           text-decoration-line: underline;
 }
-.wp-block-post-content p a:hover {
+.wp-block-post-content a:hover {
   text-decoration: none;
 }
 

+ 2 - 2
geologist-cream/assets/theme.css

@@ -158,11 +158,11 @@ ul ul {
   color: var(--wp--preset--color--background);
 }
 
-.wp-block-post-content p a {
+.wp-block-post-content a {
   -webkit-text-decoration-line: underline;
           text-decoration-line: underline;
 }
-.wp-block-post-content p a:hover {
+.wp-block-post-content a:hover {
   text-decoration: none;
 }
 

+ 2 - 2
geologist-slate/assets/theme.css

@@ -158,11 +158,11 @@ ul ul {
   color: var(--wp--preset--color--background);
 }
 
-.wp-block-post-content p a {
+.wp-block-post-content a {
   -webkit-text-decoration-line: underline;
           text-decoration-line: underline;
 }
-.wp-block-post-content p a:hover {
+.wp-block-post-content a:hover {
   text-decoration: none;
 }
 

+ 2 - 2
geologist-yellow/assets/theme.css

@@ -158,11 +158,11 @@ ul ul {
   color: var(--wp--preset--color--background);
 }
 
-.wp-block-post-content p a {
+.wp-block-post-content a {
   -webkit-text-decoration-line: underline;
           text-decoration-line: underline;
 }
-.wp-block-post-content p a:hover {
+.wp-block-post-content a:hover {
   text-decoration: none;
 }
 

+ 2 - 2
geologist/assets/theme.css

@@ -158,11 +158,11 @@ ul ul {
   color: var(--wp--preset--color--background);
 }
 
-.wp-block-post-content p a {
+.wp-block-post-content a {
   -webkit-text-decoration-line: underline;
           text-decoration-line: underline;
 }
-.wp-block-post-content p a:hover {
+.wp-block-post-content a:hover {
   text-decoration: none;
 }
 

+ 4 - 3
geologist/sass/elements/_links.scss

@@ -1,4 +1,4 @@
-.wp-block-post-content p a {
+.wp-block-post-content a {
 	text-decoration-line: underline;
 
 	&:hover {
@@ -9,9 +9,10 @@
 
 // Select the focus states of all non-wpadmin and screen reader links
 a:not(.ab-item):not(.screen-reader-shortcut) {
+
 	&:active,
 	&:focus {
-		outline: 1px dotted currentColor;
+		outline: 1px dotted currentcolor;
 		text-decoration: none;
 	}
-}
+}

+ 5 - 8
quadrat-black/assets/theme.css

@@ -57,8 +57,7 @@
 }
 .vertical-query-pattern img {
   aspect-ratio: 16/9;
-  -o-object-fit: cover;
-     object-fit: cover;
+  object-fit: cover;
 }
 
 div.horizontal-query-pattern {
@@ -83,8 +82,7 @@ div.horizontal-query-pattern figure.wp-block-post-featured-image {
 }
 div.horizontal-query-pattern figure.wp-block-post-featured-image img {
   aspect-ratio: 1.12;
-  -o-object-fit: cover;
-     object-fit: cover;
+  object-fit: cover;
   height: 100%;
 }
 @media (min-width: 600px) {
@@ -163,8 +161,7 @@ div.horizontal-query-pattern figure.wp-block-post-featured-image img {
   }
 }
 .is-style-quadrat-diamond-posts .wp-block-post-featured-image img {
-  -o-object-fit: cover;
-     object-fit: cover;
+  object-fit: cover;
   width: 100%;
   height: 300px;
 }
@@ -325,11 +322,11 @@ ul ul {
   color: var(--wp--preset--color--background);
 }
 
-.wp-block-post-content p a {
+.wp-block-post-content a {
   -webkit-text-decoration-line: underline;
           text-decoration-line: underline;
 }
-.wp-block-post-content p a:hover {
+.wp-block-post-content a:hover {
   text-decoration: none;
 }
 

+ 5 - 8
quadrat-green/assets/theme.css

@@ -57,8 +57,7 @@
 }
 .vertical-query-pattern img {
   aspect-ratio: 16/9;
-  -o-object-fit: cover;
-     object-fit: cover;
+  object-fit: cover;
 }
 
 div.horizontal-query-pattern {
@@ -83,8 +82,7 @@ div.horizontal-query-pattern figure.wp-block-post-featured-image {
 }
 div.horizontal-query-pattern figure.wp-block-post-featured-image img {
   aspect-ratio: 1.12;
-  -o-object-fit: cover;
-     object-fit: cover;
+  object-fit: cover;
   height: 100%;
 }
 @media (min-width: 600px) {
@@ -163,8 +161,7 @@ div.horizontal-query-pattern figure.wp-block-post-featured-image img {
   }
 }
 .is-style-quadrat-diamond-posts .wp-block-post-featured-image img {
-  -o-object-fit: cover;
-     object-fit: cover;
+  object-fit: cover;
   width: 100%;
   height: 300px;
 }
@@ -325,11 +322,11 @@ ul ul {
   color: var(--wp--preset--color--background);
 }
 
-.wp-block-post-content p a {
+.wp-block-post-content a {
   -webkit-text-decoration-line: underline;
           text-decoration-line: underline;
 }
-.wp-block-post-content p a:hover {
+.wp-block-post-content a:hover {
   text-decoration: none;
 }
 

+ 5 - 8
quadrat-red/assets/theme.css

@@ -57,8 +57,7 @@
 }
 .vertical-query-pattern img {
   aspect-ratio: 16/9;
-  -o-object-fit: cover;
-     object-fit: cover;
+  object-fit: cover;
 }
 
 div.horizontal-query-pattern {
@@ -83,8 +82,7 @@ div.horizontal-query-pattern figure.wp-block-post-featured-image {
 }
 div.horizontal-query-pattern figure.wp-block-post-featured-image img {
   aspect-ratio: 1.12;
-  -o-object-fit: cover;
-     object-fit: cover;
+  object-fit: cover;
   height: 100%;
 }
 @media (min-width: 600px) {
@@ -163,8 +161,7 @@ div.horizontal-query-pattern figure.wp-block-post-featured-image img {
   }
 }
 .is-style-quadrat-diamond-posts .wp-block-post-featured-image img {
-  -o-object-fit: cover;
-     object-fit: cover;
+  object-fit: cover;
   width: 100%;
   height: 300px;
 }
@@ -325,11 +322,11 @@ ul ul {
   color: var(--wp--preset--color--background);
 }
 
-.wp-block-post-content p a {
+.wp-block-post-content a {
   -webkit-text-decoration-line: underline;
           text-decoration-line: underline;
 }
-.wp-block-post-content p a:hover {
+.wp-block-post-content a:hover {
   text-decoration: none;
 }
 

+ 5 - 8
quadrat-white/assets/theme.css

@@ -57,8 +57,7 @@
 }
 .vertical-query-pattern img {
   aspect-ratio: 16/9;
-  -o-object-fit: cover;
-     object-fit: cover;
+  object-fit: cover;
 }
 
 div.horizontal-query-pattern {
@@ -83,8 +82,7 @@ div.horizontal-query-pattern figure.wp-block-post-featured-image {
 }
 div.horizontal-query-pattern figure.wp-block-post-featured-image img {
   aspect-ratio: 1.12;
-  -o-object-fit: cover;
-     object-fit: cover;
+  object-fit: cover;
   height: 100%;
 }
 @media (min-width: 600px) {
@@ -163,8 +161,7 @@ div.horizontal-query-pattern figure.wp-block-post-featured-image img {
   }
 }
 .is-style-quadrat-diamond-posts .wp-block-post-featured-image img {
-  -o-object-fit: cover;
-     object-fit: cover;
+  object-fit: cover;
   width: 100%;
   height: 300px;
 }
@@ -325,11 +322,11 @@ ul ul {
   color: var(--wp--preset--color--background);
 }
 
-.wp-block-post-content p a {
+.wp-block-post-content a {
   -webkit-text-decoration-line: underline;
           text-decoration-line: underline;
 }
-.wp-block-post-content p a:hover {
+.wp-block-post-content a:hover {
   text-decoration: none;
 }
 

+ 5 - 8
quadrat-yellow/assets/theme.css

@@ -57,8 +57,7 @@
 }
 .vertical-query-pattern img {
   aspect-ratio: 16/9;
-  -o-object-fit: cover;
-     object-fit: cover;
+  object-fit: cover;
 }
 
 div.horizontal-query-pattern {
@@ -83,8 +82,7 @@ div.horizontal-query-pattern figure.wp-block-post-featured-image {
 }
 div.horizontal-query-pattern figure.wp-block-post-featured-image img {
   aspect-ratio: 1.12;
-  -o-object-fit: cover;
-     object-fit: cover;
+  object-fit: cover;
   height: 100%;
 }
 @media (min-width: 600px) {
@@ -163,8 +161,7 @@ div.horizontal-query-pattern figure.wp-block-post-featured-image img {
   }
 }
 .is-style-quadrat-diamond-posts .wp-block-post-featured-image img {
-  -o-object-fit: cover;
-     object-fit: cover;
+  object-fit: cover;
   width: 100%;
   height: 300px;
 }
@@ -325,11 +322,11 @@ ul ul {
   color: var(--wp--preset--color--background);
 }
 
-.wp-block-post-content p a {
+.wp-block-post-content a {
   -webkit-text-decoration-line: underline;
           text-decoration-line: underline;
 }
-.wp-block-post-content p a:hover {
+.wp-block-post-content a:hover {
   text-decoration: none;
 }
 

+ 5 - 8
quadrat/assets/theme.css

@@ -57,8 +57,7 @@
 }
 .vertical-query-pattern img {
   aspect-ratio: 16/9;
-  -o-object-fit: cover;
-     object-fit: cover;
+  object-fit: cover;
 }
 
 div.horizontal-query-pattern {
@@ -83,8 +82,7 @@ div.horizontal-query-pattern figure.wp-block-post-featured-image {
 }
 div.horizontal-query-pattern figure.wp-block-post-featured-image img {
   aspect-ratio: 1.12;
-  -o-object-fit: cover;
-     object-fit: cover;
+  object-fit: cover;
   height: 100%;
 }
 @media (min-width: 600px) {
@@ -163,8 +161,7 @@ div.horizontal-query-pattern figure.wp-block-post-featured-image img {
   }
 }
 .is-style-quadrat-diamond-posts .wp-block-post-featured-image img {
-  -o-object-fit: cover;
-     object-fit: cover;
+  object-fit: cover;
   width: 100%;
   height: 300px;
 }
@@ -325,11 +322,11 @@ ul ul {
   color: var(--wp--preset--color--background);
 }
 
-.wp-block-post-content p a {
+.wp-block-post-content a {
   -webkit-text-decoration-line: underline;
           text-decoration-line: underline;
 }
-.wp-block-post-content p a:hover {
+.wp-block-post-content a:hover {
   text-decoration: none;
 }
 

+ 4 - 3
quadrat/sass/elements/_links.scss

@@ -1,4 +1,4 @@
-.wp-block-post-content p a {
+.wp-block-post-content a {
 	text-decoration-line: underline;
 
 	&:hover {
@@ -9,9 +9,10 @@
 
 // Select the focus states of all non-wpadmin and screen reader links
 a:not(.ab-item):not(.screen-reader-shortcut) {
+
 	&:active,
 	&:focus {
-		outline: 1px dotted currentColor;
+		outline: 1px dotted currentcolor;
 		text-decoration: none;
 	}
-}
+}

+ 3 - 3
zoologist/assets/theme.css

@@ -158,16 +158,16 @@ ul ul {
   color: var(--wp--preset--color--background);
 }
 
-.wp-block-post-content p a {
+.wp-block-post-content a {
   -webkit-text-decoration-line: underline;
           text-decoration-line: underline;
 }
-.wp-block-post-content p a:hover {
+.wp-block-post-content a:hover {
   text-decoration: none;
 }
 
 a:not(.ab-item):not(.screen-reader-shortcut):active, a:not(.ab-item):not(.screen-reader-shortcut):focus {
-  outline: 1px dotted currentColor;
+  outline: 1px dotted currentcolor;
   text-decoration: none;
 }
 

+ 4 - 3
zoologist/sass/elements/_links.scss

@@ -1,4 +1,4 @@
-.wp-block-post-content p a {
+.wp-block-post-content a {
 	text-decoration-line: underline;
 
 	&:hover {
@@ -9,9 +9,10 @@
 
 // Select the focus states of all non-wpadmin and screen reader links
 a:not(.ab-item):not(.screen-reader-shortcut) {
+
 	&:active,
 	&:focus {
-		outline: 1px dotted currentColor;
+		outline: 1px dotted currentcolor;
 		text-decoration: none;
 	}
-}
+}