diff options
author | gbaz <gershomb@gmail.com> | 2019-03-01 10:43:16 -0500 |
---|---|---|
committer | Alec Theriault <alec.theriault@gmail.com> | 2019-03-01 07:43:16 -0800 |
commit | 8964666efc4d4ab9756a83d16a02115a38744408 (patch) | |
tree | 0dd0a602aefc4eb20a2d8161856012164846d9d7 | |
parent | df4a5bce84505772bb8d611472c57c0c6310107f (diff) |
Increase contrast of Linuwal theme (#1037)
This is to address the concern that, on less nice and older screens,
some of the shades of grey blend in too easily with the white
background.
* darken the font slightly
* darken slightly the grey behind type signatures and such
* add a border and round the corners on code blocks
* knock the font down by one point
-rw-r--r-- | haddock-api/resources/html/Linuwial.std-theme/linuwial.css | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/haddock-api/resources/html/Linuwial.std-theme/linuwial.css b/haddock-api/resources/html/Linuwial.std-theme/linuwial.css index 330c605a..cbb58a03 100644 --- a/haddock-api/resources/html/Linuwial.std-theme/linuwial.css +++ b/haddock-api/resources/html/Linuwial.std-theme/linuwial.css @@ -11,7 +11,7 @@ html { body { background: #fefefe; - color: #333; + color: #111; text-align: left; min-height: 100vh; position: relative; @@ -234,7 +234,7 @@ Display the package name on top of the menu links and center both elements: */ body, button { - font: 400 15px/1.4 'PT Sans', + font: 400 14px/1.4 'PT Sans', /* Fallback Font Stack */ -apple-system, BlinkMacSystemFont, @@ -390,6 +390,8 @@ pre { margin: 1em 0 0 0; background-color: #f7f7f7; overflow: auto; + border: 1px solid #ddd; + border-radius: 0.3em; } pre + p { @@ -408,7 +410,7 @@ blockquote { } .src { - background: #f4f4f4; + background: #f2f2f2; padding: 0.2em 0.5em; } @@ -501,7 +503,7 @@ table.info { } #contents-list { - background: #f7f7f7; + background: #f4f4f4; padding: 1em; margin: 0; } |