50 lines
1.5 KiB
HTML
50 lines
1.5 KiB
HTML
|
<div class="{inDialog ? 'in-dialog' : ''}">
|
||
|
<h1>Hotkeys</h1>
|
||
|
|
||
|
<ul>
|
||
|
<li><kbd>s</kbd> to search</li>
|
||
|
<li><kbd>g</kbd> + <kbd>h</kbd> to go home</li>
|
||
|
<li><kbd>g</kbd> + <kbd>n</kbd> to go to the notifications page</li>
|
||
|
<li><kbd>g</kbd> + <kbd>l</kbd> to go to the local stream page</li>
|
||
|
<li><kbd>g</kbd> + <kbd>t</kbd> to go to the federated stream page</li>
|
||
|
<li><kbd>g</kbd> + <kbd>c</kbd> to go to the community page</li>
|
||
|
<li><kbd>j</kbd> or <kbd>↓</kbd> to activate the next status</li>
|
||
|
<li><kbd>k</kbd> or <kbd>↑</kbd> to activate the previous status</li>
|
||
|
<li><kbd>o</kbd> to open the active status</li>
|
||
|
<li><kbd>f</kbd> to favorite the active status</li>
|
||
|
<li><kbd>b</kbd> to boost the active status</li>
|
||
|
<li><kbd>r</kbd> to reply to the active status</li>
|
||
|
<li><kbd>x</kbd> to show or hide text behind content warning in the active status</li>
|
||
|
<li><kbd>y</kbd> to show or hide sensitive media in the active status</li>
|
||
|
<li><kbd>h</kbd> or <kbd>?</kbd> to toggle the help dialog</li>
|
||
|
<li><kbd>Backspace</kbd> to go back, close dialogs</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<style>
|
||
|
.in-dialog h1 {
|
||
|
color: var(--muted-modal-text);
|
||
|
}
|
||
|
li {
|
||
|
list-style-type: none;
|
||
|
}
|
||
|
.in-dialog li {
|
||
|
color: var(--muted-modal-text);
|
||
|
}
|
||
|
kbd {
|
||
|
color: #333;
|
||
|
display: inline-block;
|
||
|
border: 1px solid #333;
|
||
|
border-radius: 2px;
|
||
|
padding: 0.1em;
|
||
|
margin: 0.2em;
|
||
|
background-color: #dadada;
|
||
|
}
|
||
|
</style>
|
||
|
<script>
|
||
|
export default {
|
||
|
data: () => ({
|
||
|
inDialog: false
|
||
|
})
|
||
|
}
|
||
|
</script>
|