Xmeter — Atoms
Very specific classes used for creating anomalies or fixing broken styles.
margin-bottom
This atom sets the bottom margin to one vertical rhythm unit (1vru), +
Xmeter — Atoms
Very specific classes used for creating anomalies or fixing broken styles.
margin-bottom
This atom sets the bottom margin to one vertical rhythm unit (1vru),
which is equal to the html
element’s
line-height
multiplied by
1rem
.
@g-vru: @g-line_height * 1rem; -.-mb-1vru { margin-bottom: @g-vru; }
padding-top
This atom sets the top padding to 1vru.
@g-vru: @g-line_height * 1rem; -.-pt-1vru { padding-top: @g-vru; }
padding-top
This atom sets the top padding to 1vru.
@g-vru: @g-line_height * 1rem; +.-pt-1vru { padding-top: @g-vru; }
font-size
These are two groups of atoms. The first group simply sets the font size of an element.
+The second group uses the .font-size-el()
mixin,
+for maintaining vertical rhythm.
See all the font sizes in the source file /src/__settings.less
,
+and all atoms in /src/_atom.less
@g-font_size_peta: 96/16; +@g-font_size_tera: 64/16; +@g-font_size_giga: 48/16; +@g-font_size_mega: 32/16; +@g-font_size_kilo: 24/16; +@g-font_size_norm: 16/16; +@g-font_size_mill: 12/16; +@g-font_size_micr: 8/16; +.-fz-norm { font-size: @g-font_size_norm * 1em; } +.-fz-el-norm { .font-size-el(@g-font_size_norm); }