From 6205118c3110406b724f2b889bf7b8f8697dd7f1 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 18 Nov 2016 13:55:28 +0800 Subject: [PATCH] update code font family --- site/theme/static/highlight.less | 4 ++-- site/theme/static/markdown.less | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/site/theme/static/highlight.less b/site/theme/static/highlight.less index 79fdfd2753..180fa94dd5 100644 --- a/site/theme/static/highlight.less +++ b/site/theme/static/highlight.less @@ -14,7 +14,7 @@ pre code { border-radius: 6px; font-size: 13px; white-space: pre; - font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + font-family: "Lucida Console", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; } code[class*="language-"], @@ -22,7 +22,7 @@ pre[class*="language-"] { color: black; background: none; text-shadow: 0 1px white; - font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + font-family: "Lucida Console", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; direction: ltr; text-align: left; white-space: pre; diff --git a/site/theme/static/markdown.less b/site/theme/static/markdown.less index e65417c4e8..df4df81af7 100644 --- a/site/theme/static/markdown.less +++ b/site/theme/static/markdown.less @@ -100,7 +100,7 @@ .markdown pre { border-radius: 6px; background: #f7f7f7; - font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + font-family: "Lucida Console", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; } .markdown pre code { @@ -203,7 +203,7 @@ } .markdown.api-container table { - font-family: Consolas, Menlo, Courier, monospace; + font-family: "Lucida Console", Consolas, Menlo, Courier, monospace; font-size: 13px; td:first-child { background: #fcfcfc;