Mercurial > kallithea
changeset 6970:9b4ebc0b2742
less: add hint about how to generate css from less files
In case somebody opens the css file to make some changes, he will see this
message on how to use less instead of editing the css files.
author | domruf <dominikruf@gmail.com> |
---|---|
date | Tue, 24 Oct 2017 21:09:34 +0200 |
parents | d44232c8d76a |
children | bee750d4ffff |
files | kallithea/public/css/style.css kallithea/public/less/style.less |
diffstat | 2 files changed, 19 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/public/css/style.css Sun Nov 05 13:49:22 2017 +0100 +++ b/kallithea/public/css/style.css Tue Oct 24 21:09:34 2017 +0200 @@ -1,3 +1,12 @@ +/*! + * Don't edit the css file directly. + * + * Instead, edit the less file(s) and regenerate the css: + * + * npm --prefix kallithea/public/less install + * npm --prefix kallithea/public/less run less + * + */ body { background: url("../images/background.png") repeat scroll 0 0 #B0B0B0; font-family: Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
--- a/kallithea/public/less/style.less Sun Nov 05 13:49:22 2017 +0100 +++ b/kallithea/public/less/style.less Tue Oct 24 21:09:34 2017 +0200 @@ -1,3 +1,13 @@ +/*! + * Don't edit the css file directly. + * + * Instead, edit the less file(s) and regenerate the css: + * + * npm --prefix kallithea/public/less install + * npm --prefix kallithea/public/less run less + * + */ + body { background: url("../images/background.png") repeat scroll 0 0 #B0B0B0; font-family: Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;