You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by li...@apache.org on 2020/10/21 10:12:06 UTC
[dubbo-website] 29/38: hard code font type
This is an automated email from the ASF dual-hosted git repository.
liujun pushed a commit to branch mkdocs
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
commit 4ddde80e38249759b8a67987256a7f859362a9fc
Author: ken.lj <ke...@gmail.com>
AuthorDate: Thu Oct 15 10:59:54 2020 +0800
hard code font type
---
overrides/main.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/overrides/main.html b/overrides/main.html
index 0ce0f9e..8d2bd7f 100755
--- a/overrides/main.html
+++ b/overrides/main.html
@@ -7,9 +7,9 @@
{% if font != false %}
<link href="https://fonts.gstatic.com" rel="preconnect" crossorigin>
<link rel="stylesheet" href="https://fonts.loli.net/css?family={{
- font.text | replace(' ', '+') + ':300,400,400i,700%7C' +
- font.code | replace(' ', '+')
+ 'Roboto' | replace(' ', '+') + ':300,400,400i,700%7C' +
+ 'Roboto Mono' | replace(' ', '+')
}}&display=fallback">
- <style>body,input{font-family:"{{ font.text }}",-apple-system,BlinkMacSystemFont,Helvetica,Arial,sans-serif}code,kbd,pre{font-family:"{{ font.code }}",SFMono-Regular,Consolas,Menlo,monospace}</style>
+ <style>body,input{font-family:"{{ Roboto }}",-apple-system,BlinkMacSystemFont,Helvetica,Arial,sans-serif}code,kbd,pre{font-family:"{{ Roboto Mono }}",SFMono-Regular,Consolas,Menlo,monospace}</style>
{% endif %}
{% endblock %}