Granum Basic
CSS micro framework.
Minimal version of Granum
Ultra compact set of styles for basic web pages.
v1.2.128
2 KB minified and gzipped.
npm install granum
Typography
Text, links, code, quotes, lists, colors, modifiers. Minimal styling.
Tables
Borders, width, alignment.
Hoverable, scrollable.
Grids
Responsive grids.
Navigation bars.
Forms
Inline, stacked, aligned, responsive forms.
Inputs, buttons, validation.
Typography ↑
Text
Link
No-link
Code
Kbd
Quote
Small
Mark
Abbr
xsub
xsuper
Block quote
Preformatted text
Some code with var
Heading
Heading 1
Some text.Heading 2
Some text.Heading 3
Some text.Heading 4
Some text.Heading 5
Some text.Heading 6
Some text.Font
Small
Regular
Larger
Large
Largest
Sans-serif Serif Mono
Sans-serif Serif Mono
Color
Error
Warning
Success
Info
Note
Error Warning Success Info Note
Error Warning Success Info Note
Error Warning Success Info Note
Error Warning Success Info Note
Modifiers
Class | div | a | .row | table | form |
---|---|---|---|---|---|
.fit No (margin, padding, border, radius), 1rem, smaller inner margins | * | * | * | dense | * |
.mar Margin | * | * | * | * | * |
.bord Border | * | * | * | * | * |
.pad Padding | * | * | h-gap | line | * |
.mid Centrify vertically | - | - | valign row, item | valign table, tr, td | - |
.l Align | align | right margin | v-gap, align item | wide | * |
.resp Responsive component | - | - | stack | stack | stack |
.act Active link, input validation | - | color | - | - | validation |
.hover Shade on hover | * | * | ul a | tr | - |
Lists ↑
- Basic
- List
- Sub
- Item
- Last
- Ordered
- List
- Sub
- Item
- Final
- Term
- Definition
- Word
- Describe
- Explain
Tables ↑
Name | Area | People |
---|---|---|
Europe | 10.2 | 0.7 |
Asia | 44.6 | 4.6 |
Africa | 30.4 | 1.3 |
North America | 24.7 | 0.6 |
South America | 17.8 | 0.43 |
Australia | 8.6 | 0.04 |
Antarctica | 14 | 0 |
Σ | 150.3 | 7.6 |
Grids ↑
Auto
One
Two middle
Three
text
text
text
text
User Name
Forms ↑
Interactive ↑
Excluded in granum-basic.css:
.bar .tag .tabs .drawer .stick .full .pic .modal table.resp .rad