From 79567dcbc0d4fce5a7bd52e18766c9fe914c337e Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Mon, 24 Aug 2015 16:16:56 +0200 Subject: move fonts from Regular+Bold to Light+Semibold for lighter feel --- core/css/fonts.css | 10 +++++----- core/css/styles.css | 15 ++++++++------- core/fonts/OpenSans-Bold.woff | Bin 21272 -> 0 bytes core/fonts/OpenSans-Light.woff | Bin 0 -> 62844 bytes core/fonts/OpenSans-Regular.woff | Bin 20544 -> 0 bytes core/fonts/OpenSans-Semibold.woff | Bin 0 -> 69888 bytes 6 files changed, 13 insertions(+), 12 deletions(-) delete mode 100644 core/fonts/OpenSans-Bold.woff create mode 100644 core/fonts/OpenSans-Light.woff delete mode 100644 core/fonts/OpenSans-Regular.woff create mode 100644 core/fonts/OpenSans-Semibold.woff (limited to 'core') diff --git a/core/css/fonts.css b/core/css/fonts.css index aa6e71bef21..de2742c6368 100644 --- a/core/css/fonts.css +++ b/core/css/fonts.css @@ -1,13 +1,13 @@ @font-face { font-family: 'Open Sans'; font-style: normal; - font-weight: normal; - src: local('Open Sans'), local('OpenSans'), url(../fonts/OpenSans-Regular.woff) format('woff'); + font-weight: 300; + src: local('Open Sans Light'), local('OpenSans-Light'), url(../fonts/OpenSans-Light.woff) format('woff'); } @font-face { font-family: 'Open Sans'; font-style: normal; - font-weight: bold; - src: local('Open Sans Bold'), local('OpenSans-Bold'), url(../fonts/OpenSans-Bold.woff) format('woff'); -} \ No newline at end of file + font-weight: 600; + src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(../fonts/OpenSans-Semibold.woff) format('woff'); +} diff --git a/core/css/styles.css b/core/css/styles.css index 0bed45d0927..17735937302 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -16,7 +16,7 @@ ul { list-style:none; } body { background-color: #ffffff; - font-weight: normal; + font-weight: 300; font-size: .8em; line-height: 1.6em; font-family: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif; @@ -198,7 +198,7 @@ button, .button, min-width: 25px; padding: 5px; background-color: rgba(240,240,240,.9); - font-weight: bold; + font-weight: 600; color: #555; border: 1px solid rgba(240,240,240,.9); cursor: pointer; @@ -370,6 +370,7 @@ input[type="submit"].enabled { } #emptycontent h2, .emptycontent h2 { + font-weight: 600; font-size: 22px; margin-bottom: 10px; } @@ -444,7 +445,7 @@ input[type="submit"].enabled { padding-top: 20px; } #body-login p.info a { - font-weight: bold; + font-weight: 600; padding: 13px; margin: -13px; } @@ -708,7 +709,7 @@ label.infield { .warning a, .error a { color: #fff !important; - font-weight: bold !important; + font-weight: 600 !important; } .error pre { white-space: pre-wrap; @@ -803,7 +804,7 @@ label.infield { overflow: hidden; } -.bold { font-weight:bold; } +.bold { font-weight:600; } .center { text-align:center; } .inlineblock { display: inline-block; } @@ -1023,7 +1024,7 @@ div.crumb:first-child a { top: 13px; } div.crumb.last { - font-weight: bold; + font-weight: 600; margin-right: 10px; } div.crumb a.ellipsislink { @@ -1069,7 +1070,7 @@ div.crumb:active { #body-public footer .info a { color: #777; - font-weight: bold; + font-weight: 600; padding: 13px; margin: -13px; } diff --git a/core/fonts/OpenSans-Bold.woff b/core/fonts/OpenSans-Bold.woff deleted file mode 100644 index ee2ea797d1c..00000000000 Binary files a/core/fonts/OpenSans-Bold.woff and /dev/null differ diff --git a/core/fonts/OpenSans-Light.woff b/core/fonts/OpenSans-Light.woff new file mode 100644 index 00000000000..937323df0d9 Binary files /dev/null and b/core/fonts/OpenSans-Light.woff differ diff --git a/core/fonts/OpenSans-Regular.woff b/core/fonts/OpenSans-Regular.woff deleted file mode 100644 index 2abc3ed69fd..00000000000 Binary files a/core/fonts/OpenSans-Regular.woff and /dev/null differ diff --git a/core/fonts/OpenSans-Semibold.woff b/core/fonts/OpenSans-Semibold.woff new file mode 100644 index 00000000000..8c0313ff36b Binary files /dev/null and b/core/fonts/OpenSans-Semibold.woff differ -- cgit v1.2.3