From: Aaron Lidman Date: Wed, 13 Nov 2013 20:00:39 +0000 (-0800) Subject: Add cascade font-weights X-Git-Tag: live~4720^2~90 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/28a4185bb2dd3cd9cdff38defc4173d77cc8e96c?hp=e04ce095f1ee5067901bd76e21d1f2e89bf174f8 Add cascade font-weights --- diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 577df56c3..9f6be1979 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -36,7 +36,10 @@ abbr, acronym { cursor: help; } -strong { font-weight: bold; } +strong { + font-weight: bold; + font-weight: 500; +} /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */ @@ -108,10 +111,14 @@ body.slim { h1, h2, h3 { font-weight: bold; + font-weight: 500; line-height: 1.2; } -h4, h5 { font-weight: bold; } +h4, h5 { + font-weight: bold; + font-weight: 500; +} h1 { font-size: 18px; @@ -206,6 +213,7 @@ table { } th { font-weight: bold; + font-weight: 500; vertical-align: top; } td { @@ -303,6 +311,7 @@ nav.primary { .dropdown-toggle { display: inline-block; font-weight: bold; + font-weight: 500; color: $green; padding: 5px 15px; } @@ -360,8 +369,8 @@ nav.secondary { .user-menu { $border: 1px solid $grey; - font-weight: bold; + font-weight: 500; border: $border; border-radius: $border-radius; margin-left: 10px; @@ -654,6 +663,7 @@ nav.secondary { padding: $lineheight/2 $lineheight $lineheight; font-size: 110%; font-weight: normal; + font-weight: 300; } .button { @@ -731,6 +741,7 @@ nav.secondary { border-bottom-right-radius: 3px; cursor: pointer; font-weight: bold; + font-weight: 500; font-size: 16px; text-stroke: 2px #fff; background: rgba(255,255,255,.9); @@ -1059,6 +1070,7 @@ header .search_form { .browse-tag-k { font-weight: bold; + font-weight: 500; background-color: #F6F6F6; } @@ -1685,6 +1697,7 @@ header .search_form { margin: 0 -10px 10px -10px; padding: $lineheight/4 $lineheight/4 $lineheight/4 15px; font-weight: bold; + font-weight: 500; font-size: 12px; background-color: #c00; color: #fff; @@ -1718,6 +1731,7 @@ header .search_form { margin-bottom: $lineheight/4; font-size: $typeheight; font-weight: bold; + font-weight: 500; line-height: 1.5; } label.standard-label.secondary { @@ -2425,6 +2439,7 @@ a.button { display: block; color: white; font-weight: normal; + font-weight: 300; font-size: 34px; span { color: #76c551;