Minimal CSS framework for semantic HTML
nanoCSS is a minimal CSS framework forked from Pico CSS that
prioritises semantics-oriented syntax. For the most part, nanoCSS works
the same as Pico CSS does, but with a different symbol prefix (nano
instead of pico) and a colouring provision that tracks the 8-colour
palette of IBM-PC compatible terminal consoles.
nanoCSS was forked from the v2.1.1 point release of its parent project. Since it is a hard fork, its inaugural version is v1.0.0.
For now, follow the Pico CSS documentation to get started with nanoCSS.
A lot of the webdev-style infrastructure has been gutted due to lack of necessity. As sure as you probably want to use plain CSS in your project we also wish to employ the same philosophy.
nanoCSS provides the standard 8 colours of the console in a pleasing, pastel tincture that is 15-bit RGB555 compatible, along with their ‘bright’ or ‘bold’ variants. The eight colours, canonically, are as follows:
| black | red | green | yellow | blue | pink | cyan | white |
|---|---|---|---|---|---|---|---|
#000 |
#F00 |
#0F0 |
#FF0 |
#00F |
#F0F |
#0FF |
#FFF |
Additionally, nanoCSS provides two ‘extra’ colours – steel and brown – which should fall back to blue and red, respectively, in the event one cannot or does not wish to render extra colours.