Issue #8 - Correjir errores de contraste en el proyecto. #9

Closed
maia wants to merge 1 commits from issue-8 into master
Showing only changes of commit 6a83396d2e - Show all commits

View File

@@ -1 +1,92 @@
/* Child Custom CSS */
/* Child Custom CSS */
/* Improve general text contrast on light backgrounds */
body {
color: #2f3d4a;
}
a:focus,
a:hover {
color: #2f7d32;
}
/* Increase menu contrast for default and dropdown states */
.main-navigation a,
.main-navigation .main-menu > li > a {
color: #2f3d4a;
}
.main-navigation .main-menu > li:hover > a,
.main-navigation .main-menu > ul > .page_item:hover > a {
background-color: #2f7d32;
color: #fff;
}
.main-navigation .children,
.main-navigation .sub-menu {
background-color: #2f7d32;
}
.main-navigation .children a,
.main-navigation .sub-menu a {
color: #fff;
}
.main-navigation .children a:hover,
.main-navigation .sub-menu a:hover {
background-color: #245f27;
}
.breadcrumb,
.breadcrumb a,
.breadcrumb .active {
color: #fff;
}
/* Match mobile/off-canvas menu toggles to accessible palette */
.mean-container a.meanmenu-reveal,
.mean-container .mean-bar,
.mean-container .mean-nav {
background-color: #2f7d32;
}
/* Primary buttons and accents with sufficient contrast */
button,
input[type=submit],
.read-more,
.btn,
.btn-primary,
.btn-outline-primary {
background-color: #2f7d32;
color: #fff;
border-color: #2f7d32;
}
button:hover,
input[type=submit]:hover,
.read-more:hover,
.btn:hover,
.btn-primary:hover,
.btn-outline-primary:hover {
background-color: #245f27;
color: #fff;
border-color: #245f27;
}
.btn-outline-primary {
color: #2f7d32;
background-color: transparent;
}
.btn-outline-primary:hover {
color: #fff;
}
/* Ensure large hero/404 headings meet contrast */
.jumbotron h1 {
color: #2f7d32;
}
.filters > li {
color: #2f3d4a;
}