GitHub pages 7 | Change the Design
Let’s adjust the design a little so it fits into the brand we want to represent. I don’t need to do a lot here at the moment as I already like the plain look of the default jekyll theme minima.
My biggest changes are the introduction of a secondary color instead of the grey and I want to do something with the tags
What you need to know is you have _layout and _base for your general styling and you have the minima.scss for your variables which are depicted by $
Now it’s time to think about your color scheme. you need a main color and a secondary color - for me the main color should be dark and the secondary color should be light
Basic adjustments
For the basic adjustments I want to get a primary and secondary color scheme. Then I want to adjust the current template a little bit so my colors are reflected.
_minima.scss
First we go into _sass/minima.scss. Here, we add a secondary-color variable - play around what color you like. You cam also changed the brand-color here.
simple is key here and we want to focus on content, a small resemblence to your company leads a long way - this should still be an enterprise-ready wiki
_layout.scss
Now we can adjust the _layout.scss. We only really add one thing for post-tag and then adjust the rest a little.
Also adjust the header sizes here.
You will see that the Header sizes are not yet consistent. You can adjust this within .post-content
Tags
I kinda like what this guy did.
Create a new class “post-tag” - funny enough is that all the tags already have the class attached to it so we can just use it as a base. add this code to your Custom segment in your _layout.scss
Site Header
Change the colors on border-top and border-bottom and remove the &:visited.
Then I changed the color of the page links to the other pages
I also changed the menu icon (is showed if you narrow your screen)
Site footer
Change the color of the border to your secondary color and adjust the wrapper of your footer
Page content
Here we just adjust the meta information for each post.
Note: Depending on you secondary color you need to make it darker or lighter so it is good to read.
_base.scss
We can adjust the images, links and icons in _sass/minima/_base.scss
Images
For images I want to add a shadow to make them pop a little.
If you want to change the shadow to a “glowy” style you can als try this.
Links
For the links I just removed the visited because I always find it irritating when websites have different colors for links. Other changes are colors and the underline for the social media links
Icons
change the icon fill to your brand color