瀏覽代碼

Fix body font size to match x.com

Fixes #711
Zed 9 月之前
父節點
當前提交
f038b53fa2
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/sass/index.scss
  2. 1 1
      src/views/general.nim

+ 1 - 1
src/sass/index.scss

@@ -51,7 +51,7 @@ body {
     background-color: var(--bg_color);
     color: var(--fg_color);
     font-family: $font_0, $font_1, $font_2, $font_3;
-    font-size: 14px;
+    font-size: 15px;
     line-height: 1.3;
     margin: 0;
 }

+ 1 - 1
src/views/general.nim

@@ -52,7 +52,7 @@ proc renderHead*(prefs: Prefs; cfg: Config; req: Request; titleText=""; desc="";
   let opensearchUrl = getUrlPrefix(cfg) & "/opensearch"
 
   buildHtml(head):
-    link(rel="stylesheet", type="text/css", href="/css/style.css?v=19")
+    link(rel="stylesheet", type="text/css", href="/css/style.css?v=20")
     link(rel="stylesheet", type="text/css", href="/css/fontello.css?v=3")
 
     if theme.len > 0: