From ac54e1b19b9fece09c7e175eeb76746bab4894e6 Mon Sep 17 00:00:00 2001 From: Derek <42170307+2-REC@users.noreply.github.com> Date: Sun, 4 Nov 2018 15:49:04 +0700 Subject: Added info about CSS override. --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 68a37a8..4a4f6da 100644 --- a/README.md +++ b/README.md @@ -186,9 +186,14 @@ In the browser, enter [`localhost:1313`](http://localhost:1313) in the address b ## Going further -!!!! TODO !!!! -- describe css override -- ...? +### Customise the appearance - CSS Override + +A set of CSS rules are used to define the appearance of the website. +To make the website look more personal or to make it fit with the colour schemes of your company/brand, some CSS variables can be directly overriden using extra custom files (and thus not requiring to change anything in the code or main CSS file). + +In order to use custom files, simply add the files in the "static/css" directory, and specify their name (with extension) in the "custom_css" array variable in the "config.toml" file. +The CSS variables that can be overriden are listed in the "default.css" file (in "static/css"), where they get their default value from. The provided "custom.css" file can also be used as template file. + ## Contributing -- cgit v1.2.3