Two layers of styles

Hunch supports three layers of styles. In increasing specificity order, they are:

  • Site styles
  • Element inline styles

Site styles

Styles are applied to all pages in a site.

When publishing, all styles will be contained in site.css, site.css will be included into every page of a site.

Element inline styles

Styles are applied to a specific element. Will be contained in the style attribute of a element. For example,

<div style="position: relative">`