Classes
These classes are not required in any way and are completely optional to use.
<* class='card'>
a card with borders, could be used to separate content from something else.
<* class='left / center / right'>
aligns any text to the left / center / right.
<* class='no-resize / all-resize / ho-resize / ve-resize'>
allows or disallows a textarea to be resized in specified directions.
<input / textarea / select class='small'>
gives less padding on these elements to make them smaller.
<button class='big'>
gives more padding on the button to make it the same size as inputs.
<table class='alternate'>
uses the alternate table style (doesn't change anything with the layout).
<* class='desktop-only'>
only visible on desktop.
<* class='mobile-only'>
only visible on mobile.
Notice cards
<* class='notice'>
creates a focal point with uppercase text and center alignment.<* class='notice warning'>
creates a danger/red card with otherwise same styling as a normalnotice
.
Flexbox
<* class='flex'>
makes any element a flexbox with vertical and horizontal center alignment in a row.<* class='flex column'>
vertical and horizontal alignment in a column.<* class='flex wrap'>
applies flex wrap to the element.
Grids
<div class='grid one / two / three / four / five'>
creates a grid with a specified column count.<div class='grid gap'>
adds the standard gap to the grid.<div class='grid'> <* class='span c-2 / 3 / 4 / 5'></*> </div>
creates a grid item that spans multiple columns, going from 2 to 5.<div class='grid'> <* class='span r-2 / 3 / 4 / 5'></*> </div>
creates a grid item that spans multiple rows, going from 2 to 5.- These grid span items are all reduced to 2 on mobile for responsive design.
Container widths and heights
<* class='width-xs'>
20% viewport width<* class='width-s'>
30% viewport width<* class='width-m'>
50% viewport width<* class='width-l'>
80% viewport width<* class='width-xl'>
100% viewport width<* class='width-100'>
100% parent width<* class='height-100'>
100% parent height<* class='fullscreen'>
100% of the entire viewport (width and height)