From 7b94b0470198bc22b6a52db6661f35076f7c6388 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Thu, 5 Apr 2018 22:10:51 +0300 Subject: Use lighter and smaller font sizes. Thanks to xet7 ! --- client/components/cards/cardDetails.styl | 4 ++-- client/components/cards/checklists.styl | 2 +- client/components/main/fonts.styl | 16 ++++++++-------- client/components/settings/peopleBody.styl | 1 - public/fonts/roboto-bold.woff | Bin 71808 -> 0 bytes public/fonts/roboto-bold.woff2 | Bin 52056 -> 0 bytes public/fonts/roboto-condensed-bold.woff | Bin 0 -> 72900 bytes public/fonts/roboto-condensed-light.woff | Bin 0 -> 71528 bytes public/fonts/roboto-regular.woff | Bin 70236 -> 0 bytes public/fonts/roboto-regular.woff2 | Bin 51140 -> 0 bytes 10 files changed, 11 insertions(+), 12 deletions(-) delete mode 100644 public/fonts/roboto-bold.woff delete mode 100644 public/fonts/roboto-bold.woff2 create mode 100644 public/fonts/roboto-condensed-bold.woff create mode 100644 public/fonts/roboto-condensed-light.woff delete mode 100644 public/fonts/roboto-regular.woff delete mode 100644 public/fonts/roboto-regular.woff2 diff --git a/client/components/cards/cardDetails.styl b/client/components/cards/cardDetails.styl index a1e0f5c3..07f391c0 100644 --- a/client/components/cards/cardDetails.styl +++ b/client/components/cards/cardDetails.styl @@ -42,7 +42,7 @@ .card-details-title font-weight: bold - font-size: 1.33em + font-size: 1.30 em margin: 7px 0 0 padding: 0 @@ -86,7 +86,7 @@ .card-details-item-title font-size: 14px - color: darken(white, 45%) + color: #000 .card-label padding-top: 5px diff --git a/client/components/cards/checklists.styl b/client/components/cards/checklists.styl index 7b35488f..d0d87434 100644 --- a/client/components/cards/checklists.styl +++ b/client/components/cards/checklists.styl @@ -25,7 +25,7 @@ textarea.js-add-checklist-item, textarea.js-edit-checklist-item line-height: 30px .title - font-size: 18px + font-size: 16px line-height: 30px .checklist-stat diff --git a/client/components/main/fonts.styl b/client/components/main/fonts.styl index fc8c8f00..3744ab27 100644 --- a/client/components/main/fonts.styl +++ b/client/components/main/fonts.styl @@ -2,16 +2,16 @@ font-family: 'Roboto' font-style: normal font-weight: 400 - src: local('Roboto'), - local('Roboto-Regular'), - url('/fonts/roboto-regular.woff2') format('woff2'), - url('/fonts/roboto-regular.woff') format('woff') + src: local('Roboto Consended Light'), + local('Roboto-Consended-Light'), + url('/fonts/roboto-condensed-light.woff') format('woff'), + url('/fonts/roboto-condensed-light.woff') format('woff') @font-face font-family: 'Roboto' font-style: normal font-weight: 700 - src: local('Roboto Bold'), - local('Roboto-Bold'), - url('/fonts/roboto-bold.woff2') format('woff2'), - url('/fonts/roboto-bold.woff') format('woff') + src: local('Roboto Consended Bold'), + local('Roboto-Consended-Bold'), + url('/fonts/roboto-condensed-bold.woff2') format('woff'), + url('/fonts/roboto-condensed-bold.woff') format('woff') diff --git a/client/components/settings/peopleBody.styl b/client/components/settings/peopleBody.styl index 2e89ea3b..76eb1d0a 100644 --- a/client/components/settings/peopleBody.styl +++ b/client/components/settings/peopleBody.styl @@ -2,7 +2,6 @@ overflow: scroll; table - font-family: arial, sans-serif; border-collapse: collapse; width: 100%; diff --git a/public/fonts/roboto-bold.woff b/public/fonts/roboto-bold.woff deleted file mode 100644 index 6ec255f5..00000000 Binary files a/public/fonts/roboto-bold.woff and /dev/null differ diff --git a/public/fonts/roboto-bold.woff2 b/public/fonts/roboto-bold.woff2 deleted file mode 100644 index f779b2c5..00000000 Binary files a/public/fonts/roboto-bold.woff2 and /dev/null differ diff --git a/public/fonts/roboto-condensed-bold.woff b/public/fonts/roboto-condensed-bold.woff new file mode 100644 index 00000000..bcbb5281 Binary files /dev/null and b/public/fonts/roboto-condensed-bold.woff differ diff --git a/public/fonts/roboto-condensed-light.woff b/public/fonts/roboto-condensed-light.woff new file mode 100644 index 00000000..b1638fea Binary files /dev/null and b/public/fonts/roboto-condensed-light.woff differ diff --git a/public/fonts/roboto-regular.woff b/public/fonts/roboto-regular.woff deleted file mode 100644 index f9a02e26..00000000 Binary files a/public/fonts/roboto-regular.woff and /dev/null differ diff --git a/public/fonts/roboto-regular.woff2 b/public/fonts/roboto-regular.woff2 deleted file mode 100644 index cebe610d..00000000 Binary files a/public/fonts/roboto-regular.woff2 and /dev/null differ -- cgit v1.2.3-1-g7c22