浏览代码

whatsnew: Switch to "rem" units for font sizes.

Jordan Russell 1 年之前
父节点
当前提交
703d85a3db
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      whatsnew.htm

+ 6 - 6
whatsnew.htm

@@ -5,18 +5,18 @@
 <title>Inno Setup 6 Revision History</title>
 <base href="https://jrsoftware.org/" />
 <style type="text/css">
-    body         { font: 14px/1.5 "Segoe UI", sans-serif; color: #282828; background-color: white }
+    body         { font: calc(14rem/16)/1.5 "Segoe UI", sans-serif; color: #282828; background-color: white }
     a:link       { color: #264b99; background-color: transparent }
     a:active     { color: #7799dd; background-color: transparent }
     a:visited    { color: #5e85d7; background-color: transparent }
-    tt, pre      { font: 13px/19px monospace; color: inherit; background-color: #f0f0f0; padding: 2px 4px; border-radius: 4px }
+    tt, pre      { font: calc(13rem/16)/calc(19rem/16) monospace; color: inherit; background-color: #f0f0f0; padding: 2px 4px; border-radius: 4px }
     pre          { line-height: normal }
     li, div.limargins { margin-top: 5px; margin-bottom: 5px }
     div.bluehead { text-align: center; color: white; background-color: #264b99; padding: 5px; font-weight: bold; line-height: normal }
-    .date        { font-size: 11px; font-weight: bold }
-    .head1       { font-size: 32px }
-    .head2       { font-size: 20px }
-    .ver         { font-size: 20px; font-weight: bold }
+    .date        { font-size: calc(11rem/16); font-weight: bold }
+    .head1       { font-size: calc(32rem/16) }
+    .head2       { font-size: calc(20rem/16) }
+    .ver         { font-size: calc(20rem/16); font-weight: bold }
 </style>
 </head>
 <body>