Przeglądaj źródła

whatsnew: Minor CSS tweaks.

- Specify desired line-height on TT instead of depending on BODY's line-height to provide vertical spacing.

- Avoid hard-coding "white".
Jordan Russell 1 rok temu
rodzic
commit
7f695a1f1f
1 zmienionych plików z 4 dodań i 5 usunięć
  1. 4 5
      whatsnew.htm

+ 4 - 5
whatsnew.htm

@@ -5,12 +5,11 @@
 <title>Inno Setup 6 Revision History</title>
 <base href="https://jrsoftware.org/" />
 <style type="text/css">
-    /* line-height 1.5 improves readability, and ensures that there is ~2px vertical spacing between lines of TT text */
     body         { font: 14px/1.5 "Segoe UI", sans-serif; color: #282828; background-color: white }
-    a:link       { color: #264b99; background-color: white }
-    a:active     { color: #7799dd; background-color: white }
-    a:visited    { color: #5e85d7; background-color: white }
-    tt, pre      { font-size: 13px; color: inherit; background-color: #f0f0f0; padding: 2px 4px; border-radius: 4px }
+    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 }
     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 }