Haowen Shi

Logo

Computer engineering and robotics enthusiast.

About Me
My Projects
Courses I Took

Resume

Hosting

This site is hosted on GitHub Pages. For custom domain name, I set my domain’s DNS ALIAS record to point towards GitHub server and CNAME to point my www domain to my GitHub pages domain (harveybia.github.io).

Site Generation

I use a static website generator called Jekyll and it integrates well with GitHub pages.

Theme

Minimal

I use a theme called minimal. You can get a preview of what the theme looks like at this example page.

Dark Mode Support

I made my own modifications to this theme to support the ever-popular dark mode.

This was achieved using CSS media queries. In my CSS I added this simple query to override element colors when the preferred color scheme is dark.

@media (prefers-color-scheme:dark) {
  body {
    color:#dcdcdc;
    background:#2a2a2a;
  }

  /* ... */
}

Source Code

You can view this website’s source code here:

harveybia.github.io