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

Rainfall: fix navigation link colors

Matias Benedetto 2 éve
szülő
commit
e0eb0e4f49
2 módosított fájl, 5 hozzáadás és 6 törlés
  1. 5 3
      rainfall/style.css
  2. 0 3
      rainfall/theme.json

+ 5 - 3
rainfall/style.css

@@ -36,14 +36,16 @@ Tags: two-columns, custom-colors, custom-menu, custom-logo, editor-style, featur
 /**
  * Navigation on dark background
  */
-.wp-block-navigation .has-black-background-color a:where(:not(.wp-element-button)):hover {
-	color: var(--wp--preset--color--white);
+
+.has-orange-background-color .has-black-background-color .wp-block-navigation-item  a:where(:not(.wp-element-button)):active {
+	color: var(--wp--preset--color--brown);
 }
 
-.wp-block-navigation .has-black-background-color a:where(:not(.wp-element-button)):active {
+.has-black-background-color .wp-block-navigation-item  a:where(:not(.wp-element-button)):active {
 	color: var(--wp--preset--color--orange);
 }
 
+
 /**
  * Search input on dark background
  */

+ 0 - 3
rainfall/theme.json

@@ -180,9 +180,6 @@
 				"elements": {
 					"link": {
 						":hover": {
-							"color": {
-								"text": "var(--wp--preset--color--black)"
-							},
 							"typography": {
 								"textDecoration": "underline"
 							}