aboutsummaryrefslogtreecommitdiffstats
path: root/index.html
diff options
context:
space:
mode:
authorTeddy Wing2018-11-08 17:55:03 +0100
committerTeddy Wing2018-11-08 17:55:03 +0100
commit53b5fbba07c6f4662ad3eccb9c976c86584cfaba (patch)
treee2750d31ced86b8b08a49b207064d1bcdbda5063 /index.html
parent3fed5de1b0b8b390e89b4c85cdceebcdb4560ebd (diff)
downloaddome-key-web-53b5fbba07c6f4662ad3eccb9c976c86584cfaba.tar.bz2
Use a smaller font size for mapping examples
Diffstat (limited to 'index.html')
-rw-r--r--index.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/index.html b/index.html
index b9b0f33..3b06132 100644
--- a/index.html
+++ b/index.html
@@ -28,13 +28,13 @@
<h2>Examples</h2>
<p>Video controls:</p>
- <pre class="code code-block margin-bottom-1.8">
+ <pre class="code code-block margin-bottom-1.8 font-size-0.8">
map &lt;Up&gt; &lt;Left&gt;
map &lt;Play&gt; &lt;Space&gt;
map &lt;Down&gt; &lt;Right&gt;</pre>
<p>Preserve volume buttons and include video controls in a mode:</p>
- <pre class="code code-block margin-bottom-1.8">
+ <pre class="code code-block margin-bottom-1.8 font-size-0.8">
# Don't launch iTunes when pressing the middle button
map &lt;Play&gt; &lt;Nop&gt;
@@ -45,18 +45,18 @@ mode &lt;Play&gt;&lt;Play&gt; {
}</pre>
<p>Application switcher:</p>
- <pre class="code code-block margin-bottom-1.8">
+ <pre class="code code-block margin-bottom-1.8 font-size-0.8">
map &lt;Up&gt; &lt;D-S-Tab&gt;
map &lt;Down&gt; &lt;D-Tab&gt;</pre>
<p>Open frequently used applications:</p>
- <pre class="code code-block margin-bottom-1.8">
+ <pre class="code code-block margin-bottom-1.8 font-size-0.8">
cmd &lt;Up&gt; open -a Terminal
cmd &lt;Play&gt; open -a Xcode
cmd &lt;Down&gt; open -a Firefox</pre>
<p>Open Terminal window #2:</p>
- <pre class="code code-block margin-bottom-1.8">
+ <pre class="code code-block margin-bottom-1.8 font-size-0.8">
cmd &lt;Play&gt; osascript -e 'activate application "Terminal"' -e 'tell application "System Events" to keystroke "2" using command down'</pre>
</div>
</body>