/* definitions.less color and style settings used throughout the website */ @colorBack: #000; // background color @colorText: #fff; // default text color @colorHeading: #fcf; // heading text color @fontTypical: Verdana; // default text font @fontEmphasis: Georgia; // special text font @pad: 15px; // default padding @imgHeight: 250px; // default image height /* end definitions.less */ /* generated.less LESS file to generate CSS */ /* import variable definitions used throughout */ @import "definitions.less"; img { height: @imgHeight; width: auto; padding: @pad; } body { background-color: @colorBack; text-align: center; justify-content: center; } /* mixin */ .defaultTextStyle { font-family: @fontTypical; } h1, h2 { color: @colorHeading; .defaultTextStyle; } p { color: @colorText; .defaultTextStyle; } #special { font-family: @fontEmphasis; }