mirror of https://github.com/lxndrblz/anatole.git

Alexander Bilz
06.14.2020 c03b27eaaf18ae7c5c216e58e8e4b70c189aa216
refs
author Alexander Bilz <mail@alexbilz.com>
Sunday, December 6, 2020 23:14 +0100
committer Alexander Bilz <mail@alexbilz.com>
Sunday, December 6, 2020 23:14 +0100
commitc03b27eaaf18ae7c5c216e58e8e4b70c189aa216
tree 8aa5e835f30354cda46285736f9aba21bcf7ce41 tree | zip | gz
parent f945e5bea1708e411e787dc0a6e779db2607c2ff view | diff
Control Style variables from config.toml

@ivangjxyz I've played around with SCSS and was able to control the variables from the config.toml.

Simply set these as following:

[params]
body_max_width = "1920px"
content_ratio = 0.7

What do you think?

I still need to convert the rest of the CSS and split the variables and different sections in smaller pieces. But overall I really like the abilities of SCSS.
1 files renamed
1 files modified
56 ■■■■ changed files
assets/scss/main.scss 44 ●●●● diff | view | raw | blame | history
layouts/partials/head.html 12 ●●●● diff | view | raw | blame | history