Devhints CSS classes cheatsheet

This is a reference of styles that you can use on Devhints cheatsheets. How meta! You can refer to this when contributing your own cheatsheets to the GitHub repo.

Intro

Variants

H2 sections

ClassDescription
-one-column
-two-column(default)
-three-column
-left-reference
(short first column)
-no-hideDon't hide H2

See: H2 sections

H3 sections

ClassDescription
-primeHighlight

See: H3 sections

Tables

ClassDescription
-bold-firstBold first column
-headersShow headers
-left-alignDon't right align last column
-mute-emLower opacity for italics
-no-wrapDon't wrap text
-shortcutsShortcut keys

See: Tables

Code

ClassDescription
-box-chars
for box drawing chars
-setupGray background
-wrapEnables line-wrapping

See: Code

Paragraphs

ClassDescription
-setupGray background
-crosslinkHas arrow on the link

See: Paragraphs

Lists

ClassDescription
-also-seeLighter background
-four-column
-six-column

See: Lists

Adding variants

## Section
<!-- {.-two-column} -->

Devhints uses Kramdown, and supports adding classes via Kramdown's syntax.

talk-bubbles-line Comments for this cheatsheet. Write yours!