From 5a067132b667897e0c414bc40e399c1abe881dac Mon Sep 17 00:00:00 2001 From: carljbowman Date: Mon, 16 Jul 2018 18:04:43 -0400 Subject: [PATCH] Remove numeric font-weights We have seen lots of issues across browsers with font-weights defined as numbers (e.g. 400 vs regular). Updated one place that was effected by new line lengths and wrapping issues. --- src/main.scss | 24 ++++++++++++------------ src/views/download/download.scss | 5 +++++ 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/src/main.scss b/src/main.scss index 9d5cdde8f..16af39ed9 100644 --- a/src/main.scss +++ b/src/main.scss @@ -22,34 +22,34 @@ h4 { padding: 0; color: $header-gray; - font-weight: 700; + font-weight: bold; } h1 { font-size: 2.5rem; - font-weight: 900; + font-weight: bold; } h2 { font-size: 2rem; - font-weight: 600; + font-weight: bold; } h3 { font-size: 1.4rem; - font-weight: 500; + font-weight: bold; } h4 { font-size: 1rem; - font-weight: 700; + font-weight: bold; } h5 { text-transform: uppercase; letter-spacing: 2px; font-size: .85rem; - font-weight: 700; + font-weight: bold; } p { @@ -85,14 +85,14 @@ p { b, strong { - font-weight: 500; + font-weight: bold; } /* Links */ a { cursor: pointer; color: $ui-blue; - font-weight: 500; + font-weight: bold; &:link, &:visited, @@ -136,7 +136,7 @@ p { p { font-size: 1rem; - font-weight: 300; + font-weight: normal; } ::selection { @@ -149,7 +149,7 @@ ul { line-height: 1.5em; font-size: 1rem; - font-weight: 300; + font-weight: normal; li { margin: .75em 0; @@ -159,10 +159,10 @@ ul { dl { line-height: 1.5rem; font-size: 1rem; - font-weight: 300; + font-weight: normal; dt { - font-weight: 700; + font-weight: bold; } dd { diff --git a/src/views/download/download.scss b/src/views/download/download.scss index e0e79476c..deada4b9e 100644 --- a/src/views/download/download.scss +++ b/src/views/download/download.scss @@ -70,6 +70,11 @@ .installation-column { max-width: $cols4; text-align: center; + + p { + margin-left: .5rem; + margin-right: .5rem; + } } .installation-column-number {