Skip to content

Commit 11d3940

Browse files
committed
docs(usage): update keyboard shortcuts, fix table style
1 parent 97a681a commit 11d3940

File tree

2 files changed

+30
-42
lines changed

2 files changed

+30
-42
lines changed

static/css/styles.scss

-16
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,6 @@ body {
2020
line-height: 1.6;
2121
}
2222

23-
table tr {
24-
background-color: #fff
25-
}
26-
27-
table tr td,
28-
table tr th {
29-
border: 1px solid #ccc;
30-
text-align: left;
31-
padding: 6px 13px;
32-
margin: 0
33-
}
34-
35-
table tr th {
36-
font-weight: 300
37-
}
38-
3923
.post h1 {
4024
margin-bottom: 0;
4125
}

usage.html

+30-26
Original file line numberDiff line numberDiff line change
@@ -19,58 +19,62 @@ <h2>Search Filters</h2>
1919
</div>
2020

2121
<div class="zd-section">
22-
<h2 id="shortcuts">Keyboard shortcuts</h2>
23-
<table>
22+
<h2 id="shortcuts">Keyboard Shortcuts</h2>
23+
<table class="table">
2424
<thead>
2525
<tr>
26-
<th><strong>Action</strong></th>
27-
<th><strong>Shortcut</strong></th>
26+
<th>Command</th>
27+
<th>Shortcut</th>
2828
</tr>
2929
</thead>
3030
<tbody>
3131
<tr>
32-
<th>Set focus on search bar</th>
33-
<th><strong>Ctrl+K or Ctrl+L</strong></th>
32+
<td>Focus Search Bar</td>
33+
<td><kbd>Ctrl+K</kbd> or <kbd>Ctrl+L</kbd></td>
3434
</tr>
3535
<tr>
36-
<th>Find in page</th>
37-
<th><strong>Ctrl+F</strong></th>
36+
<td>Find in page</td>
37+
<td><kbd>Ctrl+F</kbd> or <kbd>/</kbd></td>
3838
</tr>
3939
<tr>
40-
<th>Preferences</th>
41-
<th><strong>Ctrl+,</strong></th>
40+
<td>New Tab</td>
41+
<td><kbd>Ctrl+T</kbd></td>
4242
</tr>
4343
<tr>
44-
<th>Open a new tab, and jump to it</th>
45-
<th><strong>Ctrl+T</strong></th>
44+
<td>Duplicate Tab</td>
45+
<td><kbd>Ctrl+Alt+T</kbd></td>
4646
</tr>
4747
<tr>
48-
<th>Duplicate current tab</th>
49-
<th><strong>Ctrl+Alt+T</strong></th>
48+
<td>Close Tab</td>
49+
<td><kbd>Ctrl+W</kbd> (<kbd>Ctrl+F4</kbd> on Windows)</td>
5050
</tr>
5151
<tr>
52-
<th>Close current tab</th>
53-
<th><strong>Ctrl+F4</strong></th>
52+
<td>Select Tab 1 to 8</td>
53+
<td><kbd>Alt+1</kbd> through <kbd>Alt+8</kbd></td>
5454
</tr>
5555
<tr>
56-
<th>Jump to a specific tab</th>
57-
<th><strong>Alt+1 through Alt+8</strong></th>
56+
<td>Select Last Tab</td>
57+
<td><kbd>Alt+9</kbd></td>
5858
</tr>
5959
<tr>
60-
<th>Jump to the last tab</th>
61-
<th><strong>Alt+9</strong></th>
60+
<td>Zoom In</td>
61+
<td><kbd>Ctrl+=</kbd> or <kbd>Ctrl++</kbd></td>
6262
</tr>
6363
<tr>
64-
<th>Zoom in</th>
65-
<th><strong>Ctrl+=</strong></th>
64+
<td>Zoom Out</td>
65+
<td><kbd>Ctrl+-</kbd></td>
6666
</tr>
6767
<tr>
68-
<th>Reset zoom</th>
69-
<th><strong>Ctrl+0</strong></th>
68+
<td>Zoom Reset</td>
69+
<td><kbd>Ctrl+0</kbd></td>
7070
</tr>
7171
<tr>
72-
<th>Close application</th>
73-
<th><strong>Ctrl+Q</strong></th>
72+
<td>Open Preferences</td>
73+
<td><kbd>Ctrl+,</kbd></td>
74+
</tr>
75+
<tr>
76+
<td>Quit Zeal</td>
77+
<td><kbd>Ctrl+Q</kbd></td>
7478
</tr>
7579
</tbody>
7680
</table>

0 commit comments

Comments
 (0)