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/
Hello again Hitman WoA speedrunners! As you may know, Ambrose island has officially been moved into it's place in the Hitman WoA trilogy which means we are now tasked with figuring out the best way to implement the change to the SRC leaderboards. We as a team have decided the best action for now is