Helper Classes
Collektion includes special helper classes to help you build your layouts.
Attributes
Class name | Description | CSS |
---|---|---|
white | Define white text color | .white { color: $white; } |
gray | Define gray text color | .gray { color: $gray; } |
black | Define black text color | .black { color: $black; } |
light-gray | Define light gray text color | .light-gray { color: $light-gray; } |
medium-gray | Define medium gray text color | .medium-gray { color: $medium-gray; } |
dark-gray | Define dark gray text color | .dark-gray { color: $dark-gray; } |
text-color | Define the default text color | .text-color { color: $text-color; } |
accent-color | Define the accent text color | .accent-color { color: $accent; } |
hard-top, hard-start |
Remove the top margin & padding of an element | .hard-start, .hard-top { |
hard-bottom, hard-end |
Remove the bottom margin & padding of an element | .hard-end, .hard-bottom { |
align-center | Align an element to center | .align-center { text-align: center; } |
align-left | Align an element to left | .align-left { text-align: left; } |
right-right | Align an element to right | .align-right { text-align: right; float: right; } |
font-italic | Define the italic font style of a element | .font-italic { font-style: italic; } |
font-small | Set small font of a element | .font-small { font-size: .725em } |
font-medium | Set medium font of a element | .font-medium { font-size: 1.2em } |
font-huge | Set huge font of a element | .font-huge { |
more-space | Give more top and bottom margin white space | .more-space { |
link | Give your anchors a special treatment | Hello world. |