Skip to content

Commit

Permalink
OS stripe color (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-belkin authored Jun 29, 2020
1 parent 974ee95 commit 3847b97
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions assets/css/lesson.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,18 @@ $color-testimonial: #fc8dc1 !default;
border-radius: 0 0 4px 4px; // 4px == @border-radius-base
}

// Stripe above tab panels where OS tabs are shown
ul.nav.nav-tabs {
background: #E1E1E1;
border-radius: 4px 4px 0 0; // 4px == @border-radius-base
}

// This color provides better contrast ratio on most backgrounds used on Carpentries websites
// 9.24 on FFFFFF: https://webaim.org/resources/contrastchecker/?fcolor=204A6F&bcolor=FFFFFF&api (body)
// 8.78 on F9F9F9: https://webaim.org/resources/contrastchecker/?fcolor=204A6F&bcolor=F9F9F9&api (tables)
// 7.07 on E1E1E1: https://webaim.org/resources/contrastchecker/?fcolor=204A6F&bcolor=E1E1E1&api (tab panels)
a { color: #204A6F; }

//----------------------------------------
// Specialized blockquote environments for learning objectives, callouts, etc.
//----------------------------------------
Expand Down

0 comments on commit 3847b97

Please sign in to comment.