docs: increase color contrast on elements in tutorial

This increases the color contrast of elements in the tutorial (parts 1-6)
in order to meet WCAG 2.0 AA standards.
This commit is contained in:
Michael Head 2019-04-05 14:43:29 -04:00 committed by Miško Hevery
parent 8ce288a852
commit 1315d23aa4
15 changed files with 17 additions and 19 deletions

View File

@ -13,7 +13,7 @@ body {
margin: 2em;
}
body, input[type="text"], button {
color: #888;
color: #333;
font-family: Cambria, Georgia;
}
/* everywhere else */

View File

@ -37,7 +37,7 @@
font-size: small;
color: white;
padding: 0.8em 0.7em 0 0.7em;
background-color: #607D8B;
background-color:#405061;
line-height: 1em;
position: relative;
left: -1px;

View File

@ -37,7 +37,7 @@
font-size: small;
color: white;
padding: 0.8em 0.7em 0 0.7em;
background-color: #607D8B;
background-color:#405061;
line-height: 1em;
position: relative;
left: -1px;

View File

@ -37,7 +37,7 @@
font-size: small;
color: white;
padding: 0.8em 0.7em 0 0.7em;
background-color: #607D8B;
background-color:#405061;
line-height: 1em;
position: relative;
left: -1px;

View File

@ -30,6 +30,6 @@ button:disabled {
cursor: auto;
}
button.clear {
color: #888;
color: #333;
margin-bottom: 12px;
}

View File

@ -1,7 +1,6 @@
/* AppComponent's private CSS styles */
h1 {
font-size: 1.2em;
color: #999;
margin-bottom: 0;
}
h2 {
@ -18,7 +17,7 @@ nav a {
border-radius: 4px;
}
nav a:visited, a:link {
color: #607d8b;
color: #334953;
}
nav a:hover {
color: #039be5;

View File

@ -34,7 +34,7 @@ h4 {
color: #eee;
max-height: 120px;
min-width: 120px;
background-color: #607d8b;
background-color: #3f525c;
border-radius: 2px;
}
.module:hover {

View File

@ -22,7 +22,7 @@
}
.heroes a {
color: #888;
color: #333;
text-decoration: none;
position: relative;
display: block;
@ -38,7 +38,7 @@
font-size: small;
color: white;
padding: 0.8em 0.7em 0 0.7em;
background-color: #607D8B;
background-color:#405061;
line-height: 1em;
position: relative;
left: -1px;

View File

@ -30,6 +30,6 @@ button:disabled {
cursor: auto;
}
button.clear {
color: #888;
color: #333;
margin-bottom: 12px;
}

View File

@ -1,7 +1,6 @@
/* AppComponent's private CSS styles */
h1 {
font-size: 1.2em;
color: #999;
margin-bottom: 0;
}
h2 {
@ -18,7 +17,7 @@ nav a {
border-radius: 4px;
}
nav a:visited, a:link {
color: #607D8B;
color: #334953;
}
nav a:hover {
color: #039be5;

View File

@ -34,7 +34,7 @@ h4 {
color: #eee;
max-height: 120px;
min-width: 120px;
background-color: #607D8B;
background-color: #3f525c;
border-radius: 2px;
}
.module:hover {

View File

@ -1,5 +1,5 @@
<div id="search-component">
<h4>Hero Search</h4>
<h4><label for="search-box">Hero Search</label></h4>
<!-- #docregion input -->
<input #searchBox id="search-box" (input)="search(searchBox.value)" />

View File

@ -22,7 +22,7 @@
}
.heroes a {
color: #888;
color: #333;
text-decoration: none;
position: relative;
display: block;
@ -38,7 +38,7 @@
font-size: small;
color: white;
padding: 0.8em 0.7em 0 0.7em;
background-color: #607D8B;
background-color:#405061;
line-height: 1em;
position: relative;
left: -1px;

View File

@ -30,6 +30,6 @@ button:disabled {
cursor: auto;
}
button.clear {
color: #888;
color: #333;
margin-bottom: 12px;
}

View File

@ -13,7 +13,7 @@ body {
margin: 2em;
}
body, input[text], button {
color: #888;
color: #333;
font-family: Cambria, Georgia;
}
a {