Hints, Tips & Tricks

How to style your cheatsheet using CSS

Cheatsheet editor
  • edit cheatsheet
  • edit sections
  • edit rows
  • edit cells
  • switch page layout, grid or column
  • see public cheatsheet page, download PDF
  • change cheatsheet status, publish or unpublish
  • delete cheatsheet (scroll to bottom of the page)
Cheatsheet editor
  • add images, code snippets, links and other content
  • use preview mode to see your changes before saving
  • link to help and tips page.

You can style your cheatsheet using CSS. You can use the following CSS classes to style your cheatsheet:

  • .cheatsheet-component { ... } - to style the cheatsheet component.
  • .cheatsheet-component * { ... } - to style the cheatsheet component.
  • .cheatsheet-page { ... } - to style the cheatsheet page.
  • .cheatsheet-section { ... } - to style the cheatsheet section.
  • .cheatsheet-row { ... } - to style the cheatsheet row.
  • .cheatsheet-cell { ... } - to style the cheatsheet cell.
  • @page { ... } - to style PDF page.
  • Every element has unique CSS class or ID, you can find them in the cheatsheet source code.

Cheatsheet form fields

A cheatsheet has the following form fields:

  • Enable page breaks - enable page breaks in the PDF version of the cheatsheet.
  • Hide page titles - hide the page titles from the cheatsheet.
  • Hide page numbers - hide the page numbers from the cheatsheet PDF.
  • Default header background color - set the default header background color for all sections in the cheatsheet.
  • Custom logo - upload a custom logo for the cheatsheet. Visible at top left corner of the cheatsheet.
  • Custom Google font link - link to a Google font. Must be a full URL to the font file. Also make sure you specified the font family in the Custom CSS section.
  • Custom CSS - Custom CSS to customize cheatsheet, inspect HTML and use can use unique classes of pages/sections/rows/cells.
  • Gap between sections - set the gap between sections in the cheatsheet.