@@ -14,7 +14,7 @@ html[data-theme='dark'] .card, .btn-block {
1414.center {text-align : center;}
1515
1616.color-strip {
17- height : 10 px ;
17+ height : 20 px ;
1818 margin : 0 ;
1919 padding : 0 ;
2020 position : relative;
@@ -62,6 +62,7 @@ html[data-theme='dark'] .card, .btn-block {
6262 width : auto;
6363 overflow-y : auto;
6464 margin-top : 10px ;
65+ padding-top : 25px ;
6566}
6667
6768.wy-nav-side {
@@ -145,3 +146,52 @@ div.ethical-sidebar, div.ethical-footer {
145146.sphinx-tab img {
146147 margin-bottom : 24px ;
147148}
149+
150+ /* ADA compliance CSS */
151+ footer a , a .external { /* increase link text color contrast to dark blue, add underlines for links in the body (not in the sidebar) */
152+ color : # 0000EE /* blue #003974 */ !important ;
153+ text-decoration-line : underline !important ;
154+ text-decoration-color : # 0000EE !important ;
155+ /*text-decoration-thickness: .125em !important;*/
156+ text-underline-offset : 0.2em !important ;
157+ }
158+ footer a : visited , a .external : visited { /* visited is an important navigation feature for links */
159+ color : # 551A8B /* purple #003974 */ !important ;
160+ text-decoration-color : # 551A8B !important ;
161+ }
162+ footer a : focus , a .external : focus {
163+ outline : 2px solid # d71ef7 ;
164+ }
165+ footer a : hover , a .external : hover {
166+ font-weight : bold;
167+ }
168+ footer a : active , a .external : active {
169+ color : # FF0000 !important ;
170+ }
171+ /* I noticed that we don't hightlight focus very well on the page.
172+ After a reload no focus is visible, if you start tabbbing there's some small indications of focus.
173+ Focus starts in the search the docs input field, but there's not indication of focus and it's not visible. */
174+
175+
176+ p .admonition-title { /* increase background contrast to dark blue */
177+ background : # 003974 !important ;
178+ }
179+ footer { /* increase text contrast, override grey*/
180+ color : black !important ;
181+ }
182+
183+ /* ADA Skip navigation */
184+ .skip-nav {
185+ position : absolute;
186+ left : 0px ; /* was -9999px */
187+ opacity : 0 ;
188+ z-index : 1000 ;
189+ background : white;
190+ /*color: white;*/
191+ }
192+ .skip-nav : focus {
193+ /*left: 0;*/
194+ /*transform: translateX(-50%);*/
195+ opacity : 1 ;
196+ }
197+
0 commit comments