/codeforces-darktheme

A dark theme built for Codeforces

Primary LanguageCSSMIT LicenseMIT

Codeforces Dark Theme

Download instructions

  1. Install Tampermonkey for your browser. (Instructions).

**Click this link (White Nutella) ** to install Codeforces dark theme userscript.

**Click this link (Black Nutella) ** to install Codeforces dark theme userscript.

  1. Reload Codeforces twice.

A dark theme for Codeforces. Click to install (requires a userscript manager)

screenshot of home page

In case the script is updated later, you need not revisit the page. Tampermonkey auto fetches new updates every 24hrs by default.

In case you're getting this warning:

Apps, extensions, and user scripts can not be added from this website.

This warning is mainly to prevent vulnerable users from installing malicious extensions and apps. In my case, you can trust this userscript as its code is posted on GitHub, under public scrutiny. So, you can safely ignore the warning and proceed with installation.

External dependencies

Both are for dark theme syntax highlighting of code.

  1. prettyprint's desert.css, since Codeforces depends on the same library for formatting submission's display (Apache license).
  2. Ace editor's monokai.css since Codeforces' submission codebox uses the Ace editor (BSD license).

Contribution guidelines

PRs are most welcome! Though it may be better to first create an issue describing the problem the PR fixes and then create it, in order to get more alternate views on the problem.

License

MIT License attached.