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 /html/display.mu.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 'html/display.mu.html')
-rw-r--r-- | html/display.mu.html | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/html/display.mu.html b/html/display.mu.html index efae38f5..2137d471 100644 --- a/html/display.mu.html +++ b/html/display.mu.html @@ -12,10 +12,11 @@ <!-- pre { white-space: pre-wrap; font-family: monospace; color: #eeeeee; background-color: #080808; } body { font-family: monospace; color: #eeeeee; background-color: #080808; } -* { font-size: 1em; } -.Comment { color: #8080ff; } -.Constant { color: #008080; } +* { font-size: 1.05em; } +.Comment { color: #9090ff; } +.Constant { color: #00a0a0; } .Special { color: #ff6060; } +.Comment { color: #9090ff; } .muRecipe { color: #ff8700; } --> </style> @@ -31,26 +32,27 @@ body { font-family: monospace; color: #eeeeee; background-color: #080808; } <span class="Comment"># example program: managing the display</span> <span class="muRecipe">recipe</span> main [ - switch-to-display - print-character-to-display <span class="Constant">97:literal</span>, <span class="Constant">2:literal/red</span> + open-console + print-character-to-display <span class="Constant">97:literal</span>, <span class="Constant">1:literal/red</span> 1:number/<span class="Special">raw</span>, 2:number/<span class="Special">raw <- </span>cursor-position-on-display - wait-for-key-from-keyboard + wait-for-some-interaction clear-display move-cursor-on-display <span class="Constant">0:literal</span>, <span class="Constant">4:literal</span> print-character-to-display <span class="Constant">98:literal</span> - wait-for-key-from-keyboard + wait-for-some-interaction move-cursor-on-display <span class="Constant">0:literal</span>, <span class="Constant">0:literal</span> clear-line-on-display - wait-for-key-from-keyboard + wait-for-some-interaction move-cursor-down-on-display - wait-for-key-from-keyboard + wait-for-some-interaction move-cursor-right-on-display - wait-for-key-from-keyboard + wait-for-some-interaction move-cursor-left-on-display - wait-for-key-from-keyboard + wait-for-some-interaction move-cursor-up-on-display - wait-for-key-from-keyboard - return-to-console + wait-for-some-interaction +<span class="CommentedCode">#? $print [aaa] #? 1</span> + close-console ] </pre> </body> |