Last active
October 10, 2024 09:56
-
-
Save maxmoehl/3a452e1f4d60fdf7399c8ad199a0000f to your computer and use it in GitHub Desktop.
Display all available shortcuts directly in the GitHub UI.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==UserStyle== | |
@name GitHub Shortcuts | |
@description Display all available shortcuts directly in the UI for beginners. | |
@match https://github.com/* | |
@updateURL https://gist.githubusercontent.com/maxmoehl/3a452e1f4d60fdf7399c8ad199a0000f/raw/github-shortcuts.css | |
@version 0.1.1 | |
==/UserStyle== */ | |
/* Font */ | |
#code-tab span:first-of-type::after, | |
#issues-tab span:first-of-type::after, | |
#pull-requests-tab span:first-of-type::after, | |
#discussions-tab span:first-of-type::after, | |
#actions-tab span:first-of-type::after, | |
#projects-tab span:first-of-type::after, | |
#wiki-tab span:first-of-type::after, | |
#branch-picker-repos-header-ref-selector .ref-selector-button-text-container::after { | |
font: 14px var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace); | |
} | |
/* Repository Tabs */ | |
#code-tab span:first-of-type::after { | |
content: " [gc]"; | |
} | |
#issues-tab span:first-of-type::after { | |
content: " [gi]"; | |
} | |
#pull-requests-tab span:first-of-type::after { | |
content: " [gp]"; | |
} | |
#discussions-tab span:first-of-type::after { | |
content: " [gg]"; | |
} | |
#actions-tab span:first-of-type::after { | |
content: " [ga]"; | |
} | |
#projects-tab span:first-of-type::after { | |
content: " [gb]"; | |
} | |
#wiki-tab span:first-of-type::after { | |
content: " [gw]"; | |
} | |
/* Branch Selector */ | |
#branch-picker-repos-header-ref-selector .ref-selector-button-text-container::after { | |
content: " [w]"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment