ref #117: separate conf and move shared styles to individual templates