This Website
The base
This website is built on Hugo. Hosted on GitHub and served through Cloudflare. It uses a custom theme named Levee, which is my first ever from-scratch Hugo theme. In the previous iteration of the site I edited the PaperMod theme to fit my style. This time ‘round it’s custom all the way, baby!
The name
Like I said, the theme’s called Levee.
A levee (/ˈlɛvi/ or /ˈlɛveɪ/), is an elevated ridge alongside the banks of a river, often intended to protect against flooding of the area adjoining the river. Alternatively, it is called a dike (American English), dyke (Commonwealth English), floodbank, or stop bank.
Basically it’s a different word for a dyke, which would be translated to dijk in Dutch. My last name is van Dijk.
Van Dijk (Dutch pronunciation: [vɑn ˈdɛik]) is a Dutch toponymic surname meaning “from (the) dike”. With 56,441 people, it was the fifth most common name in the Netherlands in 2007.
Something regarding the nineties would have made more sense, but I was already building the theme before the idea of the 90’s look ever came in. I named it after myself because this is the first time I made a theme for Hugo. I think it looks nice too, Levee. It’s a word that’s not used very ofter either. Unless you’re—I dunno—a levee inspector. Then I think you’d use the word all the time. So much so, it will have lost all meaning… so let’s have it mean my theme instead.
The look
As touched on before, the theme’s heavily inspired by the nineties—the best era there ever was. This is seen in the bold and bright colors, the weird shapes, and the squiggles found on the background of the content pane. The sugarcane striping on the menu pane—not so much. I just like the look and it give a different visual effect. It is not supposed to be a one-to-one copy of something made in that era, but more of a modern-day reinterpretation. A tribute.
I also wanted a change from the drab, dark, flat and simple looks I’ve used in the past. The last few iterations of this place also used a pre-made color theme called Everforest and slight derivations there on. I like these colors as they’re pastel and warm, but I’ve tired of looking at them. Time for something more bold!
The colors
Ah yes. The colors. It’s hard to name the set of colors used. 90s arcade and a Saved By The Bell-look come to mind. They’re bold, bright neon colors and they’re harder or bolder on this site than they’d have been in the 90s. I think it gives it a more modern look and it is more punchy. For people that like to know this sort of thing, these are the main colors used:
-
#ff5fa2pink (neon sunset) -
#ffd23fyellow (lamplight) -
#3ddbd9cyan (fresh turquoise) -
#ff8c42orange (orange bell pepper) -
#66da4egreen (fresh green)
The color names are according to colornamer.robertcooper.me, which is just silly fun.
The fonts
You need to be able to read the text and since making everything Comic Sans is a crime against humanity, I’m using the following fonts:
- Bebas Neue for the all-caps text in buttons and the logo.
- Space Grotesk as the main body’s font.
- Fira Code to display code in codeblocks.
All three licensed under the SIL Open Font License Version 1.1 .
The scripts
Unfortunately this website uses JavaScript, because some things cannot be done with HTML and CSS only. Currently the site uses it for:
- Theme switching. To toggle between light and dark themes on the fly, without changing global preferences.
- Permalink for Microblog. In order for a permalink to make you land on the right paginated page, where the post is on.
- Copy button. Codeblocks have a copy button to copy the code.
- TOC highlighting. Denoting which heading you’re on in the Table Of Content.
- TOC autoscroll. Scrolling the menu to follow the TOC.
- Back to top. The one in the menu, not the one on the bottom of the content.
- More button. The “More” sign in the menu, which scrolls the menu to the end when clicked.
- Random quotes. This is currently NOT in use. I am debating if I want this, but if I do, it will pick a quote at random and place it under the logo, instead of the hero text except on the index page.
None of these things are required and the site works fine without them. It’s just a little more pizazz and some quality of life things.