From 22b85593e7e7a5f36dfb36593101572d477abe27 Mon Sep 17 00:00:00 2001 From: Jeroen Ooms Date: Mon, 13 Aug 2018 20:52:56 +0200 Subject: [PATCH] Switch to FiraCode for syntax font (#251) --- themes/ropensci/static/css/code.pcss | 4 ++-- themes/ropensci/static/css/style-new.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/themes/ropensci/static/css/code.pcss b/themes/ropensci/static/css/code.pcss index e50e9a036..5004453c9 100644 --- a/themes/ropensci/static/css/code.pcss +++ b/themes/ropensci/static/css/code.pcss @@ -1,8 +1,8 @@ /* Code stuff */ -@import url('https://fonts.googleapis.com/css?family=Space+Mono:400,400i,700,700i'); +@import url(https://unpkg.com/firacode/distr/fira_code.css); code, pre { - font-family: "Space Mono"; + font-family: "Fira Code"; font-size: .8rem; } diff --git a/themes/ropensci/static/css/style-new.css b/themes/ropensci/static/css/style-new.css index d4dee65cc..66c01a95d 100644 --- a/themes/ropensci/static/css/style-new.css +++ b/themes/ropensci/static/css/style-new.css @@ -1,5 +1,5 @@ -@import url('https://fonts.googleapis.com/css?family=Space+Mono:400,400i,700,700i');/* Reset *//* http://meyerweb.com/eric/tools/css/reset/ +@import url(https://unpkg.com/firacode/distr/fira_code.css);/* Reset *//* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */html, body, div, span, applet, object, iframe, @@ -1182,7 +1182,7 @@ q:before, q:after { border-radius: 20px; font-weight: 700; }/* Code stuff */code, pre { - font-family: "Space Mono"; + font-family: "Fira Code"; font-size: .8rem; }code { background: #f3f7ff;