A New Look

I realize that I have not posted to this blog for over a year. After looking over it again, I felt that the current design looked a bit dated and decided to give it a bit of a facelift. I wanted a look that is cleaner, better focused on the content, and more flexible for different types of media, whether it be text, code, images, or embedded content.

I began by reducing the size of the ridiculously large heading, making it look like a more conventional navbar, and giving it a dark background. Then, I shrunk the sidebar and expanded the main content, added a subtle blue background color to the sidebar modules for contrast, and changed the link color from red to blue. To match the header, I applied dark backgrounds to the page footer and pager buttons and changed the color scheme of the code blocks from base16-ocean-light to its dark variant.

In addition, I restored the font sizes of h1-h6 heading tags to Bootstrap’s defaults and using the normal font weight in order to better bring out the beauty of Kunth’s Computer Modern typefaces. Finally, I converted the style sheets from Less to Sass in order to take advantage of Jekyll’s built-in Sass support. After all, Bootstrap is also moving from Less to Sass starting with Bootstrap 4.

As for content, there are many topics that I am either itching to write about or have started writing. I have also slightly reorganized my blog categories since I am planning to expand the scope of this blog to also include some of my non-software hobbies and interests. In any event, I am expecting to update this blog a lot more frequently, so stay tuned.

Designing this Blog

I wanted the design of the blog to be minimalist and focused on the two primary types of content: text and code. I built the blog’s template with Bootstrap, using @mdo’s Bootstrap blog template as a starting point, and removed all the accents and chrome, save for the page footer.

This blog makes use of two different typefaces. All text content on this blog uses Donald Knuth’s iconic Computer Modern Serif font, applied using @christianp’s CM web fonts. All inline code is typeset in Computer Modern Typewriter.

Code listings, on the other hand, use Liberation Mono and is typeset against a subtly different background to contrast with the text discussion. I fell in love with the Base16 Ocean color scheme by Chris Kempson and have been using Base16 Ocean Dark as the color scheme for my terminal and Vim. For the code listings on this blog, I chose to use Base16 Ocean Light to complement the minimal look of the blog.

func fibonacci(n int) int {
	if n < 2 {
		return n
	}
	return fibonacci(n - 1) + fibonacci(n - 2)
}

Finally, the blog is generated using Jekyll and is hosted on GitHub Pages.