This repository contains my personal CSS modifications for github.com.
It tries to keep elements of the past design alive using CSS, such as:
- More compact layout, less roundness.
- Restore older font weights and colours in commit lists.
- Use monospace for extended commit messages.
- Use older sizes for avatars.
- Hide excessive titles.
Some minor enhancements are made, like:
- Using native checkboxes/radios.
- Sticky comment headers while scrolling an issue/PR.
It won't restore the old UI or layouts, and it can't restore any older UX or speed up the 'modern' AJAX calls. Rather, it tries to keep the older look & feel alive as GitHub keeps advancing towards React.
Like GitHub's design is considered "opinionated", these are also opinionated tweaks to make GitHub a little more comfortable for me, and maybe for you too!
The CSS is optimised for:
- Dark theme.
- Logged in users.
- Opting out of new experiences (e.g. Issues/Pull Requests) until it has been completely rolled out.
- Install Stylus for Firefox or Stylus for Chrome.
- Add the style and click "Install Style".
- This will populate the "update URL" field.
If you use another compatible extension that appends CSS to the page, add this URL:
https://github.com/lah7/github-classic-css/raw/refs/heads/master/github-classic.user.css
| Before | After |
|---|---|
![]() |
![]() |
| Before | After |
|---|---|
![]() |
![]() |
Since around 2020 when GitHub first began regressing changing the UI design,
I began using Stylus to patch things back to something more comfortable.
I figured to make this code public in 2025 after the general availability of the new Issues and Projects, plus I'd like to easily sync updates between my home and work computer.
If/when GitHub changes the UI and I encounter it, I'll update the style as soon as I can.



