From d9cd71848230ecb1e70e8e75c6f8f6619473d884 Mon Sep 17 00:00:00 2001 From: LV-426 Date: Mon, 16 Feb 2015 16:42:06 +0200 Subject: add CSS / SCSS coding conventions --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 43401312..55826afc 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,13 @@ To update the css files you need [sass](http://sass-lang.com/). To rebuild the c For dev mode(debbuging, manual file load) use `?debug=1` at end of URL: e.g. `file://rhizifolder/html.index?debug=1` +## CSS / SCSS Coding Conventions +- assume use of modern browsers +- indent files using 4 space characters +- use a combination of CSS classes / IDs to draw common/unique styling, eg. class=form-Foo\_input-field id=email-field +- minimize use of CSS directives, remove directives which have no effect +- avoid using browser-specific CSS directives when hand-writing CSS code + ## Neo4J DB management - to reset the DB: $ neo4j-shell -file res/neo4j/reset-db__clean.cypher -- cgit v1.3.1