Purpose
This guide is geared for PC browsers (it may work on other browser types/ platforms, but may need tweaks). Tested in Google Chrome browser.
The purpose of this CSS script to expand the leaderboard to be wider for a better viewing experience. This CSS script will only affect Hitman 3 Category Extensions leaderboard, assuming you follow the instructions below carefully.
Instructions
-
Install Stylus here by selecting "Add to Chrome": https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne?hl=en
-
It may be helpful now to pin Stylus to Chrome taskbar so you can more easily access it for the next steps. Example
-
Go to https://www.speedrun.com/hitman_3_extensions. Click on the Stylus icon in taskbar, then "this URL", as shown here: Example
-
You will be redirected to a Stylus page where you can add CSS code: Example
-
Copy and paste the code from here into the Stylus page:
- Use this gist for wider leaderboard
- Use this gist for general improvements including blocking all ads
-
You can edit the style's name, if you wish. Then, click on "Save". You are now done! Example
-
You can turn the custom CSS on and off at any moment, by clicking on the extension and checking/ unchecking the script. Example
-
If you wish to customize this CSS further, you can do so by redoing step 5-6, and editing the code to your liking. The code has been commented to show which parts are necessary for wider leaderboards and which parts are more subjective.
Manage Multiple Styles
Exclude overarching domains from subdomains (e.g. exclude speedrun.com style from speedrun.com/hitman_3_extensions style) like so:
See your styles and what domains they cover here
General Debug Tips
Right click -> Inspect Element on browser page of the leaderboard page you wish to edit the look of, then go to the Styles tab in the Inspect Element page, to see which styles you need to edit to affect the website elements shown on screen. Example
Basic CSS tutorials: https://www.w3schools.com/css/
Hey gamers , Twitch has officially gone live with their 100 hour limit on highlights which means any runs with a "dead link" will be rejected in compliance with the rule requiring all runs to have a viewable video. This doesn't affect anyone wishing to resubmit their runs with a valid link, but we a