From 3847b97ab655f2f4b04e2676ac707cb1ac7b8639 Mon Sep 17 00:00:00 2001 From: Maxim Belkin Date: Mon, 29 Jun 2020 03:12:43 -0500 Subject: [PATCH] OS stripe color (#468) --- assets/css/lesson.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/assets/css/lesson.scss b/assets/css/lesson.scss index eccc530b4..53f158fb9 100644 --- a/assets/css/lesson.scss +++ b/assets/css/lesson.scss @@ -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. //----------------------------------------