# HG changeset patch # User domruf # Date 2017-10-24 21:09:34 # Node ID 9b4ebc0b274244d8f4824167fc73e42f37cf7c37 # Parent d44232c8d76aab82157a9ccd336612118d91b566 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. diff --git a/kallithea/public/css/style.css b/kallithea/public/css/style.css --- a/kallithea/public/css/style.css +++ b/kallithea/public/css/style.css @@ -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; diff --git a/kallithea/public/less/style.less b/kallithea/public/less/style.less --- a/kallithea/public/less/style.less +++ b/kallithea/public/less/style.less @@ -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;