From fcb04bfaeb0e958fd66800802d6445d2a1d75f89 Mon Sep 17 00:00:00 2001 From: mckaulay Date: Mon, 29 Oct 2018 09:42:32 -0700 Subject: [PATCH] Add consistent monospace system font stack --- web/styles/base-style.styl | 6 +++--- web/styles/components/package.styl | 2 +- web/styles/components/window.styl | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/web/styles/base-style.styl b/web/styles/base-style.styl index 5fb62a47a..81f7a6362 100644 --- a/web/styles/base-style.styl +++ b/web/styles/base-style.styl @@ -4,7 +4,7 @@ pre background #212121 display block padding 20px - font-family Menlo, Courier New + font-family SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace font-size 13px border-radius 3px +breakpoint("tablet") @@ -134,7 +134,7 @@ pre .xml .cdata p code padding 2px 4px - font-family Menlo + font-family SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace color rgba(white,.8) background-color rgba(white,.3) border-radius 3px @@ -150,7 +150,7 @@ dd line-height 20px code padding 2px 4px - font-family Menlo + font-family SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace color black background-color rgba(white,.5) border-radius 3px diff --git a/web/styles/components/package.styl b/web/styles/components/package.styl index 291d7c1dd..0f3a695b4 100644 --- a/web/styles/components/package.styl +++ b/web/styles/components/package.styl @@ -8,7 +8,7 @@ abbr text-decoration: none code - font-family: Menlo, Courier New + font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace font-size: 12px white-space: nowrap diff --git a/web/styles/components/window.styl b/web/styles/components/window.styl index 7c297edd8..498cd55b6 100644 --- a/web/styles/components/window.styl +++ b/web/styles/components/window.styl @@ -52,11 +52,11 @@ max-width 150px margin auto display block - font-family Menlo, Courier New + font-family SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace font-size 12px color #444F5E .window-content - font-family Menlo, Courier New + font-family SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace color #333 font-size 12px padding 20px