Commit: 18e415e4c5ea4182d7667eb8cda651bf44eb53e9 Author: Levi Morrison <[email protected]> Thu, 13 Nov 2014 13:58:49 -0700 Parents: 50f249ac453973c2dd9ce806e2ca905b29334b77 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=18e415e4c5ea4182d7667eb8cda651bf44eb53e9 Log: Correct font weight usage. Remove Fira Sans SemiBold from fira.css, since after these corrections it is no longer in use. This is one less thing to download, and saves 80KB over the wire. Changed paths: M fonts/Fira/fira.css M styles/calendar.css M styles/theme-base.css Diff: diff --git a/fonts/Fira/fira.css b/fonts/Fira/fira.css index c6b2516..4b575bf 100644 --- a/fonts/Fira/fira.css +++ b/fonts/Fira/fira.css @@ -43,28 +43,6 @@ } @font-face{ - font-family: 'Fira Sans'; - src: url('/fonts/Fira/eot/FiraSans-SemiBold.eot'); - src: local('/fonts/Fira/Fira Sans SemiBold'), - url('/fonts/Fira/eot/FiraSans-SemiBold.eot') format('embedded-opentype'), - url('/fonts/Fira/woff/FiraSans-SemiBold.woff') format('woff'), - url('/fonts/Fira/ttf/FiraSans-SemiBold.ttf') format('truetype'); - font-weight: 600; - font-style: normal; -} - -@font-face{ - font-family: 'Fira Sans'; - src: url('/fonts/Fira/eot/FiraSans-SemiBoldItalic.eot'); - src: local('/fonts/Fira/Fira Sans SemiBold Italic'), - url('/fonts/Fira/eot/FiraSans-SemiBoldItalic.eot') format('embedded-opentype'), - url('/fonts/Fira/woff/FiraSans-SemiBoldItalic.woff') format('woff'), - url('/fonts/Fira/ttf/FiraSans-SemiBoldItalic.ttf') format('truetype'); - font-weight: 600; - font-style: italic; -} - -@font-face{ font-family: 'Fira Mono'; src: url('/fonts/Fira/eot/FiraMono-Regular.eot'); src: local('/fonts/Fira/Fira Mono'), @@ -82,7 +60,7 @@ url('/fonts/Fira/eot/FiraMono-Bold.eot') format('embedded-opentype'), url('/fonts/Fira/woff/FiraMono-Bold.woff') format('woff'), url('/fonts/Fira/ttf/FiraMono-Bold.ttf') format('truetype'); - font-weight: 600; + font-weight: 700; font-style: normal; } diff --git a/styles/calendar.css b/styles/calendar.css index 176bec2..789a7fe 100644 --- a/styles/calendar.css +++ b/styles/calendar.css @@ -64,7 +64,7 @@ display: block; float: right; font-size: 1.6em; - font-weight: bold; + font-weight: bolder; margin-left: 0.4375em; margin-bottom: 0.4375em; padding: 0.4em; @@ -127,7 +127,7 @@ } .calendar-day .vevent .url b { - font-weight: bold; + font-weight: bolder; } .calendar-day .vevent tr.description td { diff --git a/styles/theme-base.css b/styles/theme-base.css index 15d0adf..1b46f06 100755 --- a/styles/theme-base.css +++ b/styles/theme-base.css @@ -957,7 +957,7 @@ article strong, strong code, strong pre, pre strong { - font-weight: 600; + font-weight: 700; } #toTop { -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
