If you have a GitHub Pages site of HTML files that do not use Jekyll, you can still prettify them using this:

<link rel="stylesheet" href="assets/css/style.css">

Note the URL here is relative to the current page.

If you are adding styling to a subpage, you can use a prefix:

  • /repo-name/ - make it absolute
  • ../ - make it relative