diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-06-23 14:02:12 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-06-23 14:02:12 -0700 |
commit | dbe124108b7a3529feeeba91339928c4ac737072 (patch) | |
tree | 6da7f748b04ec70cf5f778863ae4f86403943eb2 /update_html | |
parent | fedebaf5dbc1b39347ad3e3a1580fa0190c320b6 (diff) | |
download | mu-dbe124108b7a3529feeeba91339928c4ac737072.tar.gz |
1631 - update html versions
Html is a little more readable thanks to feedback from J David Eisenberg (https://news.ycombinator.com/item?id=9766330), in particular the suggestion to use https://addons.mozilla.org/En-us/firefox/addon/wcag-contrast-checker.
Diffstat (limited to 'update_html')
-rwxr-xr-x | update_html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/update_html b/update_html index be541212..d374774c 100755 --- a/update_html +++ b/update_html @@ -8,3 +8,9 @@ do done sed -i 's,<title>\~/Desktop/s/mu/,<title>Mu - ,' html/* sed -i 's,\.html</title>,</title>,' html/* +sed -i 's/^\*.*/* { font-size: 1.05em; }/g' html/* +# tweak contrast +sed -i 's/^\.Constant.*/.Constant { color: #00a0a0; }/' html/* +sed -i 's/^\.muControl.*/.muControl { color: #c0a020; }/' html/* +sed -i 's/^\.Comment.*/.Comment { color: #9090ff; }/' html/* +sed -i 's/^\.Delimiter.*/.Delimiter { color: #a04060; }/' html/* # not meant to be read/ can be lower-contrast |