Skip to content

Commit 6861f75

Browse files
authored
OS stripe: adjust line height (#490)
1 parent d3aa582 commit 6861f75

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

assets/css/lesson.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ ul.nav.nav-tabs {
9191
border-radius: 4px 4px 0 0; // 4px == @border-radius-base
9292
}
9393

94+
// adjust line height of links so that clickable area (of OS tabs) is 44px high
95+
ul.nav.nav-tabs li a { line-height: 24px; } // or 1.714285716
96+
9497
// This color provides better contrast ratio on most backgrounds used on Carpentries websites
9598
// 9.24 on FFFFFF: https://webaim.org/resources/contrastchecker/?fcolor=204A6F&bcolor=FFFFFF&api (body)
9699
// 8.78 on F9F9F9: https://webaim.org/resources/contrastchecker/?fcolor=204A6F&bcolor=F9F9F9&api (tables)

0 commit comments

Comments
 (0)