From 6cae5321b176c0381fe0d25e7ce8e848c61101f1 Mon Sep 17 00:00:00 2001 From: Merrin Macleod Date: Sun, 10 Sep 2017 22:06:13 +1200 Subject: [PATCH] Remove unused fonts (#40) * remove unused fonts * remove unused heading declarations --- source/assets/public/index.css | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/source/assets/public/index.css b/source/assets/public/index.css index ab06189..6862e32 100644 --- a/source/assets/public/index.css +++ b/source/assets/public/index.css @@ -2,12 +2,8 @@ * Rubyconf Variables */ :root { - /*--font-body: "Source Sans Pro", Helvetica, Arial, sans-serif;*/ --font-body: "Work sans", Helvetica, Arial, sans-serif; --font-logotype: "OleoSwash", Courier, monospace; - --font-heading: "YoungSerif", Courier, monospace; - --font-subheading: "Source Sans Pro", Helvetica, Arial, sans-serif; - --font-subtitle: "Source Code Pro", Courier, monospace; --primary-color-darker: #e33558; --primary-color: #FE3E62; --primary-grey: #c2c2c2; @@ -25,22 +21,12 @@ /** * Import Fonts */ - /* Work sans */ @import url('https://fonts.googleapis.com/css?family=Work+Sans:400,700'); -/* Source sans */ -@import url("https://fonts.googleapis.com/css?family=Source+Code+Pro|Source+Sans+Pro:400,600&subset=latin-ext"); - /* Swash */ @import url('https://fonts.googleapis.com/css?family=Oleo+Script+Swash+Caps&subset=latin-ext'); -/* Young serif */ -@font-face { - font-family: YoungSerif; - src: url("./fonts/YoungSerif-Regular.woff2"); -} - @font-face { font-family: OleoSwash; src: url("./fonts/OleoScriptSwashCaps-Regular.woff2"); @@ -222,7 +208,6 @@ body { .hero__slogan { color: var(--primary-color); display: block; - font-family: var(--font-heading); font-size: 4rem; line-height: 5rem; margin-bottom: 5rem; @@ -236,7 +221,6 @@ body { transform: none; } .hero__date { - font-family: var(--font-subheading); text-transform: uppercase; transform:scale(.9,.9); /* W3C */ -webkit-transform:scale(.9,.9); /* Safari and Chrome */ @@ -454,7 +438,6 @@ strong { } .c-sponsor-level__name { - font-family: var(--font-heading); color: var(--primary-color); font-size: 3rem; margin-bottom: 4rem; @@ -470,7 +453,6 @@ strong { } .c-sponsor__name { - font-family: var(--font-subtitle); margin-bottom: 1rem; margin-top: 1rem; }