A Micro Micro CMS

The stylesheets V3.7 Oct 2020

Stylesheets for Version 3.1 »

This is not as complicated as it might seem. It's actually very simple! Just leave everything as it is. Or you can modify styles, in which case read on.

Minification of CSS files

Note: the only difference between minified and unminified is that minified has extraneous whitespace removed, some rules compressed, and explanatory comments purged from the stylesheet. This gives you a much smaller CSS file for production use. The idea is to edit the unminified version then minify it as the smaller active file. I use CSS Compressor but there are many others.

Installation

supermicro CMS is initially installed with five stylesheets (not all active):

After setup

When the system is first set up in 'setup' two more stylesheets are created:

Minified stylesheets

The folder /css-unminified/ contains the following inactive stylesheets:

Minified versions of normalize-unminified.css and print-unminified.css are contained in common-g.css and common-h.css. To edit the styles they contain, edit the unminified sections, 'minify' them and paste into common-g.css and common-h.css then upload those two files. Stylesheets can be minified (compressed) here »

The difference between the 'common' stylesheets is that common-g.css specifies Google Fonts and common-h.css self-hosted fonts.

Some default styles are illustrated here »


Changing the styles

This can be done in the main admin page. Under Styles: is a drop-down list where any of the following can be selected and opened with Get styles:

Whichever stylesheet was selected can then be edited and saved with Update styles. If any of 'Current', 'Default' or 'Default unminified' are selected then updated, they will be saved as stylesheet.css – the main stylesheet. Editing and updating 'Extra' will only change extra.css – an optional additional stylesheet that can be used if required to add special styles or try things out.

Browsers will read extra.css after the others to enable normal styles to be modified without changing the main stylesheets.

The various #ids and .classes in the page structure allow the layout and design to be almost anything.


More information about stylesheets (CSS3) at TutorialRepublic »

Information »

Page last modified: 04 December, 2020