dubbo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liu...@apache.org
Subject [dubbo-website] 29/38: hard code font type
Date Wed, 21 Oct 2020 10:12:06 GMT
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 <ken.lj.hz@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 %}


Mime
View raw message