Skip to content

Commit 3847b97

Browse files
authored
OS stripe color (#468)
1 parent 974ee95 commit 3847b97

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

assets/css/lesson.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,18 @@ $color-testimonial: #fc8dc1 !default;
8484
border-radius: 0 0 4px 4px; // 4px == @border-radius-base
8585
}
8686

87+
// Stripe above tab panels where OS tabs are shown
88+
ul.nav.nav-tabs {
89+
background: #E1E1E1;
90+
border-radius: 4px 4px 0 0; // 4px == @border-radius-base
91+
}
92+
93+
// This color provides better contrast ratio on most backgrounds used on Carpentries websites
94+
// 9.24 on FFFFFF: https://webaim.org/resources/contrastchecker/?fcolor=204A6F&bcolor=FFFFFF&api (body)
95+
// 8.78 on F9F9F9: https://webaim.org/resources/contrastchecker/?fcolor=204A6F&bcolor=F9F9F9&api (tables)
96+
// 7.07 on E1E1E1: https://webaim.org/resources/contrastchecker/?fcolor=204A6F&bcolor=E1E1E1&api (tab panels)
97+
a { color: #204A6F; }
98+
8799
//----------------------------------------
88100
// Specialized blockquote environments for learning objectives, callouts, etc.
89101
//----------------------------------------

0 commit comments

Comments
 (0)