Buckram

LicenseBuild StatusLatest Release

Opinionated SCSS components for books (web, EPUB and PDF).

Read the docs.

Testing

Install dependencies:

npm install
composer install

Run tests:

npm test

Releasing

Buckram uses Conventional Commits, enforced with commitlint. This facilitates releasing new versions of the package via Release Please. Release notes will be automatically added to a PR based on commits to dev.

To cut a release, merge the current release pull request. This will tag a new GitHub release and update CHANGELOG.md.

Then, run npm publish from the root of the package and enter your one-time password when prompted. For more information on publishing to npm, see the npm publish documentation.

Colors

variables

body-color

$body-color: $color-1 !default;

Description

Color for <body> elements.

Type

String

blockquote-color

$blockquote-color: $color-1 !default;

Description

Color for all <blockquote> elements.

Type

String

h1-color

$h1-color: $color-2 !default;

Description

Color for <h1> elements.

Type

String

h2-color

$h2-color: $color-2 !default;

Description

Color for <h2> elements.

Type

String

h3-color

$h3-color: $color-2 !default;

Description

Color for <h3> elements.

Type

String

h4-color

$h4-color: $color-3 !default;

Description

Color for <h4> elements.

Type

String

h5-color

$h5-color: $color-3 !default;

Description

Color for <h5> elements.

Type

String

h6-color

$h6-color: $color-3 !default;

Description

Color for <h6> elements.

Type

String

table-color

$table-color: $color-1 !default;

Description

Color for <table> elements.

Type

String

table-para-color

$table-para-color: $color-1 !default;

Description

Color for <p> elements within <table> elements.

Type

String

shade-color-1

$shade-color-1: $color-4 !default;

Description

Shade color for <table> elements.

Type

String

line-color-1

$line-color-1: #000 !default;

Description

Line color for <table> elements.

Type

String

index-para-color

$index-para-color: $color-1 !default;

Description

Color for <p> elements with the class index.

Type

String

image-caption-text-color

$image-caption-text-color: $color-3 !default;

Description

Text color for image captions for <p> elements with class wp-caption-text

Type

String

first-character-color

$first-character-color: $color-2 !default;

Description

Color for elements with classes first-character and firstcharacter.

Type

String

pullquote-color

$pullquote-color: $color-2 !default;

Description

Pullquote color for elements with class pullquote.

Type

String

sidebar-color

$sidebar-color: $color-4 !default;

Description

Sidebar color for <div> elements with class .sidebar.

Type

String

textbox-background-color

$textbox-background-color: initial !default;

Description

Textbox color for <div> elements with class .textbox.

Type

String

shaded-color

$shaded-color: $color-4 !default;

Description

Shading color for <div> elements with class .sidebar.shaded.

Type

String

textbox-shaded-background-color

$textbox-shaded-background-color: $shaded-color !default;

Description

Textbox shaded Background color on elements with a class of textbox and a class of shaded.

Type

String

textbox-border-color

$textbox-border-color: $color-1 !default;

Description

Textbox border color for <div> elements with class .sidebar.

Type

String

hr-break-symbols-border-top-color

Since 1.2.0
$hr-break-symbols-border-top-color: $color-3 !default;

Description

Top border color on break symbols on elements with a class of break-symbols that are children of <hr> elements.

Type

String</code> or <code>Map

dt-color

Since 1.4.0
$dt-color: $color-3 !default;

Description

Color for description term on elements <dt>.

Type

String

footnote-color

Since 1.4.0
$footnote-color: $color-1 !default;

Description

Color for footnotes on elements with class of.footnote.

Type

String

half-title-title-color

$half-title-title-color: $color-2 !default;

Description

Title color for Half Title pages. Targets elements <h1> with a class of title with a parent of ID half-title-page

Type

String

title-page-title-color

$title-page-title-color: $color-2 !default;

Description

Title color for Title page for elements with class title of parent element with ID title-page

Type

String

title-title-decoration-color

$title-title-decoration-color: $title-page-title-color !default;

Description

Subtitle color for Title page for elements with class subtitle of parent element with ID title-page

Type

String</code> or <code>Map

title-page-subtitle-color

$title-page-subtitle-color: $color-3 !default;

Description

Subtitle color for Title page for elements with class subtitle of parent element with ID title-page

Type

String

title-page-author-color

$title-page-author-color: $color-2 !default;

Description

Author color for Title page for elements with class author of parent element with ID title-page

Type

String

title-page-publisher-color

$title-page-publisher-color: $color-3 !default;

Description

Publisher color for Title page for elements with class publisher of parent element with ID title-page

Type

String

title-page-publisher-city-color

$title-page-publisher-city-color: $color-3 !default;

Description

Publisher city color for Title page for elements with class publisher-city of parent element with ID title-page

Type

String

front-matter-title-color

$front-matter-title-color: $color-2 !default;

Description

Front matter title color for elements <h1> with a class front-matter-title.

Type

String

front-matter-title-decoration-color

Since 1.1.0
$front-matter-title-decoration-color: $front-matter-title-color !default;

Description

Front Matter Title decoration color.

Type

String</code> or <code>Map

dedication-para-color

$dedication-para-color: $color-3 !default;

Description

Dedication color for elements <p> with a class of dedication.

Type

String

epigraph-para-color

$epigraph-para-color: $color-3 !default;

Description

Epigraph color for elements <p> with a class of epigraph.

Type

String

part-number-color

$part-number-color: $color-3 !default;

Description

Part number color for elements <h3> with a class of part-number.

Type

String

part-title-color

$part-title-color: $color-2 !default;

Description

Part title color for elements <h2> with a class of part-title.

Type

String

part-title-decoration-color

Since 1.1.0
$part-title-decoration-color: $part-title-color !default;

Description

Part Title decoration color.

Type

String</code> or <code>Map

chapter-number-color

$chapter-number-color: $color-3 !default;

Description

Chapter number color for elements with a class of chapter-number.

Type

String

chapter-title-color

$chapter-title-color: $color-2 !default;

Description

Chapter Title color for elements <h2> with a class of chapter-title.

Type

String

chapter-title-decoration-color

Since 1.1.0
$chapter-title-decoration-color: $chapter-title-color !default;

Description

Chapter Title decoration color.

Type

String</code> or <code>Map

chapter-subtitle-color

$chapter-subtitle-color: $color-3 !default;

Description

Chapter subtitle color for elements <h2> with a class of chapter-subtitle.

Type

String

chapter-author-color

$chapter-author-color: $color-3 !default;

Description

Chapter author color for elements <h2> with a class of chapter-author.

Type

String

chapter-aphorism-color

$chapter-aphorism-color: $color-3 !default;

Description

Chapter aphorism color for elements with a class of aphorism.

Type

String

back-matter-title-color

$back-matter-title-color: $color-2 !default;

Description

Back matter title color for elements <h1> with a class of back-matter-title.

Type

String

back-matter-title-decoration-color

Since 1.1.0
$back-matter-title-decoration-color: $back-matter-title-color !default;

Description

Back Matter Title decoration color.

Type

String</code> or <code>Map

runninghead-color

$runninghead-color: $color-3 !default;

Description

Running head color.

Type

String</code> or <code>Map

Used by

runningfoot-color

$runningfoot-color: $color-3 !default;

Description

Running foot color.

Type

String</code> or <code>Map

Used by

page-number-color

$page-number-color: $color-3 !default;

Description

Page number color

Type

String</code> or <code>Map

toc-title-color

Since 1.0.0
$toc-title-color: $color-1 !default;

Description

Defines the table of contents title color.

Type

String</code> or <code>Map

toc-front-matter-title-color

$toc-front-matter-title-color: $color-1 !default;

Description

Table of contents front matter title color.

Type

String</code> or <code>Map

toc-front-matter-subtitle-color

$toc-front-matter-subtitle-color: $color-1 !default;

Description

Table of contents front matter subtitle color.

Type

String</code> or <code>Map

toc-front-matter-author-color

$toc-front-matter-author-color: $color-1 !default;

Description

Table of contents front matter author color.

Type

String</code> or <code>Map

toc-part-number-color

$toc-part-number-color: $color-3 !default;

Description

Table of contents part number color.

Type

String</code> or <code>Map

toc-part-title-color

$toc-part-title-color: $color-3 !default;

Description

Table of contents part title color.

Type

String</code> or <code>Map

toc-chapter-number-color

$toc-chapter-number-color: $color-1 !default;

Description

Table of contents Chapter number color.

Type

String</code> or <code>Map

toc-chapter-title-color

$toc-chapter-title-color: $color-1 !default;

Description

Table of Contents Chapter title color.

Type

String</code> or <code>Map

toc-chapter-subtitle-color

$toc-chapter-subtitle-color: $color-1 !default;

Description

Table of contents Chapter subtitle color.

Type

String</code> or <code>Map

toc-chapter-author-color

$toc-chapter-author-color: $color-1 !default;

Description

Table of contents Chapter author color.

Type

String</code> or <code>Map

toc-page-number-color

$toc-page-number-color: $color-1 !default;

Description

Table of contents page number color.

Type

String</code> or <code>Map

toc-front-matter-page-number-color

$toc-front-matter-page-number-color: $color-1 !default;

Description

Table of contents front matter page number color.

Type

String</code> or <code>Map

toc-back-matter-title-color

Since 1.0.0
$toc-back-matter-title-color: $toc-front-matter-title-color !default;

Description

Table of contents back matter title color.

Type

String</code> or <code>Map

toc-back-matter-subtitle-color

Since 1.0.0
$toc-back-matter-subtitle-color: $toc-front-matter-subtitle-color !default;

Description

Table of contents back matter subtitle color.

Type

String</code> or <code>Map

toc-back-matter-author-color

Since 1.0.0
$toc-back-matter-author-color: $toc-front-matter-author-color !default;

Description

Table of contents back matter author color.

Type

String</code> or <code>Map

Elements

variables

body-font-family

$body-font-family: $font-1 !default;

Description

Font Stack for <body> element.

Type

String

body-font-size

$body-font-size: (epub: medium, prince: 11pt, web: 14pt) !default;

Description

Font Size for <body> element.

Type

String</code> or <code>Map

body-font-style

$body-font-style: normal !default;

Description

Font style for <body> element.

Type

String

body-font-weight

$body-font-weight: normal !default;

Description

Font weight for <body> element.

Type

String

body-line-height

$body-line-height: (epub: 1.4em, prince: 1.4em, web: 1.8em) !default;

Description

Line height for <body> element.

Type

String</code> or <code>Map

hx-margin-top

$hx-margin-top: 1.5em !default;

Description

Top margin for all heading elements.

Type

String</code> or <code>Map

hx-margin-bottom

$hx-margin-bottom: 1em !default;

Description

Bottom margin for all heading elements.

Type

String</code> or <code>Map

hx-padding-bottom

Since 1.0.0
$hx-padding-bottom: 0 !default;

Description

Bottom padding for all heading elements.

Type

String</code> or <code>Map

hx-line-height

$hx-line-height: 1.5em !default;

Description

Line height for all heading elements.

Type

String</code> or <code>Map

hx-border-bottom-style

Since 1.0.0
$hx-border-bottom-style: none !default;

Description

Bottom border style for all heading elements.

Type

String

hx-border-bottom-width

Since 1.0.0
$hx-border-bottom-width: 0 !default;

Description

Bottom border width for all heading elements.

Type

String</code> or <code>Map

hx-border-bottom-color

Since 1.0.0
$hx-border-bottom-color: initial !default;

Description

Bottom border color for all heading elements.

Type

String</code> or <code>Map

hx-letter-spacing

Since 1.2.0
$hx-letter-spacing: (
  epub: normal,
  prince: normal,
  web: normal
) !default;

Description

Letter spacing for all heading elements.

Type

String</code> or <code>Map

hx-word-spacing

Since 1.2.0
$hx-word-spacing: (
  epub: normal,
  prince: normal,
  web: normal
) !default;

Description

Word spacing for all heading elements.

Type

String</code> or <code>Map

h1-margin-top

$h1-margin-top: $hx-margin-top !default;

Description

Top margin for <h1> elements.

Type

String</code> or <code>Map

h1-margin-bottom

$h1-margin-bottom: $hx-margin-bottom !default;

Description

Bottom margin for <h1> elements.

Type

String</code> or <code>Map

h1-padding-bottom

$h1-padding-bottom: $hx-padding-bottom !default;

Description

Bottom padding for <h1> elements.

Type

String</code> or <code>Map

h1-font-family

$h1-font-family: $font-3 !default;

Description

Font stack for <h1> elements.

Type

String

h1-font-size

$h1-font-size: 1em !default;

Description

Font size for <h1> elements.

Type

String</code> or <code>Map

h1-font-style

$h1-font-style: normal !default;

Description

Font style for <h1> elements.

Type

String

h1-font-weight

$h1-font-weight: bold !default;

Description

Font weight for <h1> elements.

Type

String

h1-line-height

$h1-line-height: $hx-line-height !default;

Description

Line height for <h1> elements.

Type

String</code> or <code>Map

h1-text-transform

$h1-text-transform: none !default;

Description

Text transform for <h1> elements.

Type

String

h1-align

$h1-align: center !default;

Description

Alignment for <h1> elements.

Type

String

h1-border-bottom-style

Since 1.0.0
$h1-border-bottom-style: $hx-border-bottom-style !default;

Description

Bottom border style for <h1> elements.

Type

String

h1-border-bottom-width

Since 1.0.0
$h1-border-bottom-width: $hx-border-bottom-width !default;

Description

Bottom border width for <h1> elements.

Type

String</code> or <code>Map

h1-border-bottom-color

Since 1.0.0
$h1-border-bottom-color: $hx-border-bottom-color !default;

Description

Bottom border color for <h1> elements.

Type

String</code> or <code>Map

h1-letter-spacing

Since 1.2.0
$h1-letter-spacing: $hx-word-spacing !default;

Description

Word spacing for '

' elements.

Type

String</code> or <code>Map

h1-word-spacing

Since 1.2.0
$h1-word-spacing: $hx-word-spacing !default;

Description

Word spacing for '

' elements.

Type

String</code> or <code>Map

h2-margin-top

$h2-margin-top: $hx-margin-top !default;

Description

Top margin for <h2> elements.

Type

String</code> or <code>Map

h2-margin-bottom

$h2-margin-bottom: $hx-margin-bottom !default;

Description

Bottom margin for <h2> elements.

Type

String</code> or <code>Map

h2-padding-bottom

Since 1.0.0
$h2-padding-bottom: $hx-padding-bottom !default;

Description

Bottom padding for <h2> elements.

Type

String</code> or <code>Map

h2-font-family

$h2-font-family: $font-3 !default;

Description

Font Stack for <h2> elements.

Type

String

h2-font-size

$h2-font-size: 1em !default;

Description

Font size for <h2> elements.

Type

String</code> or <code>Map

h2-font-style

$h2-font-style: normal !default;

Description

Font style for <h2> elements.

Type

String

h2-font-weight

$h2-font-weight: normal !default;

Description

Font weight for <h2> elements.

Type

String

h2-line-height

$h2-line-height: $hx-line-height !default;

Description

Line Height for <h2> elements.

Type

String</code> or <code>Map

h2-text-transform

$h2-text-transform: none !default;

Description

Text Transform for <h2> elements.

Type

String

h2-align

$h2-align: center !default;

Description

Alignment for <h2> elements.

Type

String

h2-border-bottom-style

Since 1.0.0
$h2-border-bottom-style: $hx-border-bottom-style !default;

Description

Bottom border style for <h2> elements.

Type

String

h2-border-bottom-width

Since 1.0.0
$h2-border-bottom-width: $hx-border-bottom-width !default;

Description

Bottom border width for <h2> elements.

Type

String</code> or <code>Map

h2-border-bottom-color

Since 1.0.0
$h2-border-bottom-color: $hx-border-bottom-color !default;

Description

Bottom border color for <h2> elements.

Type

String</code> or <code>Map

h2-letter-spacing

Since 1.2.0
$h2-letter-spacing: $hx-word-spacing !default;

Description

Word spacing for '

' elements.

Type

String</code> or <code>Map

h2-word-spacing

Since 1.2.0
$h2-word-spacing: $hx-word-spacing !default;

Description

Word spacing for '

' elements.

Type

String</code> or <code>Map

h3-margin-top

$h3-margin-top: $hx-margin-top !default;

Description

Top margin for <h3> elements.

Type

String</code> or <code>Map

h3-margin-bottom

$h3-margin-bottom: $hx-margin-bottom !default;

Description

Bottom margin for <h3> elements.

Type

String</code> or <code>Map

h3-padding-bottom

Since 1.0.0
$h3-padding-bottom: $hx-padding-bottom !default;

Description

Bottom padding for <h3> elements.

Type

String</code> or <code>Map

h3-font-family

$h3-font-family: $font-3 !default;

Description

Font Family for <h3> elements.

Type

String

h3-font-size

$h3-font-size: 1em !default;

Description

Font size for <h3> elements.

Type

String</code> or <code>Map

h3-font-style

$h3-font-style: italic !default;

Description

Font Style for <h3> elements.

Type

String

h3-font-weight

$h3-font-weight: normal !default;

Description

Font Weight for <h3> elements.

Type

String

h3-line-height

$h3-line-height: $hx-line-height !default;

Description

Line Height for <h3> elements.

Type

String</code> or <code>Map

h3-text-transform

$h3-text-transform: none !default;

Description

Text Transform for <h3> elements.

Type

String

h3-align

$h3-align: center !default;

Description

Alignment for <h3> elements.

Type

String

h3-border-bottom-style

Since 1.0.0
$h3-border-bottom-style: $hx-border-bottom-style !default;

Description

Bottom border style for <h3> elements.

Type

String

h3-border-bottom-width

Since 1.0.0
$h3-border-bottom-width: $hx-border-bottom-width !default;

Description

Bottom border width for <h3> elements.

Type

String</code> or <code>Map

h3-border-bottom-color

Since 1.0.0
$h3-border-bottom-color: $hx-border-bottom-color !default;

Description

Bottom border color for <h3> elements.

Type

String</code> or <code>Map

h3-letter-spacing

Since 1.2.0
$h3-letter-spacing: $hx-word-spacing !default;

Description

Word spacing for '

' elements.

Type

String</code> or <code>Map

h3-word-spacing

Since 1.2.0
$h3-word-spacing: $hx-word-spacing !default;

Description

Word spacing for '

' elements.

Type

String</code> or <code>Map

h4-margin-top

$h4-margin-top: $hx-margin-top !default;

Description

Top margin for <h4> elements.

Type

String</code> or <code>Map

h4-margin-bottom

$h4-margin-bottom: $hx-margin-bottom !default;

Description

Bottom Margin for <h4> elements.

Type

String</code> or <code>Map

h4-padding-bottom

Since 1.0.0
$h4-padding-bottom: $hx-padding-bottom !default;

Description

Bottom padding for <h4> elements.

Type

String</code> or <code>Map

h4-font-family

$h4-font-family: $font-3 !default;

Description

Font Stack for <h4> elements.

Type

String

h4-font-size

$h4-font-size: 1em !default;

Description

Font size for <h4> elements.

Type

String</code> or <code>Map

h4-font-style

$h4-font-style: normal !default;

Description

Font Style for <h4> elements.

Type

String

h4-font-weight

$h4-font-weight: normal !default;

Description

Font Weight for <h4> elements.

Type

String

h4-line-height

$h4-line-height: $hx-line-height !default;

Description

Line Height for <h4> elements.

Type

String</code> or <code>Map

h4-text-transform

$h4-text-transform: none !default;

Description

Text Transform for <h4> elements.

Type

String

h4-align

$h4-align: left !default;

Description

Alignment for <h4> elements.

Type

String

h4-border-bottom-style

Since 1.0.0
$h4-border-bottom-style: $hx-border-bottom-style !default;

Description

Bottom border style for <h4> elements.

Type

String

h4-border-bottom-width

Since 1.0.0
$h4-border-bottom-width: $hx-border-bottom-width !default;

Description

Bottom border width for <h4> elements.

Type

String</code> or <code>Map

h4-border-bottom-color

Since 1.0.0
$h4-border-bottom-color: $hx-border-bottom-color !default;

Description

Bottom border color for <h4> elements.

Type

String</code> or <code>Map

h4-letter-spacing

Since 1.2.0
$h4-letter-spacing: $hx-word-spacing !default;

Description

Word spacing for '

' elements.

Type

String</code> or <code>Map

h4-word-spacing

Since 1.2.0
$h4-word-spacing: $hx-word-spacing !default;

Description

Word spacing for '

' elements.

Type

String</code> or <code>Map

h5-margin-top

$h5-margin-top: $hx-margin-top !default;

Description

Top Margin for <h5> elements.

Type

String</code> or <code>Map

h5-margin-bottom

$h5-margin-bottom: $hx-margin-bottom !default;

Description

Bottom margin for <h5> elements.

Type

String</code> or <code>Map

h5-padding-bottom

Since 1.0.0
$h5-padding-bottom: $hx-padding-bottom !default;

Description

Bottom padding for <h5> elements.

Type

String</code> or <code>Map

h5-font-family

$h5-font-family: $font-3 !default;

Description

Font Stack for <h5> elements.

Type

String

h5-font-size

$h5-font-size: 1em !default;

Description

Font size for <h5> elements.

Type

String</code> or <code>Map

h5-font-style

$h5-font-style: italic !default;

Description

Font Style for <h5> elements.

Type

String

h5-font-weight

$h5-font-weight: normal !default;

Description

Font weight for <h5> elements.

Type

String

h5-line-height

$h5-line-height: $hx-line-height !default;

Description

Line height for <h5> elements.

Type

String</code> or <code>Map

h5-text-transform

$h5-text-transform: none !default;

Description

Text transform for <h5> elements.

Type

String

h5-align

$h5-align: left !default;

Description

Alignment for <h5> elements.

Type

String

h5-border-bottom-style

Since 1.0.0
$h5-border-bottom-style: $hx-border-bottom-style !default;

Description

Bottom border style for <h5> elements.

Type

String

h5-border-bottom-width

Since 1.0.0
$h5-border-bottom-width: $hx-border-bottom-width !default;

Description

Bottom border width for <h5> elements.

Type

String</code> or <code>Map

h5-border-bottom-color

Since 1.0.0
$h5-border-bottom-color: $hx-border-bottom-color !default;

Description

Bottom border color for <h5> elements.

Type

String</code> or <code>Map

h5-letter-spacing

Since 1.2.0
$h5-letter-spacing: $hx-word-spacing !default;

Description

Word spacing for '

' elements.

Type

String</code> or <code>Map

h5-word-spacing

Since 1.2.0
$h5-word-spacing: $hx-word-spacing !default;

Description

Word spacing for '

' elements.

Type

String</code> or <code>Map

h6-margin-top

$h6-margin-top: $hx-margin-top !default;

Description

Top margin for <h6> elements.

Type

String</code> or <code>Map

h6-margin-bottom

$h6-margin-bottom: $hx-margin-bottom !default;

Description

Bottom margin for <h6> elements.

Type

String</code> or <code>Map

h6-padding-bottom

Since 1.0.0
$h6-padding-bottom: $hx-padding-bottom !default;

Description

Bottom padding for <h6> elements.

Type

String</code> or <code>Map

h6-font-family

$h6-font-family: $font-1 !default;

Description

Font stack for <h6> elements.

Type

String

h6-font-size

$h6-font-size: 1em !default;

Description

Font size for <h6> elements.

Type

String</code> or <code>Map

h6-font-style

$h6-font-style: normal !default;

Description

Font style for <h6> elements.

Type

String

h6-font-weight

$h6-font-weight: normal !default;

Description

Font weight for <h6> elements.

Type

String

h6-line-height

$h6-line-height: $hx-line-height !default;

Description

Line height for <h6> elements.

Type

String</code> or <code>Map

h6-text-transform

$h6-text-transform: none !default;

Description

Tex transform for <h6> elements.

Type

String

h6-align

$h6-align: left !default;

Description

Alignment for <h6> elements.

Type

String

h6-border-bottom-style

Since 1.0.0
$h6-border-bottom-style: $hx-border-bottom-style !default;

Description

Bottom border style for <h6> elements.

Type

String

h6-border-bottom-width

Since 1.0.0
$h6-border-bottom-width: $hx-border-bottom-width !default;

Description

Bottom border width for <h6> elements.

Type

String</code> or <code>Map

h6-border-bottom-color

Since 1.0.0
$h6-border-bottom-color: $hx-border-bottom-color !default;

Description

Bottom border color for <h6> elements.

Type

String</code> or <code>Map

h6-letter-spacing

Since 1.2.0
$h6-letter-spacing: $hx-word-spacing !default;

Description

Word spacing for '

' elements.

Type

String</code> or <code>Map

h6-word-spacing

Since 1.2.0
$h6-word-spacing: $hx-word-spacing !default;

Description

Word spacing for '

' elements.

Type

String</code> or <code>Map

para-margin-bottom

$para-margin-bottom: 0 !default;

Description

Bottom margin for <p> elements.

Type

String

para-align

$para-align: (epub: initial, prince: justify, web: initial) !default;

Description

Alignment for <p> elements.

Type

String</code> or <code>Map

widows

$widows: 2 !default;

Description

Amount of of lines a paragraph must have if it ends on the top of a page.

Type

String

orphans

$orphans: 1 !default;

Description

Amount of lines tolerated if a paragraph begins at the bottom of a page.

Type

String

para-margin-top

$para-margin-top: 0 !default;

Description

Top margin for <p> elements.

Type

String

para-indent

$para-indent: 1em !default;

Description

Text indentation size for <p> elements with class indent.

Type

String

para-no-indent-margin-top

$para-no-indent-margin-top: 1em !default;

Description

Top margin for <p> elements with class no-indent.

Type

String

para-hyphens

$para-hyphens: auto !default;

Description

Hyphenation for <p> elements.

Type

String

para-hanging-indent-padding-left

$para-hanging-indent-padding-left: 1em !default;

Description

Amount of hanging indentation for <p> elements with class hanging-indent.

Type

String

para-hanging-indent-text-indent

$para-hanging-indent-text-indent: -1em !default;

Description

Amount of indentation on first line of hanging indentation format for <p> elements with class hanging-indent.

Type

String

para-tight-letter-spacing

$para-tight-letter-spacing: -0.25px !default;

Description

Amount of letter spacing for <p> elements with a class of tight (tight letter tracking).

Type

String

para-tight-word-spacing

$para-tight-word-spacing: -0.075em !default;

Description

Amount of word spacing for <p> elements with a class of tight (tight letter tracking).

Type

String

para-very-tight-letter-spacing

$para-very-tight-letter-spacing: -0.5px !default;

Description

Amount of letter spacing for <p> elements with a class of very-tight (very tight letter tracking).

Type

String

para-very-tight-word-spacing

$para-very-tight-word-spacing: -0.09em !default;

Description

Amount of word spacing for <p> elements with a class of very-tight (very tight letter tracking).

Type

String

para-loose-letter-spacing

$para-loose-letter-spacing: 0.25px !default;

Description

Amount of letter spacing for <p> elements with a class of loose (loose letter tracking).

Type

String

para-loose-word-spacing

$para-loose-word-spacing: 0.075em !default;

Description

Amount of word spacing for <p> elements with a class of loose (loose letter tracking).

Type

String

para-very-loose-letter-spacing

$para-very-loose-letter-spacing: 0.5px !default;

Description

Amount of letter spacing for <p> elements with a class of very-loose (very loose letter tracking).

Type

String

para-very-loose-word-spacing

$para-very-loose-word-spacing: 0.09em !default;

Description

Amount of word spacing for <p> elements with a class of very-loose (very loose letter tracking).

Type

String

blockquote-font-family

$blockquote-font-family: $font-1 !default;

Description

Font stack for <blockquote> elements.

Type

String

blockquote-font-size

$blockquote-font-size: 0.9em !default;

Description

Font size for <blockquote> elements.

Type

String

blockquote-font-style

$blockquote-font-style: normal !default;

Description

Font style for <blockquote> elements.

Type

String

blockquote-font-weight

$blockquote-font-weight: normal !default;

Description

Font weight for <blockquote> elements.

Type

String

blockquote-line-height

$blockquote-line-height: 1.2em !default;

Description

Line height for <blockquote> elements.

Type

String

blockquote-margin-top

$blockquote-margin-top: 1em !default;

Description

Top margin for <blockquote> elements.

Type

String

blockquote-margin-right

$blockquote-margin-right: 1em !default;

Description

Right margin for <blockquote> elements.

Type

String

blockquote-margin-bottom

$blockquote-margin-bottom: 1em !default;

Description

Bottom margin for <blockquote> elements.

Type

String

blockquote-margin-left

$blockquote-margin-left: 1em !default;

Description

Left margin for <blockquote> elements.

Type

String

blockquote-padding-top

Since version — <p>1.0.0</p>
$blockquote-padding-top: (epub: 0, prince: 0, web: 0) !default;

Description

Top padding for <blockquote> elements.

Type

String</code> or <code>Map

blockquote-padding-right

Since version — <p>1.0.0</p>
$blockquote-padding-right: (epub: 0, prince: 0, web: 0) !default;

Description

Right padding for <blockquote> elements.

Type

String</code> or <code>Map

blockquote-padding-bottom

Since version — <p>1.0.0</p>
$blockquote-padding-bottom: (epub: 0, prince: 0, web: 0) !default;

Description

Bottom padding for <blockquote> elements.

Type

String</code> or <code>Map

blockquote-padding-left

Since version — <p>1.0.0</p>
$blockquote-padding-left: (epub: 0, prince: 0, web: 0) !default;

Description

Left padding for <blockquote> elements.

Type

String</code> or <code>Map

blockquote-align

$blockquote-align: justify !default;

Description

Alignment for <blockquote> elements.

Type

String

blockquote-letter-spacing

Since 1.0.0
$blockquote-letter-spacing: (
  epub: normal,
  prince: normal,
  web: normal
) !default;

Description

Letter spacing on <blockquote> elements.

Type

String</code> or <code>Map

blockquote-word-spacing

Since 1.0.0
$blockquote-word-spacing: (
  epub: normal,
  prince: normal,
  web: normal
) !default;

Description

Word spacing on <blockquote> elements.

Type

String</code> or <code>Map

blockquote-border-left-width

Since 1.0.0
$blockquote-border-left-width: (epub: 0, prince: 0, web: 0) !default;

Description

Left border width for <blockquote> elements.

Type

String</code> or <code>Map

blockquote-border-left-style

Since 1.0.0
$blockquote-border-left-style: none !default;

Description

Left border style for <blockquote> elements.

Type

String

blockquote-border-left-color

Since 1.0.0
$blockquote-border-left-color: initial !default;

Description

Left border color for <blockquote> elements.

Type

String

ol-margin-top

$ol-margin-top: 1em !default;

Description

Top margin for <ol> elements.

Type

String</code> or <code>Map

ol-margin-bottom

$ol-margin-bottom: 1em !default;

Description

Bottom margin for <ol> elements.

Type

String</code> or <code>Map

ol-margin-left

$ol-margin-left: (epub: 2em, prince: 2em, web: 0) !default;

Description

Left margin for <ol> elements.

Type

String</code> or <code>Map

ol-padding-left

$ol-padding-left: 2em !default;

Description

Padding left for <ol> elements.

Type

String</code> or <code>Map

ul-margin-top

$ul-margin-top: 1em !default;

Description

Top margin for <ul> elements.

Type

String</code> or <code>Map

ul-margin-bottom

$ul-margin-bottom: 1em !default;

Description

Bottom Margin for <ul> elements.

Type

String</code> or <code>Map

ul-margin-left

$ul-margin-left: (epub: 2em, prince: 2em, web: 0) !default;

Description

Margin left for <ul> elements.

Type

String</code> or <code>Map

ul-padding-left

$ul-padding-left: 2em !default;

Description

Padding left for <ul> elements.

Type

String</code> or <code>Map

li-li-margin-top

$li-li-margin-top: 0.5em !default;

Description

Top margin for multiple <li> elements.

Type

String</code> or <code>Map

ol-ol-margin-top

$ol-ol-margin-top: 0.5em !default;

Description

Top margin for multiple <ol> elements.

Type

String</code> or <code>Map

ul-ul-margin-top

$ul-ul-margin-top: 0.5em !default;

Description

Top margin for multiple <ol> elements.

Type

String</code> or <code>Map

dt-margin-top

$dt-margin-top: 0 !default;

Description

Top margin for <dt> elements.

Type

String</code> or <code>Map

dt-margin-right

$dt-margin-right: 0 !default;

Description

Right margin for <dt> elements.

Type

String</code> or <code>Map

dt-margin-bottom

$dt-margin-bottom: 0 !default;

Description

Bottom margin for <dt> elements.

Type

String</code> or <code>Map

dt-margin-left

$dt-margin-left: 0 !default;

Description

Left margin for <dt> elements.

Type

String</code> or <code>Map

dt-font-style

$dt-font-style: normal !default;

Description

Font style for <dt> elements.

Type

String

dt-font-weight

$dt-font-weight: bold !default;

Description

Font weight for <dt> elements.

Type

String

dd-dt-spacing

Since 1.2.0
$dd-dt-spacing: 1em !default;

Description

Spacing between a <dt> element and the subsequent <dt> element.

Type

String</code> or <code>Map

dd-margin-top

$dd-margin-top: 0 !default;

Description

Top margin for <dd> elements.

Type

String</code> or <code>Map

dd-margin-right

$dd-margin-right: 0 !default;

Description

Right margin for <dd> elements.

Type

String</code> or <code>Map

dd-margin-bottom

$dd-margin-bottom: 0 !default;

Description

Bottom margin for <dd> elements.

Type

String</code> or <code>Map

dd-margin-left

$dd-margin-left: (epub: 0, prince: 2em, web: 0) !default;

Description

Left margin for <dd> elements.

Type

String</code> or <code>Map

dd-font-style

$dd-font-style: normal !default;

Description

Font style for <dd> elements.

Type

String

dd-font-weight

$dd-font-weight: normal !default;

Description

Font weight for <dd> elements.

Type

String

table-margin-top

$table-margin-top: 1.5em !default;

Description

Top margin for <table> elements.

Type

String

table-margin-bottom

$table-margin-bottom: 1.5em !default;

Description

Bottom margin for <table> elements.

Type

String

table-font-family

$table-font-family: $font-1 !default;

Description

Font stack for <table> elements.

Type

String

table-font-size

$table-font-size: 0.9em !default;

Description

Font size for <table> elements.

Type

String

table-hyphens

$table-hyphens: none !default;

Description

Hyphens for <table> elements.

Type

String

table-line-height

$table-line-height: 1.1em;

Description

Line height for <table> elements.

Type

String

table-align

$table-align: left !default;

Description

Alignment for <table> elements.

Type

String

table-alignleft-margin-right

Since 1.2.0
$table-alignleft-margin-right: (epub: 1.5em, prince: 1.5em, web: 1.5em) !default;

Description

Margin right for <table> elements with a class of "alignleft".

Type

String</code> or <code>Map

table-alignright-margin-left

Since 1.2.0
$table-alignright-margin-left: (epub: 1.5em, prince: 1.5em, web: 1.5em) !default;

Description

Margin left for <table> elements with a class of "alignright".

Type

String</code> or <code>Map

table-border-width

$table-border-width: 1px !default;

Description

Border width for <table> elements.

Type

String

table-border-left-width

Since 1.3.0
$table-border-left-width: (epub: 0, prince: 0, web: 0) !default;

Description

Border left width for <table> elements.

Type

String</code> or <code>Map

table-border-left-style

Since 1.3.0
$table-border-left-style: (epub: none, prince: none, web: none) !default;

Description

Border left style for <table> elements.

Type

String</code> or <code>Map

table-border-right-width

Since 1.3.0
$table-border-right-width: (epub: 0, prince: 0, web: 0) !default;

Description

Border right width for <table> elements.

Type

String</code> or <code>Map

table-border-right-style

Since 1.3.0
$table-border-right-style: (epub: none, prince: none, web: none) !default;

Description

Border right style for <table> elements.

Type

String</code> or <code>Map

table-caption-margin-bottom

$table-caption-margin-bottom: 0.5em !default;

Description

Margin Bottom for <caption> elements.

Type

String

table-caption-font-weight

$table-caption-font-weight: bold !default;

Description

Font weight for <caption> elements.

Type

String

table-caption-line-height

$table-caption-line-height: 1.1em !default;

Description

Line height for <caption> elements.

Type

String

table-th-padding-top

$table-th-padding-top: 0.45em !default;

Description

Top padding for <th> elements.

Type

String

table-th-padding-right

$table-th-padding-right: 0.45em !default;

Description

Right padding for <th> elements.

Type

String

table-th-padding-bottom

$table-th-padding-bottom: 0.45em !default;

Description

Bottom padding for <th> elements.

Type

String

table-th-padding-left

$table-th-padding-left: 0.45em !default;

Description

Left padding for <th> elements.

Type

String

table-th-line-height

$table-th-line-height: 1.1em !default;

Description

Line height for <th> elements.

Type

String

table-th-align

$table-th-align: left !default;

Description

Alignment for <th> elements.

Type

String

table-th-vertical-align

Since 0.5.0
$table-th-vertical-align: middle !default;

Description

Vertical alignment for <th> elements.

Type

String

table-th-border-top-width

Since 1.2.0
$table-th-border-top-width: (epub: 0, prince: 0, web: 0) !default;

Description

Border top width on <th> elements.

Type

String</code> or <code>Map

table-th-border-right-width

Since 1.3.0
$table-th-border-right-width: (epub: 0, prince: 0, web: 0) !default;

Description

Border right width on <th> elements.

Type

String</code> or <code>Map

table-th-border-bottom-width

Since 1.2.0
$table-th-border-bottom-width: (epub: 0, prince: 0, web: 0) !default;

Description

Border bottom width on <th> elements.

Type

String</code> or <code>Map

table-th-border-left-width

Since 1.3.0
$table-th-border-left-width: (epub: 0, prince: 0, web: 0) !default;

Description

Border left width on <th> elements.

Type

String</code> or <code>Map

table-th-border-top-style

Since 1.2.0
$table-th-border-top-style: (epub: none, prince: none, web: none) !default;

Description

Border top style on <th> elements.

Type

String</code> or <code>Map

table-th-border-right-style

Since 1.3.0
$table-th-border-right-style: (epub: none, prince: none, web: none) !default;

Description

Right border style on <th> elements.

Type

String</code> or <code>Map

table-th-border-left-style

Since 1.3.0
$table-th-border-left-style: (epub: none, prince: none, web: none) !default;

Description

Left border style on <th> elements.

Type

String</code> or <code>Map

table-th-border-bottom-style

Since 1.2.0
$table-th-border-bottom-style: (epub: none, prince: none, web: none) !default;

Description

Border bottom style on <th> elements.

Type

String</code> or <code>Map

table-td-padding-top

$table-td-padding-top: 0.45em !default;

Description

Top padding for <td> elements.

Type

String

table-td-padding-right

$table-td-padding-right: 0.45em !default;

Description

Right padding for <td> elements.

Type

String

table-td-padding-bottom

$table-td-padding-bottom: 0.45em !default;

Description

Bottom padding for <td> elements.

Type

String

table-td-padding-left

$table-td-padding-left: 0.45em !default;

Description

Left padding for <td> elements.

Type

String

table-td-line-height

$table-td-line-height: 1.1em !default;

Description

Line height for <td> elements.

Type

String

table-td-align

$table-td-align: left !default;

Description

Alignment for <td> elements.

Type

String

table-td-vertical-align

Since 0.5.0
$table-td-vertical-align: middle !default;

Description

Vertical alignment for <td> elements.

Type

String

table-td-border-width

Since 1.3.0
$table-td-border-width: (epub: 0, prince: 0, web: 0) !default;

Description

Border width for <td> elements.

Type

String</code> or <code>Map

table-td-border-style

Since 1.3.0
$table-td-border-style: (epub: none, prince: none, web: none) !default;

Description

Border width for <td> elements.

Type

String</code> or <code>Map

table-tr-border-top-width

Since 1.2.0
$table-tr-border-top-width: (epub: 0, prince: 0, web: 0) !default;

Description

Border top width on <tr> elements.

Type

String</code> or <code>Map

table-tr-border-top-style

Since 1.2.0
$table-tr-border-top-style: (epub: none, prince: none, web: none) !default;

Description

Border top style on <tr> elements.

Type

String</code> or <code>Map

table-tr-border-bottom-width

Since 1.2.0
$table-tr-border-bottom-width: (epub: 0, prince: 0, web: 0) !default;

Description

Border bottom width on <tr> elements.

Type

String</code> or <code>Map

table-tr-border-bottom-style

Since 1.2.0
$table-tr-border-bottom-style: (epub: none, prince: none, web: none) !default;

Description

Border bottom style on <tr> elements.

Type

String</code> or <code>Map

cite-font-size

$cite-font-size: 0.9em !default;

Description

Font size for <cite> elements.

Type

String</code> or <code>Map

cite-font-style

$cite-font-style: normal !default;

Description

Font style for <cite> elements.

Type

String

cite-font-weight

$cite-font-weight: normal !default;

Description

Font weight for <cite> elements.

Type

String

cite-text-transform

$cite-text-transform: uppercase !default;

Description

Text transform for <cite> elements.

Type

String

cite-letter-spacing

Since 1.0.0
$cite-letter-spacing: normal !default;

Description

Letter spacing for <cite> elements.

Type

String</code> or <code>Map

cite-word-spacing

Since 1.0.0
$cite-word-spacing: normal !default;

Description

Word spacing for <cite> elements.

Type

String</code> or <code>Map

cite-font-variant

$cite-font-variant: small-caps !default;

Description

Font variant for <cite> elements.

Type

String

code-border

Since 1.0.0
$code-border: none !default;

Description

Border property of <code> elements.

Type

String

code-border-radius

Since 1.0.0
$code-border-radius: 0 !default;

Description

Border radius property of <code> elements.

Type

String</code> or <code>Map

code-background

Since 1.0.0
$code-background: transparent !default;

Description

Background property of <code> elements.

Type

String

code-font-family

$code-font-family: monospace !default;

Description

Font stack of <code> elements.

Type

String

code-font-size

Since 1.0.0
$code-font-size: $body-font-size !default;

Description

Font size of <code> elements.

Type

String</code> or <code>Map

code-margin-bottom

Since 1.0.0
$code-margin-bottom: 0 !default;

Description

Bottom margin of <code> elements.

Type

String</code> or <code>Map

code-margin-left

Since 1.0.0
$code-margin-left: 0 !default;

Description

Left margin of <code> elements.

Type

String</code> or <code>Map

code-margin-right

Since 1.0.0
$code-margin-right: 0 !default;

Description

Right margin of <code> elements.

Type

String</code> or <code>Map

code-margin-top

Since 1.0.0
$code-margin-top: 0 !default;

Description

Top margin of <code> elements.

Type

String</code> or <code>Map

code-padding-bottom

Since 1.0.0
$code-padding-bottom: 0 !default;

Description

Bottom padding of <code> elements.

Type

String</code> or <code>Map

code-padding-left

Since 1.0.0
$code-padding-left: 0 !default;

Description

Left padding of <code> elements.

Type

String</code> or <code>Map

code-padding-right

Since 1.0.0
$code-padding-right: 0 !default;

Description

Right padding of <code> elements.

Type

String</code> or <code>Map

code-padding-top

Since 1.0.0
$code-padding-top: 0 !default;

Description

Top padding of <code> elements.

Type

String</code> or <code>Map

code-line-height

Since 1.0.0
$code-line-height: $body-line-height !default;

Description

Line height of <code> elements.

Type

String</code> or <code>Map

pre-border

Since 1.0.0
$pre-border: none !default;

Description

Border property of <code> elements.

Type

String

pre-border-radius

Since 1.0.0
$pre-border-radius: 0 !default;

Description

Border radius property of <code> elements.

Type

String</code> or <code>Map

pre-background

Since 1.0.0
$pre-background: transparent !default;

Description

Background property of <code> elements.

Type

String

pre-font-family

$pre-font-family: $code-font-family !default;

Description

Font stack of <pre> elements.

Type

String

pre-font-size

Since 1.0.0
$pre-font-size: $code-font-size !default;

Description

Font size of <pre> elements.

Type

String</code> or <code>Map

pre-line-height

Since 1.0.0
$pre-line-height: normal !default;

Description

Line height of <pre> elements.

Type

String</code> or <code>Map

pre-margin-bottom

Since 1.0.0
$pre-margin-bottom: 1em !default;

Description

Bottom margin of <pre> elements.

Type

String</code> or <code>Map

pre-margin-left

Since 1.0.0
$pre-margin-left: 0 !default;

Description

Left margin of <code> elements.

Type

String</code> or <code>Map

pre-margin-right

Since 1.0.0
$pre-margin-right: 0 !default;

Description

Right margin of <code> elements.

Type

String</code> or <code>Map

pre-margin-top

Since 1.0.0
$pre-margin-top: 1em !default;

Description

Top margin of <code> elements.

Type

String</code> or <code>Map

pre-padding-bottom

Since 1.0.0
$pre-padding-bottom: 0 !default;

Description

Bottom padding of <code> elements.

Type

String</code> or <code>Map

pre-padding-left

Since 1.0.0
$pre-padding-left: 0 !default;

Description

Left padding of <code> elements.

Type

String</code> or <code>Map

pre-padding-right

Since 1.0.0
$pre-padding-right: 0 !default;

Description

Right padding of <code> elements.

Type

String</code> or <code>Map

pre-padding-top

Since 1.0.0
$pre-padding-top: 0 !default;

Description

Top padding of <code> elements.

Type

String</code> or <code>Map

sup-sub-font-size

Deprecated!

1.0.0

$sup-sub-font-size: 0.8em !default;

Description

Font size for <sup> and <sub> elements.

Type

String

sup-sub-line-height

Deprecated!

1.0.0

$sup-sub-line-height: 0.5em !default;

Description

Line height for <sup> and <sub> elements.

Type

String</code> or <code>Map

sub-font-style

Since 1.0.0
$sub-font-style: normal !default;

Description

Font style for <sub> elements.

Type

String

sub-text-transform

Since 1.0.0
$sub-text-transform: none !default;

Description

Text transform for <sub> elements.

Type

String

sub-font-size

$sub-font-size: $sup-sub-font-size !default;

Description

Font size for <sub> elements.

Type

String</code> or <code>Map

sub-line-height

Since 1.0.0
$sub-line-height: $sup-sub-line-height !default;

Description

Line height for <sub> elements.

Type

String</code> or <code>Map

sup-font-style

Since 1.0.0
$sup-font-style: normal !default;

Description

Font style for <sup> elements.

Type

String

sup-text-transform

Since 1.0.0
$sup-text-transform: none !default;

Description

Text transform for <sup> elements.

Type

String

sup-font-size

$sup-font-size: $sup-sub-font-size !default;

Description

Font size for <sup> elements.

Type

String</code> or <code>Map

sup-line-height

Since 1.0.0
$sup-line-height: $sup-sub-line-height !default;

Description

Line height for <sup> elements.

Type

String</code> or <code>Map

Media

variables

image-caption-margin-top

Since 1.1.0
$image-caption-margin-top: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Bottom padding for image captions.

Type

String</code> or <code>Map

image-caption-padding-bottom

$image-caption-padding-bottom: 0.5em !default;

Description

Bottom padding for image captions.

Type

String</code> or <code>Map

image-caption-font-family

$image-caption-font-family: $font-1 !default;

Description

Font stack for image captions.

Type

String

image-caption-font-size

$image-caption-font-size: 0.8em !default;

Description

Font size for image captions.

Type

String</code> or <code>Map

image-caption-font-style

$image-caption-font-style: normal !default;

Description

Font style for image captions.

Type

String

image-caption-font-weight

$image-caption-font-weight: normal !default;

Description

Font weight for image captions.

Type

String

image-caption-line-height

$image-caption-line-height: (
  prince: 1.2em,
  epub: 1.2,
  web: 1.2em
) !default;

Description

Line height for image captions.

Type

String</code> or <code>Map

image-caption-text-align

$image-caption-text-align: left !default;

Description

Text alignment for image captions.

Type

String

image-caption-text-indent

Since 1.3.0
$image-caption-text-indent: (epub: 0, prince: 0, web: 0) !default;

Description

Text indent for image captions.

Type

String</code> or <code>Map

image-caption-text-transform

$image-caption-text-transform: none !default;

Description

Text transform for image captions.

Type

String

image-wrapper-margin-top

$image-wrapper-margin-top: 0.5em !default;

Description

Top margin for image wrappers.

Type

String</code> or <code>Map

floated-image-wrapper-margin-top

Since 1.0.0
$floated-image-wrapper-margin-top: $image-wrapper-margin-top !default;

Description

Top margin for floated image wrappers

Type

String</code> or <code>Map

image-wrapper-margin-bottom

$image-wrapper-margin-bottom: 0.5em !default;

Description

Bottom margin for image wrappers.

Type

String</code> or <code>Map

floated-image-wrapper-margin-bottom

Since 1.0.0
$floated-image-wrapper-margin-bottom: $image-wrapper-margin-bottom !default;

Description

Bottom margin for floated image wrappers

Type

String</code> or <code>Map

image-alignleft-margin-right

$image-alignleft-margin-right: 1em !default;

Description

Right margin for left-aligned images.

Type

String</code> or <code>Map

image-alignright-margin-left

$image-alignright-margin-left: 1em !default;

Description

Left margin for right-aligned images.

Type

String</code> or <code>Map

prince-image-resolution

$prince-image-resolution: auto, normal !default;

Description

Image resolution for PrinceXML PDF outputs.

Type

String

image-alignnone-image-float

Since 1.0.0
$image-alignnone-image-float: none !default;

Description

Image float for alignnone images (Prince only).

Type

String

image-alignnone-caption-float

Since 1.0.0
$image-alignnone-caption-float: none !default;

Description

Caption float for alignnone images (Prince only).

Type

String

image-alignnone-caption-left-padding

Since 1.0.0
$image-alignnone-caption-left-padding: 0 !default;

Description

Left padding for captions on alignnone images (Prince only).

Type

String</code> or <code>Map

image-alignnone-caption-width

Since 1.0.0
$image-alignnone-caption-width: 100% !default;

Description

Width for captions on alignnone images (Prince only).

Type

String</code> or <code>Map

image-alignnone-wrapper-width

Since 1.0.0
$image-alignnone-wrapper-width: (
  epub: auto,
  prince: auto,
  web: auto
) !default;

Description

With for wrapper on alignnone images.

Type

String</code> or <code>Map

image-alignnone-image-maxwidth

Since 1.0.0
$image-alignnone-image-maxwidth: 100% !default;

Description

Max width for captioned alignnone images (Prince only).

Type

String</code> or <code>Map

image-aligncenter-caption-text-align

Since 1.0.0
$image-aligncenter-caption-text-align: $image-caption-text-align !default;

Description

Caption text alignment for aligncenter images.

Type

String

image-alignleft-caption-text-align

Since 1.0.0
$image-alignleft-caption-text-align: $image-caption-text-align !default;

Description

Caption text alignment for alignleft images.

Type

String

image-alignright-caption-text-align

Since 1.0.0
$image-alignright-caption-text-align: $image-caption-text-align !default;

Description

Caption text alignment for alignright images.

Type

String

interactive-icon-url

Since 0.7.0
$interactive-icon-url: (
  prince: "images/icon-interactive.svg",
  epub: "images/icon-interactive.png",
  web: "images/icon-interactive.svg"
) !default;

Description

Icon image URL for generic interactive content

Type

String</code> or <code>Map

audio-icon-url

Since 0.7.0
$audio-icon-url: (
  prince: "images/icon-audio.svg",
  epub: "images/icon-audio.png",
  web: "images/icon-audio.svg"
) !default;

Description

Icon image URL for audio content

Type

String</code> or <code>Map

video-icon-url

Since 0.7.0
$video-icon-url: (
  prince: "images/icon-video.svg",
  epub: "images/icon-video.png",
  web: "images/icon-video.svg"
) !default;

Description

Icon image URL for video content

Type

String</code> or <code>Map

interactive-icon-display

Since 0.7.0
$interactive-icon-display: block !default;

Description

Display property for interactive content icon

Type

String

interactive-icon-float

Since 0.7.0
$interactive-icon-float: left !default;

Description

Float property for interactive content icon

Type

String

interactive-icon-width

Since 0.7.0
$interactive-icon-width: 3em !default;

Description

Width for interactive content icon

Type

String</code> or <code>Map

interactive-icon-height

Since 0.7.0
$interactive-icon-height: 3em !default;

Description

Height for interactive content icon

Type

String</code> or <code>Map

interactive-icon-margin-top

Since 0.7.0
$interactive-icon-margin-top: 0 !default;

Description

Top margin for interactive content icon

Type

String</code> or <code>Map

interactive-icon-margin-right

Since 0.7.0
$interactive-icon-margin-right: 0.5em !default;

Description

Right margin for interactive content icon

Type

String</code> or <code>Map

interactive-icon-margin-bottom

Since 0.7.0
$interactive-icon-margin-bottom: 0 !default;

Description

Bottom margin for interactive content icon

Type

String</code> or <code>Map

interactive-icon-margin-left

Since 0.7.0
$interactive-icon-margin-left: 0 !default;

Description

Left margin for interactive content icon

Type

String</code> or <code>Map

interactive-icon-background-size

Since 0.7.0
$interactive-icon-background-size: (
  prince: cover,
  epub: $interactive-icon-width $interactive-icon-height,
  web: cover
) !default;

Description

Background size property for interactive content icon

Type

String</code> or <code>Map

interactive-thumbnail-margin-bottom

Since 1.4.0
$interactive-thumbnail-margin-bottom: 0.5em !default;

Description

Bottom margin for interactive content thumbnail

Type

String</code> or <code>Map

interactive-content-line-height

Since 1.0.0
$interactive-content-line-height: $body-line-height !default;

Description

Line height property for interactive content box

Type

String</code> or <code>Map

interactive-content-font-size

Since 1.0.0
$interactive-content-font-size: 0.9em !default;

Description

Font size property for interactive content box

Type

String</code> or <code>Map

interactive-content-font-style

Since 1.0.0
$interactive-content-font-style: italic !default;

Description

Font style property for interactive content box

Type

String

interactive-content-font-family

Since 1.3.0
$interactive-content-font-family: $textbox-font-family !default;

Description

Font family for interactive content textbox

Type

String

interactive-content-font-weight

Since 1.3.0
$interactive-content-font-weight: $textbox-font-weight !default;

Description

Font weight for interactive content textbox

Type

String

interactive-content-margin-bottom

Since 1.0.0
$interactive-content-margin-bottom: (prince: 1.5em, epub: 1em, web: 1em) !default;

Description

Bottom margin property for interactive content box

Type

String</code> or <code>Map

interactive-content-padding-top

Since 1.3.0
$interactive-content-padding-top: $textbox-padding-top !default;

Description

Padding top for interactive content textbox

Type

String</code> or <code>Map

interactive-content-padding-right

Since 1.3.0
$interactive-content-padding-right: $textbox-padding-right !default;

Description

Padding right for interactive content textbox

Type

String</code> or <code>Map

interactive-content-padding-bottom

Since 1.3.0
$interactive-content-padding-bottom: $textbox-padding-bottom !default;

Description

Padding bottom for interactive content textbox

Type

String</code> or <code>Map

interactive-content-padding-left

Since 1.3.0
$interactive-content-padding-left: $textbox-padding-left !default;

Description

Padding left for interactive content textbox

Type

String</code> or <code>Map

interactive-content-text-align

Since 1.3.0
$interactive-content-text-align: (epub: left, prince: left, web: left) !default;

Description

Text align property for interactive content box

Type

String</code> or <code>Map

interactive-content-text-indent

Since 1.3.0
$interactive-content-text-indent: 0 !default;

Description

Text indent for interactive content textbox

Type

String</code> or <code>Map

media-caption-align

Since 1.2.0
$media-caption-align: (epub: center, prince: center, web: center) !default;

Description

Caption alignment on embedded media

Type

String</code> or <code>Map

Pages

variables

title-half-title-display

$title-half-title-display: (
  epub: none,
  prince: initial,
  web: none
) !default;

Description

Half Title page display.

Type

String</code> or <code>Map

title-half-title-block-margin-top

$title-half-title-block-margin-top: (
  epub: 2em,
  prince: 3cm,
  web: 3em
) !default;

Description

Top margin for half title page Title from elements <h1> with a class of title that are children of elements with ID half-title-page

Type

String</code> or <code>Map

title-half-title-font-family

$title-half-title-font-family: $font-2 !default;

Description

Font stack for half title page Title from elements <h1> with a class of title that are immediate children of elements with ID half-title-page

Type

String

title-half-title-font-size

$title-half-title-font-size: 1.5em !default;

Description

Font size for half title page Title from elements <h1> with a class of title that are immediate children of elements with ID half-title-page

Type

String

title-half-title-font-style

$title-half-title-font-style: normal !default;

Description

Font style for half title page Title from elements <h1> with a class of title that are immediate children of elements with ID half-title-page

Type

String

title-half-title-font-weight

$title-half-title-font-weight: normal !default;

Description

Font weight for half title page Title from elements <h1> with a class of title that are immediate children of elements with ID half-title-page

Type

String

title-half-title-letter-spacing

$title-half-title-letter-spacing: normal !default;

Description

Letter spacing for half title page Title from elements <h1> with a class of title that are immediate children of elements with ID half-title-page

Type

String

title-half-title-word-spacing

$title-half-title-word-spacing: normal !default;

Description

Word spacing for half title page Title from elements <h1> with a class of title that are immediate children of elements with ID half-title-page

Type

String

title-half-title-align

$title-half-title-align: center !default;

Description

Text alignment for half title page Title from elements <h1> with a class of title that are immediate children of elements with ID half-title-page

Type

String

title-half-title-text-transform

$title-half-title-text-transform: none !default;

Description

Text transform for half title page title from elements <h1> with a class of title that are immediate children of elements with ID half-title-page

Type

String

title-title-block-margin-top

Since 1.0.0 — <p>Use $title-title-margin-top</p>
Deprecated!
$title-title-block-margin-top: (
  epub: 2em,
  prince: 3cm,
  web: 3em
) !default;

Description

Top margin for title page title for elements <h1> with a class of title.

Type

String</code> or <code>Map

title-title-margin-top

Since 1.0.0
$title-title-margin-top: $title-title-block-margin-top !default;

Description

Top margin for title page title for elements <h1> with a class of title.

Type

String</code> or <code>Map

title-title-margin-right

Since 1.0.0
$title-title-margin-right: 0 !default;

Description

Right margin for title page title for elements <h1> with a class of title.

Type

String</code> or <code>Map

title-title-margin-left

Since 1.0.0
$title-title-margin-left: 0 !default;

Description

Left margin for title page title for elements <h1> with a class of title.

Type

String</code> or <code>Map

title-title-font-family

$title-title-font-family: $font-2 !default;

Description

Top margin for title page title on elements <h1> with a class of title.

Type

String

title-title-font-size

$title-title-font-size: (
  epub: 1.75em,
  prince: 2em,
  web: 1.75em
) !default;

Description

Font size for title page title on elements <h1> with a class of title.

Type

String</code> or <code>Map

title-title-font-style

$title-title-font-style: normal !default;

Description

Font style for title page title on elements <h1> with a class of title.

Type

String

title-title-font-weight

$title-title-font-weight: normal !default;

Description

Font weight for title page title on elements <h1> with a class of title.

Type

String

title-title-letter-spacing

$title-title-letter-spacing: normal !default;

Description

Letter spacing for title page title on elements <h1> with a class of title.

Type

String

title-title-word-spacing

$title-title-word-spacing: normal !default;

Description

Word spacing for title page title on elements <h1> with a class of title.

Type

String

title-title-align

$title-title-align: center !default;

Description

Text align for title page title on elements <h1> with a class of title.

Type

String

title-title-text-transform

$title-title-text-transform: none !default;

Description

Text transform for title page title on elements <h1> with a class of title.

Type

String

title-title-decoration-font-family

Since 1.0.0
$title-title-decoration-font-family: $font-3 !default;

Description

Defines the title page title decoration font family.

Type

String

title-title-decoration-content

Since 1.0.0
$title-title-decoration-content: "" !default;

Description

Defines the title page title decoration content.

Type

String

title-title-decoration-display

Since 1.0.0
$title-title-decoration-display: none !default;

Description

Defines the title page title decoration display.

Type

String

title-title-decoration-font-size

Since 1.0.0
$title-title-decoration-font-size: (epub:  0, prince: 0, web: 0) !default;

Description

Defines the title page title decoration font size.

Type

String</code> or <code>Map

title-title-decoration-font-weight

Since 1.0.0
$title-title-decoration-font-weight: normal !default;

Description

Defines the title page title decoration font weight.

Type

String

title-title-decoration-margin-bottom

Since 1.0.0
$title-title-decoration-margin-bottom: (epub:  0, prince: 0, web: 0) !default;

Description

Defines the title page title decoration margin bottom.

Type

String</code> or <code>Map

title-title-decoration-margin-top

Since 1.0.0
$title-title-decoration-margin-top: (epub:  0, prince: 0, web: 0) !default;

Description

Defines the title page title decoration margin top.

Type

String</code> or <code>Map

title-title-border-bottom-width

Since 1.1.0
$title-title-border-bottom-width: (epub: 0, prince: 0, web: 0) !default;

Description

Defines bottom border width for the title page title.

Type

String</code> or <code>Map

title-title-border-bottom-style

Since 1.1.0
$title-title-border-bottom-style: none !default;

Description

Defines bottom border style for the title page title.

Type

String

title-title-border-bottom-color

Since 1.1.0
$title-title-border-bottom-color: $color-3 !default;

Description

Defines bottom border style for the title page title.

Type

String

title-title-padding-bottom

Since 1.1.0
$title-title-padding-bottom: (epub: 0, prince: 0, web: 0) !default;

Description

Defines bottom padding style for the title page title.

Type

String</code> or <code>Map

title-title-line-height

Since 1.2.0
$title-title-line-height: $hx-line-height !default;

Description

Defines line height for the title page title.

Type

String</code> or <code>Map

title-subtitle-margin-top

$title-subtitle-margin-top: 0 !default;

Description

Top margin for title page subtitle on elements <h2> with a class of subtitle.

Type

String

title-subtitle-margin-right

$title-subtitle-margin-right: 0 !default;

Description

Right margin for title page subtitle on elements <h2> with a class of subtitle.

Type

String

title-subtitle-margin-left

$title-subtitle-margin-left: 0 !default;

Description

Left margin for title page subtitle on elements <h2> with a class of subtitle.

Type

String

title-subtitle-font-family

$title-subtitle-font-family: $font-3 !default;

Description

Font stack for title page subtitle on elements <h2> with a class of subtitle.

Type

String

title-subtitle-font-size

$title-subtitle-font-size: (
  epub: 1.25em,
  prince: 1.5em,
  web: 1.25em
) !default;

Description

Font size for title page subtitle on elements <h2> with a class of subtitle.

Type

String</code> or <code>Map

title-subtitle-font-style

$title-subtitle-font-style: italic !default;

Description

Font style for title page subtitle on elements <h2> with a class of subtitle.

Type

String

title-subtitle-font-weight

$title-subtitle-font-weight: normal !default;

Description

Font weight for title page subtitle on elements <h2> with a class of subtitle.

Type

String

title-subtitle-letter-spacing

$title-subtitle-letter-spacing: normal !default;

Description

Letter spacing for title page subtitle on elements <h2> with a class of subtitle.

Type

String

title-subtitle-word-spacing

$title-subtitle-word-spacing: normal !default;

Description

Word spacing for title page subtitle on elements <h2> with a class of subtitle.

Type

String

title-subtitle-align

$title-subtitle-align: center !default;

Description

Text alignment for title page subtitle on elements <h2> with a class of subtitle.

Type

String

title-subtitle-text-transform

$title-subtitle-text-transform: none !default;

Description

Text transform for title page subtitle on elements <h2> with a class of subtitle.

Type

String

title-subtitle-border-bottom-width

Since 1.1.0
$title-subtitle-border-bottom-width: $title-title-border-bottom-width !default;

Description

Defines bottom border width for the title page subtitle.

Type

String</code> or <code>Map

title-subtitle-border-bottom-style

Since 1.1.0
$title-subtitle-border-bottom-style: $title-title-border-bottom-style !default;

Description

Defines bottom border style for the title page subtitle.

Type

String

title-subtitle-border-bottom-color

Since 1.1.0
$title-subtitle-border-bottom-color: $title-title-border-bottom-color !default;

Description

Defines bottom border for the title page subtitle.

Type

String

title-subtitle-padding-bottom

Since 1.1.0
$title-subtitle-padding-bottom: $title-title-padding-bottom !default;

Description

Defines bottom padding for the title page subtitle.

Type

String</code> or <code>Map

title-subtitle-line-height

Since 1.2.0
$title-subtitle-line-height: $title-title-line-height !default;

Description

Defines line height for the title page subtitle.

Type

String</code> or <code>Map

title-author-margin-top

$title-author-margin-top: (
  epub: 2em,
  prince: 2cm,
  web: 2em
) !default;

Description

Top margin for title page author on elements with a class of author.

Type

String</code> or <code>Map

title-author-margin-right

Since 1.0.0
$title-author-margin-right: 0 !default;

Description

Right margin for title page author on elements with a class of author.

Type

String</code> or <code>Map

title-author-margin-left

Since 1.0.0
$title-author-margin-left: 0 !default;

Description

Left margin for title page author on elements with a class of author.

Type

String</code> or <code>Map

title-author-font-family

$title-author-font-family: $font-2 !default;

Description

Font stack for title page author on elements with a class of author.

Type

String

title-author-font-size

$title-author-font-size: (
  epub: 1em,
  prince: 1.5em,
  web: 1em
) !default;

Description

Font size for title page author on elements with a class of author.

Type

String</code> or <code>Map

title-author-font-style

$title-author-font-style: normal !default;

Description

Font style for title page author on elements with a class of author.

Type

String

title-author-font-weight

$title-author-font-weight: normal !default;

Description

Font weight for title page author on elements with a class of author.

Type

String

title-author-letter-spacing

$title-author-letter-spacing: 1px !default;

Description

Letter spacing for title page author on elements with a class of author.

Type

String

title-author-word-spacing

$title-author-word-spacing: 2px !default;

Description

Word spacing for title page author on elements with a class of author.

Type

String

title-author-align

$title-author-align: center !default;

Description

Text alignment for title page author on elements with a class of author.

Type

String

title-author-text-transform

$title-author-text-transform: none !default;

Description

Text transform for title page author on elements with a class of author.

Type

String

title-author-border-bottom-width

Since 1.1.0
$title-author-border-bottom-width: $title-title-border-bottom-width !default;

Description

Defines bottom border width for the title page author.

Type

String</code> or <code>Map

title-author-border-bottom-style

Since 1.1.0
$title-author-border-bottom-style: $title-title-border-bottom-style !default;

Description

Defines bottom border style for the title page author.

Type

String

title-author-border-bottom-color

Since 1.1.0
$title-author-border-bottom-color: $title-title-border-bottom-color !default;

Description

Defines bottom border style for the title page author.

Type

String

title-author-padding-bottom

Since 1.1.0
$title-author-padding-bottom: $title-title-padding-bottom !default;

Description

Defines bottom padding style for the title page author.

Type

String</code> or <code>Map

title-author-line-height

Since 1.2.0
$title-author-line-height: $title-title-line-height !default;

Description

Defines line height for the title page subtitle.

Type

String</code> or <code>Map

title-publisher-logo-display

$title-publisher-logo-display: block !default;

Description

Display for title page Publisher logo on elements <div> with a class of publisher-logo.

Type

String

title-publisher-logo-width

$title-publisher-logo-width: 20% !default;

Description

Logo width for title page publisher logo on elements <div> with a class of publisher-logo.

Type

String

title-publisher-logo-padding-top

$title-publisher-logo-padding-top: 0.75em !default;

Description

Top padding for title page publisher logo on elements <div> with a class of publisher-logo.

Type

String

title-publisher-logo-padding-bottom

$title-publisher-logo-padding-bottom: 0.75em !default;

Description

Bottom padding for title page publisher logo on elements <div> with a class of publisher-logo.

Type

String

title-publisher-logo-text-align

$title-publisher-logo-text-align: center !default;

Description

Alignment for title page publisher logo on elements <div> with a class of publisher-logo.

Type

String

title-publisher-logo-margin-right

$title-publisher-logo-margin-right: auto !default;

Description

Right margin for title page publisher logo on elements <div> with a class of publisher-logo.

Type

String

title-publisher-logo-margin-left

$title-publisher-logo-margin-left: auto !default;

Description

Left margin for title page publisher logo on elements <div> with a class of publisher-logo.

Type

String

title-publisher-margin-top

Since 1.2.0
$title-publisher-margin-top: (epub: 1.5em, prince: 1.5em, web: 0) !default;

Description

Top margin for title page publisher text on elements with a class of publisher.

Type

String</code> or <code>Map

title-publisher-margin-right

Since 1.2.0
$title-publisher-margin-right: (epub: 0, prince: 0, web: 0) !default;

Description

Right margin for title page publisher text on elements with a class of publisher.

Type

String</code> or <code>Map

title-publisher-margin-bottom

Since 1.2.0
$title-publisher-margin-bottom: (epub: 0.5em, prince: 0.5em, web: 0.5em) !default;

Description

Bottom margin for title page publisher text on elements with a class of publisher.

Type

String</code> or <code>Map

title-publisher-margin-left

Since 1.2.0
$title-publisher-margin-left: (epub: 0, prince: 0, web: 0) !default;

Description

Left margin for title page publisher text on elements with a class of publisher.

Type

String</code> or <code>Map

title-publisher-float

Since 1.4.0
$title-publisher-float: (epub: none, prince: none, web: none) !default;

Description

Float for title page publisher text on elements with a class of publisher.

Type

String</code> or <code>Map

title-publisher-font-family

$title-publisher-font-family: $font-3 !default;

Description

Font stack for title page publisher text on elements with a class of publisher.

Type

String

title-publisher-font-size

$title-publisher-font-size: 0.9em !default;

Description

Font size for title page publisher text on elements with a class of publisher.

Type

String

title-publisher-font-style

$title-publisher-font-style: normal !default;

Description

Font style for title page publisher text on elements with a class of publisher.

Type

String

title-publisher-font-weight

$title-publisher-font-weight: normal !default;

Description

Font weight for title page publisher text on elements with a class of publisher.

Type

String

title-publisher-line-height

$title-publisher-line-height: 1em !default;

Description

Line height for title page publisher text on elements with a class of publisher.

Type

String

title-publisher-letter-spacing

$title-publisher-letter-spacing: 1px !default;

Description

Letter spacing for title page publisher text on elements with a class of publisher.

Type

String

title-publisher-word-spacing

$title-publisher-word-spacing: 2px !default;

Description

Word spacing for title page publisher text on elements with a class of publisher.

Type

String

title-publisher-align

$title-publisher-align: center !default;

Description

Text transform for title page publisher text on elements with a class of publisher.

Type

String

title-publisher-text-transform

$title-publisher-text-transform: none !default;

Description

Text transform for title page publisher text on elements with a class of publisher.

Type

String

title-publisher-border-bottom-width

Since 1.1.0
$title-publisher-border-bottom-width: $title-title-border-bottom-width !default;

Description

Defines bottom border width for the title page publisher.

Type

String</code> or <code>Map

title-publisher-border-bottom-style

Since 1.1.0
$title-publisher-border-bottom-style: $title-title-border-bottom-style !default;

Description

Defines bottom border style for the title page publisher.

Type

String

title-publisher-border-bottom-color

Since 1.1.0
$title-publisher-border-bottom-color: $title-title-border-bottom-color !default;

Description

Defines bottom border style for the title page publisher.

Type

String

title-publisher-padding-bottom

Since 1.1.0
$title-publisher-padding-bottom: $title-title-padding-bottom !default;

Description

Defines bottom padding style for the title page publisher.

Type

String</code> or <code>Map

title-publisher-city-margin-right

Since 1.2.0
$title-publisher-city-margin-right: $title-publisher-margin-right !default;

Description

Right margin for title page publisher city text on elements with a class of publisher.

Type

String</code> or <code>Map

title-publisher-city-margin-left

Since 1.2.0
$title-publisher-city-margin-left: $title-publisher-margin-left !default;

Description

Left margin for title page publisher city text on elements with a class of publisher.

Type

String</code> or <code>Map

title-publisher-city-float

Since 1.4.0
$title-publisher-city-float: (epub: none, prince: none, web: none) !default;

Description

Float for title page publisher city text on elements with a class of publisher-city.

Type

String</code> or <code>Map

title-publisher-city-font-family

$title-publisher-city-font-family: $font-3 !default;

Description

Font stack for title page publisher city text on elements with a class of publisher-city.

Type

String

title-publisher-city-font-size

$title-publisher-city-font-size: 0.9em !default;

Description

Font size for title page publisher city text on elements with a class of publisher-city.

Type

String

title-publisher-city-font-style

$title-publisher-city-font-style: normal !default;

Description

Font style for title page publisher city text on elements with a class of publisher-city.

Type

String

title-publisher-city-font-weight

$title-publisher-city-font-weight: normal !default;

Description

Font weight for title page publisher city text on elements with a class of publisher-city.

Type

String

title-publisher-city-line-height

$title-publisher-city-line-height: 1em !default;

Description

Line height for title page publisher city text on elements with a class of publisher-city.

Type

String

title-publisher-city-letter-spacing

$title-publisher-city-letter-spacing: 1px !default;

Description

Letter spacing for title page publisher city text on elements with a class of publisher-city.

Type

String

title-publisher-city-word-spacing

$title-publisher-city-word-spacing: 2px !default;

Description

Word spacing for title page publisher city text on elements with a class of publisher-city.

Type

String

title-publisher-city-align

$title-publisher-city-align: center !default;

Description

Alignment for title page publisher city text on elements with a class of publisher-city.

Type

String

title-publisher-city-text-transform

$title-publisher-city-text-transform: uppercase !default;

Description

Text transform for title page publisher city text on elements with a class of publisher-city.

Type

String

title-publisher-city-border-bottom-width

Since 1.1.0
$title-publisher-city-border-bottom-width: $title-title-border-bottom-width !default;

Description

Defines bottom border width for the title page publisher city.

Type

String</code> or <code>Map

title-publisher-city-border-bottom-style

Since 1.1.0
$title-publisher-city-border-bottom-style: $title-title-border-bottom-style !default;

Description

Defines bottom border style for the title page publisher city.

Type

String

title-publisher-city-border-bottom-color

Since 1.1.0
$title-publisher-city-border-bottom-color: $title-title-border-bottom-color !default;

Description

Defines bottom border style for the title page publisher city.

Type

String

title-publisher-city-padding-bottom

Since 1.1.0
$title-publisher-city-padding-bottom: $title-title-padding-bottom !default;

Description

Defines bottom padding style for the title page publisher city.

Type

String</code> or <code>Map

before-title-title-block-margin-top

$before-title-title-block-margin-top: 0 !default;

Description

Top margin for Before Title elements with classes before-title and front-matter-title-wrap.

Type

String</code> or <code>Map

before-title-title-block-margin-bottom

$before-title-title-block-margin-bottom: 0.5em !default;

Description

Bottom margin for Before Title elements with classes before-title and front-matter-title-wrap.

Type

String

dedication-margin-top

Since 1.2.0
$dedication-margin-top: $title-title-block-margin-top !default;

Description

Top margin for Dedication on <div> elements with a class of dedication.

Type

String</code> or <code>Map

dedication-margin-right

$dedication-margin-right: 10% !default;

Description

Right margin for Dedication on <div> elements with a class of dedication.

Type

String

dedication-margin-left

$dedication-margin-left: 10% !default;

Description

Left margin for Dedication on <div> elements with a class of dedication.

Type

String

dedication-margin-bottom

$dedication-margin-bottom: 1em !default;

Description

Bottom margin for Dedication on <p> elements that are children of <div> elements with a class of dedication.

Type

String

dedication-font-family

$dedication-font-family: $font-1 !default;

Description

Font stack for Dedication on <p> elements that are children of <div> elements with a class of dedication.

Type

String

dedication-font-size

$dedication-font-size: 1em !default;

Description

Font size for Dedication on <p> elements that are children of <div> elements with a class of dedication.

Type

String

dedication-font-style

$dedication-font-style: italic !default;

Description

Font style for Dedication on <p> elements that are children of <div> elements with a class of dedication.

Type

String

dedication-font-weight

$dedication-font-weight: normal !default;

Description

Font weight for Dedication on <p> elements that are children of <div> elements with a class of dedication.

Type

String

dedication-line-height

$dedication-line-height: 1.4em !default;

Description

Line height for Dedication on <p> elements that are children of <div> elements with a class of dedication.

Type

String

dedication-align

$dedication-align: center !default;

Description

Text Alignment for Dedication on <p> elements that are children of <div> elements with a class of dedication.

Type

String

epigraph-margin-top

Since 1.2.0
$epigraph-margin-top: $title-title-block-margin-top !default;

Description

Top margin for epigraph on <div> elements with a class of epigraph.

Type

String</code> or <code>Map

epigraph-margin-right

$epigraph-margin-right: 10% !default;

Description

Right margin for epigraph on <div> elements with a class of epigraph.

Type

String

epigraph-margin-left

$epigraph-margin-left: 10% !default;

Description

Left margin for epigraph on <div> elements with a class of epigraph.

Type

String

epigraph-margin-bottom

$epigraph-margin-bottom: 1em !default;

Description

Bottom margin for Epigraph on <p> elements that are children of <div> elements with a class of epigraph.

Type

String

epigraph-font-family

$epigraph-font-family: $font-1 !default;

Description

Font stack for Epigraph on <p> elements that are children of <div> elements with a class of epigraph.

Type

String

epigraph-font-size

$epigraph-font-size: 1em !default;

Description

Font size for Epigraph on <p> elements that are children of <div> elements with a class of epigraph.

Type

String

epigraph-font-style

$epigraph-font-style: italic !default;

Description

Font style for Epigraph on <p> elements that are children of <div> elements with a class of epigraph.

Type

String

epigraph-font-weight

$epigraph-font-weight: normal !default;

Description

Font weight for Epigraph on <p> elements that are children of <div> elements with a class of epigraph.

Type

String

epigraph-line-height

$epigraph-line-height: 1.4em !default;

Description

Line height for Epigraph on <p> elements that are children of <div> elements with a class of epigraph.

Type

String

epigraph-align

$epigraph-align: center !default;

Description

Alignment for Epigraph on <p> elements that are children of <div> elements with a class of epigraph.

Type

String

bibliography-padding-left

$bibliography-padding-left: 2em !default;

Description

Left Padding for Bibliography on <p> elements that are children of <div> elements with a class of bibliography.

Type

String

bibliography-font-size

$bibliography-font-size: 0.9em !default;

Description

Font size for Bibliography on <p> elements that are children of <div> elements with a class of bibliography.

Type

String

bibliography-text-indent

$bibliography-text-indent: -2em !default;

Description

Text indent for Bibliography on <p> elements that are children of <div> elements with a class of bibliography.

Type

String

index-align

$index-align: left !default;

Description

Alignment for Index on elements with classes index and ugc, as well as <p> children of these elements

Type

String

index-column-count

$index-column-count: 2 !default;

Description

Column count for Index on elements with a class ugc that are children of <div> elements with a class of index.

Type

String

index-column-gap

$index-column-gap: 2.5em !default;

Description

Column gap for Index on elements with a class ugc that are children of <div> elements with a class of index.

Type

String

index-margin-bottom

$index-margin-bottom: 4em !default;

Description

Bottom margin for Index on <div> elements that are children of <div> elements with a class of index.

Type

String

index-para-padding-left

$index-para-padding-left: 2em !default;

Description

Left padding for Index on <p> elements and elements with classes indent and no-indent that are children of <div> elements with a class of index.

Type

String

index-para-font-size

$index-para-font-size: 0.9em !default;

Description

Font size for Index on <p> elements and elements with classes indent and no-indent that are children of <div> elements with a class of index.

Type

String

index-para-align

$index-para-align: left !default;

Description

Alignment for Index on <p> elements and elements with classes indent and no-indent that are children of <div> elements with a class of index.

Type

String

index-para-indent

$index-para-indent: -2em !default;

Description

Indentation for Index on <p> elements and elements with classes indent and no-indent that are children of <div> elements with a class of index.

Type

String

index-sub-entry-padding-left

$index-sub-entry-padding-left: 4em !default;

Description

Bottom margin for Index on elements with a class sub-entry that are children of <div> elements with a class of index.

Type

String

section-license-align

$section-license-align: left !default;

Description

Alignment for License on <p> elements that are immediate children of elements with classes front-matter and license-attribution.

Type

String

section-license-line-height

$section-license-line-height: 1.2em !default;

Description

Line height for License on <p> elements that are immediate children of elements with classes front-matter and license-attribution.

Type

String

section-license-font-size

$section-license-font-size: 0.8em !default;

Description

Font size for License on <p> elements that are immediate children of elements with classes front-matter and license-attribution.

Type

String

section-license-font-style

$section-license-font-style: italic !default;

Description

Font style for License on <p> elements that are immediate children of elements with classes front-matter and license-attribution.

Type

String

section-license-margin-top

$section-license-margin-top: 2em !default;

Description

Top margin for License on <p> elements that are immediate children of elements with classes front-matter and license-attribution.

Type

String

section-license-margin-bottom

Since 1.2.0
$section-license-margin-bottom: (epub: 1em, prince: 1em, web: 1em) !default;

Description

Bottom margin for License on <p> elements that are immediate children of elements with classes front-matter and license-attribution.

Type

String</code> or <code>Map

section-license-image-margin-bottom

$section-license-image-margin-bottom: 0.2em !default;

Description

Bottom margin for License on <img> elements that are immediate children of elements with classes front-matter and license-attribution.

Type

String

Section Headers

variables

section-title-block-margin-top

Deprecated!

Use $section-header-margin-top.

$section-title-block-margin-top: (
  epub: 3em,
  prince: 3cm,
  web: 3em
) !default;

Description

Defines margin between the section header and preceding element (section number) or top edge of the page content area.

Type

String</code> or <code>Map

section-title-block-margin-bottom

Deprecated!

Use $section-header-margin-bottom.

$section-title-block-margin-bottom: (
  epub: 2em,
  prince: 2cm,
  web: 2em
) !default;

Description

Defines margin between the section header and the page content.

Type

String</code> or <code>Map

section-title-block-margin-left

Deprecated!

Use $section-header-margin-left.

$section-title-block-margin-left: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Defines left margin for section header element.

Type

String</code> or <code>Map

section-title-block-margin-right

Deprecated!

Use $section-header-margin-right.

$section-title-block-margin-right: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Defines right margin for section header element.

Type

String</code> or <code>Map

section-header-margin-top

Since 0.3.0
$section-header-margin-top: $section-title-block-margin-top !default;

Description

Defines margin between the section header and top edge of the page content area.

Type

String</code> or <code>Map

section-header-margin-bottom

Since 0.3.0
$section-header-margin-bottom: $section-title-block-margin-bottom !default;

Description

Defines margin between the section header and the page content.

Type

String</code> or <code>Map

section-header-margin-left

Since 0.3.0
$section-header-margin-left: $section-title-block-margin-left !default;

Description

Defines left margin for section header element.

Type

String</code> or <code>Map

section-header-margin-right

Since 0.3.0
$section-header-margin-right: $section-title-block-margin-right !default;

Description

Defines right margin for section header element.

Type

String</code> or <code>Map

section-title-display

Since 0.3.0
$section-title-display: block !default;

Description

Defines the display property of the section title.

Type

String

section-title-margin-top

$section-title-margin-top: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Defines margin between section title and the top of the section header.

Type

String</code> or <code>Map

section-title-margin-bottom

$section-title-margin-bottom: (
  epub: 2em,
  prince: 1.5cm,
  web: 2em
) !default;

Description

Defines spacing between section title and the bottom of the section header when the section does not have a subtitle or author.

Type

String</code> or <code>Map

section-title-margin-left

Since 1.0.0
$section-title-margin-left: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Defines left margin for the section title.

Type

String</code> or <code>Map

section-title-margin-right

Since 1.0.0
$section-title-margin-right: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Defines right margin for the section title.

Type

String</code> or <code>Map

section-title-border-bottom-width

Since 1.0.0
$section-title-border-bottom-width: (epub: 0, prince: 0, web: 0) !default;

Description

Defines bottom border width for the section title.

Type

String</code> or <code>Map

section-title-border-bottom-style

Since 1.0.0
$section-title-border-bottom-style: none !default;

Description

Defines bottom border style for the section title.

Type

String

section-title-border-bottom-color

Since 1.0.0
$section-title-border-bottom-color: $color-3 !default;

Description

Defines bottom border style for the section title.

Type

String

section-title-padding-bottom

Since 1.0.0
$section-title-padding-bottom: (epub: 0, prince: 0, web: 0) !default;

Description

Defines bottom padding style for the section title.

Type

String</code> or <code>Map

section-title-subtitle-spacing

Since 0.3.0
$section-title-subtitle-spacing: $section-title-margin-bottom !default;

Description

Defines spacing between section title and section subtitle, when present.

Type

String</code> or <code>Map

section-title-author-spacing

Since 0.3.0
$section-title-author-spacing: $section-title-margin-bottom !default;

Description

Defines spacing between section title and section author, when present.

Type

String</code> or <code>Map

section-title-font-family

$section-title-font-family: $font-2 !default;

Description

Defines the section title font family.

Type

String

section-title-font-size

$section-title-font-size: (
  epub: 1.5em,
  prince: 2em,
  web: 2em
) !default;

Description

Defines the section title font size.

Type

String</code> or <code>Map

section-title-font-style

$section-title-font-style: normal !default;

Description

Defines the section title font style.

Type

String

section-title-font-weight

$section-title-font-weight: normal !default;

Description

Defines the section title font weight.

Type

String</code> or <code>Integer

section-title-align

$section-title-align: center !default;

Description

Defines the section title text alignment.

Type

String

section-title-text-transform

$section-title-text-transform: none !default;

Description

Defines the section title text transform.

Type

String

section-title-line-height

Since 1.0.0
$section-title-line-height: $h1-line-height !default;

Description

Defines the section title line height.

Type

String</code> or <code>Map

section-title-letter-spacing

Since 1.0.0
$section-title-letter-spacing: (
  epub: normal,
  prince: normal,
  web: normal
) !default;

Description

Defines the section title letter spacing.

Type

String</code> or <code>Map

section-title-word-spacing

Since 1.0.0
$section-title-word-spacing: (
  epub: normal,
  prince: normal,
  web: normal
) !default;

Description

Defines the section title word spacing.

Type

String</code> or <code>Map

section-title-decoration-font-family

Since 1.0.0
$section-title-decoration-font-family: $font-3 !default;

Description

Defines the section title decoration font family.

Type

String

section-title-decoration-content

Since 1.0.0
$section-title-decoration-content: "" !default;

Description

Defines the section title decoration content.

Type

String

section-title-decoration-display

Since 1.0.0
$section-title-decoration-display: none !default;

Description

Defines the section title decoration display.

Type

String

section-title-decoration-font-size

Since 1.0.0
$section-title-decoration-font-size: (epub:  0, prince: 0, web: 0) !default;

Description

Defines the section title decoration font size.

Type

String</code> or <code>Map

section-title-decoration-font-weight

Since 1.0.0
$section-title-decoration-font-weight: normal !default;

Description

Defines the section title decoration font weight.

Type

String

section-title-decoration-margin-bottom

Since 1.0.0
$section-title-decoration-margin-bottom: (epub:  0, prince: 0, web: 0) !default;

Description

Defines the section title decoration margin bottom.

Type

String</code> or <code>Map

section-title-decoration-margin-top

Since 1.0.0
$section-title-decoration-margin-top: (epub:  0, prince: 0, web: 0) !default;

Description

Defines the section title decoration margin top.

Type

String</code> or <code>Map

section-subtitle-margin-bottom

$section-subtitle-margin-bottom: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Defines spacing between section subtitle and the bottom of the section header when the section does not have an author.

Type

String</code> or <code>Map

section-subtitle-author-spacing

Since 0.3.0
$section-subtitle-author-spacing: (
  epub: 0.5em,
  prince: 0.375cm,
  web: 0.5em
) !default;

Description

Defines spacing between section subtitle and section author, when present.

Type

String</code> or <code>Map

section-subtitle-font-family

$section-subtitle-font-family: $font-2 !default;

Description

Defines the section subtitle font family.

Type

String

section-subtitle-font-size

$section-subtitle-font-size: (
  epub: medium,
  prince: 1em,
  web: 1em
) !default;

Description

Defines the section subtitle font size.

Type

String</code> or <code>Map

section-subtitle-font-style

$section-subtitle-font-style: normal !default;

Description

Defines the section subtitle font style.

Type

String

section-subtitle-font-weight

$section-subtitle-font-weight: normal !default;

Description

Defines the section subtitle font weight.

Type

String</code> or <code>Integer

section-subtitle-align

$section-subtitle-align: center !default;

Description

Defines the section subtitle text alignment.

Type

String

section-subtitle-text-transform

$section-subtitle-text-transform: none !default;

Description

Defines the section subtitle text transform.

Type

String

section-subtitle-letter-spacing

Since 1.0.0
$section-subtitle-letter-spacing: $section-title-letter-spacing !default;

Description

Defines letter spacing property on section subtitle

Type

String</code> or <code>Map

section-subtitle-word-spacing

Since 1.0.0
$section-subtitle-word-spacing: $section-title-word-spacing !default;

Description

Defines word spacing property on section subtitle

Type

String</code> or <code>Map

section-author-margin-bottom

$section-author-margin-bottom: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Defines spacing between section author and the bottom border of the section header.

Type

String</code> or <code>Map

section-author-font-family

$section-author-font-family: $font-2 !default;

Description

Defines the section author font family.

Type

String

section-author-font-size

$section-author-font-size: (
  epub: medium,
  prince: 1em,
  web: 1em
) !default;

Description

Defines the section author font size.

Type

String</code> or <code>Map

section-author-font-style

$section-author-font-style: normal !default;

Description

Defines the section author font style.

Type

String

section-author-font-weight

$section-author-font-weight: normal !default;

Description

Defines the section author font weight.

Type

String</code> or <code>Integer

section-author-align

$section-author-align: center !default;

Description

Defines the section author text alignment.

Type

String

section-author-text-indent

Since 1.4.0
$section-author-text-indent: 0 !default;

Description

Defines the section author text indent.

Type

String</code> or <code>Map

section-author-text-transform

$section-author-text-transform: uppercase !default;

Description

Defines the section author text transform.

Type

String

section-author-letter-spacing

Since 1.0.0
$section-author-letter-spacing: $section-title-letter-spacing !default;

Description

Defines letter spacing property on section author

Type

String</code> or <code>Map

section-author-word-spacing

Since 1.0.0
$section-author-word-spacing: $section-title-word-spacing !default;

Description

Defines word spacing property on section author

Type

String</code> or <code>Map

aphorism-block-width

Since 0.3.0
$aphorism-block-width: (
  epub: 100%,
  prince: 100%,
  web: 100%
) !default;

Description

Defines aphorism block-width.

Type

String</code> or <code>Map

aphorism-margin-top

$aphorism-margin-top: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Defines aphorism top margin.

Type

String</code> or <code>Map

aphorism-padding-bottom

Since 1.1.0
$aphorism-padding-bottom: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Defines aphorism padding bottom.

Type

String</code> or <code>Map

aphorism-margin-bottom

$aphorism-margin-bottom: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Defines aphorism bottom margin.

Type

String</code> or <code>Map

aphorism-margin-left

Since 0.3.0
$aphorism-margin-left: (
  epub: auto,
  prince: auto,
  web: auto
) !default;

Description

Defines aphorism left margin.

Type

String</code> or <code>Map

aphorism-margin-right

Since 0.3.0
$aphorism-margin-right: (
  epub: auto,
  prince: auto,
  web: auto
) !default;

Description

Defines aphorism right margin.

Type

String</code> or <code>Map

aphorism-font-family

$aphorism-font-family: $body-font-family !default;

Description

Defines aphorism font family.

Type

String

aphorism-font-size

$aphorism-font-size: (
  epub: small,
  prince: 0.9em,
  web: 0.9em
) !default;

Description

Defines aphorism font size.

Type

String</code> or <code>Map

aphorism-font-style

Since 0.3.0
$aphorism-font-style: italic !default;

Description

Defines aphorism font size.

Type

String

aphorism-font-weight

Since 1.0.0
$aphorism-font-weight: normal !default;

Description

Defines aphorism font weight.

Type

String

aphorism-line-height

Since 0.3.0
$aphorism-line-height: $body-line-height !default;

Description

Defines aphorism line height.

Type

String</code> or <code>Map

aphorism-align

$aphorism-align: left !default;

Description

Defines aphorism text alignment.

Type

String

aphorism-indent

$aphorism-indent: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Defines the aphorism text indentation.

Type

String</code> or <code>Map

aphorism-cite-font-size

$aphorism-cite-font-size: (
  epub: small,
  prince: 0.9em,
  web: 0.9em
) !default;

Description

Defines aphorism citation font size.

Type

String</code> or <code>Map

aphorism-cite-font-style

Since 0.3.0
$aphorism-cite-font-style: italic !default;

Description

Defines aphorism citation font style.

Type

String

aphorism-cite-font-variant

Since 0.3.0
$aphorism-cite-font-variant: normal !default;

Description

Defines aphorism citation font variant.

Type

String

aphorism-cite-font-weight

Since 1.0.0
$aphorism-cite-font-weight: normal !default;

Description

Defines aphorism font weight.

Type

String

aphorism-cite-text-transform

Since 0.3.4
$aphorism-cite-text-transform: none !default;

Description

Defines aphorism citation text transform.

Type

String

aphorism-cite-align

$aphorism-cite-align: left !default;

Description

Defines aphorism citation alignment.

Type

String

aphorism-cite-margin-left

Since 0.3.0
$aphorism-cite-margin-left: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Defines the left margin of the aphorism citation.

Type

String</code> or <code>Map

aphorism-cite-margin-right

Since 0.3.0
$aphorism-cite-margin-right: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Defines the right margin of the aphorism citation.

Type

String</code> or <code>Map

aphorism-cite-before-content

Since 0.3.0
$aphorism-cite-before-content: '\2014\00a0' !default;

Description

Content that appears before the aphorism citation. Defaults to an em dash and a non-breaking space.

Type

String

part-number-display

$part-number-display: block !default;

Description

Defines the display property for the part number.

Type

String

part-number-margin-top

Since 0.3.0
$part-number-margin-top: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Defines the top margin for the part number.

Type

String</code> or <code>Map

part-number-margin-right

Since 1.0.0
$part-number-margin-right: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Defines the right margin for the part number.

Type

String</code> or <code>Map

part-number-margin-bottom

$part-number-margin-bottom: (
  epub: 1em,
  prince: 0.5cm,
  web: 1em
) !default;

Description

Defines the bottom margin for the part number.

Type

String</code> or <code>Map

part-number-margin-left

Since 1.0.0
$part-number-margin-left: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Defines the left margin for the part number.

Type

String</code> or <code>Map

part-number-padding-bottom

Since 1.0.0
$part-number-padding-bottom: $section-title-padding-bottom !default;

Description

Defines the bottom padding for the part number.

Type

String</code> or <code>Map

part-number-border-bottom-width

Since 1.0.0
$part-number-border-bottom-width: $section-title-border-bottom-width !default;

Description

Defines the bottom border width for the part number.

Type

String</code> or <code>Map

part-number-border-bottom-style

Since 1.0.0
$part-number-border-bottom-style: $section-title-border-bottom-style !default;

Description

Defines the bottom border style for the part number.

Type

String

part-number-border-bottom-color

Since 1.0.0
$part-number-border-bottom-color: $section-title-border-bottom-color !default;

Description

Defines the bottom border colour for the part number.

Type

String</code> or <code>Map

part-number-font-family

$part-number-font-family: $font-3 !default;

Description

Defines part number font family.

Type

String

part-number-font-size

$part-number-font-size: (
  epub: 1em,
  prince: 1.5em,
  web: 1em
) !default;

Description

Defines part number font size.

Type

String</code> or <code>Map

part-number-font-style

$part-number-font-style: normal !default;

Description

Defines part number font style.

Type

String

part-number-font-weight

$part-number-font-weight: normal !default;

Description

Defines part number font weight.

Type

String

part-number-letter-spacing

$part-number-letter-spacing: 1px !default;

Description

Defines part number letter spacing.

Type

String

part-number-word-spacing

$part-number-word-spacing: 2px !default;

Description

Defines part number word spacing.

Type

String

part-number-align

$part-number-align: center !default;

Description

Defines part number alignment.

Type

String

part-number-text-transform

$part-number-text-transform: none !default;

Description

Defines part number text transform.

Type

String

part-number-line-height

Since 1.0.0
$part-number-line-height: (
  epub: 1,
  prince: 1,
  web: 1
 ) !default;

Description

Defines part number line height.

Type

String</code> or <code>Map

part-number-prefix-content

Deprecated!
$part-number-prefix-content: $part + '\00A0' !default;

Description

Content that appears before the part number. Defaults to the localized string "Part" and a non-breaking space.

Type

String

Changelog

  • 0.3.0
  • 1.0.0 —

    Use $part-number-before-content instead.

part-number-before-content

Since 1.0.0
$part-number-before-content: $part-number-prefix-content !default;

Description

Content that appears before the part number. Defaults to the localized string "Part" and a non-breaking space.

Type

String

part-number-prefix-text-transform

Since 1.0.0 — <p>Use $part-number-before-content-text-transform instead.</p>
Deprecated!
$part-number-prefix-text-transform: uppercase !default;

Description

Defines the content that appears before the part number's text transform.

Type

String

part-number-before-content-text-transform

Since 1.0.0
$part-number-before-content-text-transform: $part-number-prefix-text-transform !default;

Description

Defines the content that appears before the part number's text transform.

Type

String

part-number-after-content

Since 1.0.0
$part-number-after-content: '' !default;

Description

Content that appears after the part number. Defaults to an empty string.

Type

String

part-title-display

Since 0.3.0
$part-title-display: $section-title-display !default;

Description

Defines the part title display property.

Type

String

part-title-margin-top

Since 0.3.0
$part-title-margin-top: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Defines the part title top margin.

Type

String</code> or <code>Map

part-title-margin-bottom

Since 0.3.0
$part-title-margin-bottom: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Defines the part title bottom margin.

Type

String</code> or <code>Map

part-title-margin-left

Since 1.0.0
$part-title-margin-left: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Defines the part title left margin.

Type

String</code> or <code>Map

part-title-margin-right

Since 1.0.0
$part-title-margin-right: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Defines the part title right margin.

Type

String</code> or <code>Map

part-title-font-family

$part-title-font-family: $font-2 !default;

Description

Defines the part title font family.

Type

String

part-title-font-size

$part-title-font-size: (
  epub: 1.75em,
  prince: 2.5em,
  web: 2.5em
) !default;

Description

Defines the part title font size.

Type

String</code> or <code>Map

part-title-font-style

$part-title-font-style: normal !default;

Description

Defines the part title font style.

Type

String

part-title-font-weight

$part-title-font-weight: normal !default;

Description

Defines the part title font weight.

Type

String

part-title-align

Since 1.3.0
$part-title-align: (epub: center, prince: center, web: center) !default;

Description

Defines the part title alignment.

Type

String</code> or <code>Map

part-title-text-transform

$part-title-text-transform: uppercase !default;

Description

Defines the part title text transform.

Type

String

part-title-line-height

Since 1.0.0
$part-title-line-height: $h1-line-height !default;

Description

Defines the part title line height.

Type

String</code> or <code>Map

part-title-letter-spacing

Since 1.0.0
$part-title-letter-spacing: $section-title-letter-spacing !default;

Description

Defines letter spacing property on part titles

Type

String</code> or <code>Map

part-title-word-spacing

Since 1.0.0
$part-title-word-spacing: $section-title-word-spacing !default;

Description

Defines the word spacing title on part titles

Type

String</code> or <code>Map

part-title-decoration-font-family

Since 1.0.0
$part-title-decoration-font-family: $section-title-decoration-font-family !default;

Description

Defines the part title decoration font family.

Type

String

part-title-decoration-content

Since 1.0.0
$part-title-decoration-content: $section-title-decoration-content !default;

Description

Defines the part title decoration content.

Type

String

part-title-decoration-display

Since 1.0.0
$part-title-decoration-display: $section-title-decoration-display !default;

Description

Defines the part title decoration display.

Type

String

part-title-decoration-font-size

Since 1.0.0
$part-title-decoration-font-size: $section-title-decoration-font-size !default;

Description

Defines the part title decoration font size.

Type

String</code> or <code>Map

part-title-decoration-font-weight

Since 1.0.0
$part-title-decoration-font-weight: $section-title-decoration-font-weight !default;

Description

Defines the part title decoration font weight.

Type

String

part-title-decoration-margin-bottom

Since 1.0.0
$part-title-decoration-margin-bottom: $section-title-decoration-margin-bottom !default;

Description

Defines the part title decoration margin bottom.

Type

String</code> or <code>Map

part-title-decoration-margin-top

Since 1.0.0
$part-title-decoration-margin-top: $section-title-decoration-margin-top !default;

Description

Defines the part title decoration margin top.

Type

String</code> or <code>Map

part-title-border-bottom-width

Since 1.1.0
$part-title-border-bottom-width: (epub: 0, prince: 0, web: 0) !default;

Description

Defines the bottom border width for the part title.

Type

String</code> or <code>Map

part-title-border-bottom-style

Since 1.1.0
$part-title-border-bottom-style: $section-title-border-bottom-style !default;

Description

Defines the bottom border style for the part title.

Type

String

part-title-border-bottom-color

Since 1.1.0
$part-title-border-bottom-color: $section-title-border-bottom-color !default;

Description

Defines the bottom border colour for the part title.

Type

String</code> or <code>Map

front-matter-title-display

Since 0.3.0
$front-matter-title-display: $section-title-display !default;

Description

Defines the front matter title display property.

Type

String

front-matter-title-margin-top

Since 0.3.0
$front-matter-title-margin-top: $section-title-margin-top !default;

Description

Defines the front matter title top margin.

Type

String</code> or <code>Map

front-matter-title-margin-bottom

Since 0.3.0
$front-matter-title-margin-bottom: $section-title-margin-bottom !default;

Description

Defines the front matter title bottom margin.

Type

String</code> or <code>Map

front-matter-title-margin-right

Since 1.0.0
$front-matter-title-margin-right: $section-title-margin-right !default;

Description

Defines the front matter title right margin.

Type

String</code> or <code>Map

front-matter-title-margin-left

Since 1.0.0
$front-matter-title-margin-left: $section-title-margin-left !default;

Description

Defines the front matter title left margin.

Type

String</code> or <code>Map

front-matter-title-letter-spacing

Since 1.0.0
$front-matter-title-letter-spacing: $section-title-letter-spacing !default;

Description

Defines the front matter title letter spacing.

Type

String</code> or <code>Map

front-matter-title-word-spacing

Since 1.0.0
$front-matter-title-word-spacing: $section-title-word-spacing !default;

Description

Defines the front matter title word spacing.

Type

String</code> or <code>Map

front-matter-title-font-family

$front-matter-title-font-family: $section-title-font-family !default;

Description

Defines the front matter title font family.

Type

String

front-matter-title-font-size

Since 0.3.0
$front-matter-title-font-size: $section-title-font-size !default;

Description

Defines the front matter title font family.

Type

String</code> or <code>Map

front-matter-title-font-style

$front-matter-title-font-style: $section-title-font-style !default;

Description

Defines the front matter title font styles.

Type

String

front-matter-title-font-weight

$front-matter-title-font-weight: $section-title-font-weight !default;

Description

Defines the front matter title font weight.

Type

String

front-matter-title-align

$front-matter-title-align: $section-title-align !default;

Description

Defines the front matter title alignment.

Type

String

front-matter-title-text-transform

$front-matter-title-text-transform: $section-title-text-transform !default;

Description

Defines the front matter title text transform.

Type

String

front-matter-title-line-height

Since 1.0.0
$front-matter-title-line-height: $section-title-line-height !default;

Description

Defines the front matter title line height.

Type

String</code> or <code>Map

front-matter-title-border-bottom-style

Since 1.0.0
$front-matter-title-border-bottom-style: $section-title-border-bottom-style !default;

Description

Defines the front matter title bottom border style.

Type

String

front-matter-title-border-bottom-width

Since 1.0.0
$front-matter-title-border-bottom-width: $section-title-border-bottom-width !default;

Description

Defines the front matter title bottom border width.

Type

String</code> or <code>Map

front-matter-title-border-bottom-color

Since 1.0.0
$front-matter-title-border-bottom-color: $section-title-border-bottom-color !default;

Description

Defines the front matter bottom border color.

Type

String</code> or <code>Map

front-matter-title-padding-bottom

Since 1.0.0
$front-matter-title-padding-bottom: $section-title-padding-bottom !default;

Description

Defines bottom padding style for the front-matter title.

Type

String</code> or <code>Map

front-matter-title-decoration-font-family

Since 1.0.0
$front-matter-title-decoration-font-family: $section-title-decoration-font-family !default;

Description

Defines the front matter title decoration font family.

Type

String

front-matter-title-decoration-content

Since 1.0.0
$front-matter-title-decoration-content: $section-title-decoration-content !default;

Description

Defines the front matter title decoration content.

Type

String

front-matter-title-decoration-display

Since 1.0.0
$front-matter-title-decoration-display: $section-title-decoration-display !default;

Description

Defines the front matter title decoration display.

Type

String

front-matter-title-decoration-font-size

Since 1.0.0
$front-matter-title-decoration-font-size: $section-title-decoration-font-size !default;

Description

Defines the front matter title decoration font size.

Type

String</code> or <code>Map

front-matter-title-decoration-font-weight

Since 1.0.0
$front-matter-title-decoration-font-weight: $section-title-decoration-font-weight !default;

Description

Defines the front matter title decoration font weight.

Type

String

front-matter-title-decoration-margin-bottom

Since 1.0.0
$front-matter-title-decoration-margin-bottom: $section-title-decoration-margin-bottom !default;

Description

Defines the front matter title decoration margin bottom.

Type

String</code> or <code>Map

front-matter-title-decoration-margin-top

Since 1.0.0
$front-matter-title-decoration-margin-top: $section-title-decoration-margin-top !default;

Description

Defines the front matter title decoration margin top.

Type

String</code> or <code>Map

toc-title-display

Since 0.3.0
$toc-title-display: $section-title-display !default;

Description

Defines the table of contents title display property.

Type

String

toc-title-margin-top

Since 0.3.0
$toc-title-margin-top: $section-header-margin-top !default;

Description

Defines the table of contents title top margin.

Type

String</code> or <code>Map

toc-title-margin-bottom

Since 0.3.0
$toc-title-margin-bottom: $section-header-margin-bottom !default;

Description

Defines the table of contents title bottom margin.

Type

String</code> or <code>Map

toc-title-margin-right

Since 1.0.0
$toc-title-margin-right: $section-title-margin-right !default;

Description

Defines the table of contents title right margin.

Type

String</code> or <code>Map

toc-title-margin-left

Since 1.0.0
$toc-title-margin-left: $section-title-margin-left !default;

Description

Defines the table of contents title left margin.

Type

String</code> or <code>Map

toc-title-font-family

$toc-title-font-family: $section-title-font-family !default;

Description

Defines the table of contents title font family.

Type

String

toc-title-font-size

$toc-title-font-size: $section-title-font-size !default;

Description

Defines the table of contents title font size.

Type

String</code> or <code>Map

toc-title-font-style

$toc-title-font-style: $section-title-font-style !default;

Description

Defines the table of contents title font style.

Type

String

toc-title-font-weight

$toc-title-font-weight: $section-title-font-weight !default;

Description

Defines the table of contents title font weight.

Type

String

toc-title-align

$toc-title-align: $section-title-align !default;

Description

Defines the table of contents title alignment.

Type

String

toc-title-text-transform

$toc-title-text-transform: $section-title-text-transform !default;

Description

Defines the table of contents title text transform.

Type

String

toc-title-line-height

Since 1.0.0
$toc-title-line-height: $section-title-line-height !default;

Description

Defines the table of contents title line height.

Type

String</code> or <code>Map

toc-title-border-bottom-style

Since 1.0.0
$toc-title-border-bottom-style: $section-title-border-bottom-style !default;

Description

Defines the table of contents title bottom border style.

Type

String

toc-title-border-bottom-width

Since 1.0.0
$toc-title-border-bottom-width: $section-title-border-bottom-width !default;

Description

Defines the table of contents title bottom border width.

Type

String</code> or <code>Map

toc-title-border-bottom-color

Since 1.0.0
$toc-title-border-bottom-color: $section-title-border-bottom-color !default;

Description

Defines the table of contents title bottom border color.

Type

String</code> or <code>Map

toc-title-padding-bottom

Since 1.0.0
$toc-title-padding-bottom: $section-title-padding-bottom !default;

Description

Defines bottom padding style for the front-matter title.

Type

String</code> or <code>Map

toc-title-decoration-font-family

Since 1.0.0
$toc-title-decoration-font-family: $section-title-decoration-font-family !default;

Description

Defines the table of contents title decoration font family.

Type

String

toc-title-decoration-content

Since 1.0.0
$toc-title-decoration-content: $section-title-decoration-content !default;

Description

Defines the table of contents title decoration content.

Type

String

toc-title-decoration-display

Since 1.0.0
$toc-title-decoration-display: $section-title-decoration-display !default;

Description

Defines the table of contents title decoration display.

Type

String

toc-title-decoration-font-size

Since 1.0.0
$toc-title-decoration-font-size: $section-title-decoration-font-size !default;

Description

Defines the table of contents title decoration font size.

Type

String</code> or <code>Map

toc-title-decoration-font-weight

Since 1.0.0
$toc-title-decoration-font-weight: $section-title-decoration-font-weight !default;

Description

Defines the table of contents title decoration font weight.

Type

String

toc-title-decoration-margin-bottom

Since 1.0.0
$toc-title-decoration-margin-bottom: $section-title-decoration-margin-bottom !default;

Description

Defines the table of contents title decoration margin bottom.

Type

String</code> or <code>Map

toc-title-decoration-margin-top

Since 1.0.0
$toc-title-decoration-margin-top: $section-title-decoration-margin-top !default;

Description

Defines the table of contents title decoration margin top.

Type

String</code> or <code>Map

toc-title-letter-spacing

Since 1.0.0
$toc-title-letter-spacing: $section-title-letter-spacing !default;

Description

Defines letter spacing property on table of contents title

Type

String</code> or <code>Map

toc-title-word-spacing

Since 1.0.0
$toc-title-word-spacing: $section-title-word-spacing !default;

Description

Defines word spacing property on table of contents title

Type

String</code> or <code>Map

chapter-number-display

$chapter-number-display: block !default;

Description

Defines the chapter number display property.

Type

String

chapter-number-margin-top

$chapter-number-margin-top: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Defines the chapter number top margin.

Type

String</code> or <code>Map

chapter-number-margin-bottom

$chapter-number-margin-bottom: (
  epub: 1em,
  prince: 0.5cm,
  web: 1em
) !default;

Description

Defines the chapter number bottom margin.

Type

String</code> or <code>Map

chapter-number-margin-right

Since 1.0.0
$chapter-number-margin-right: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Defines the chapter number right margin.

Type

String</code> or <code>Map

chapter-number-margin-left

Since 1.0.0
$chapter-number-margin-left: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Defines the chapter number left margin.

Type

String</code> or <code>Map

chapter-number-padding-bottom

Since 1.0.0
$chapter-number-padding-bottom: $section-title-padding-bottom !default;

Description

Defines the chapter number bottom padding.

Type

String</code> or <code>Map

chapter-number-border-bottom-width

Since 1.0.0
$chapter-number-border-bottom-width: $section-title-border-bottom-width !default;

Description

Defines the bottom border width for the chapter number.

Type

String</code> or <code>Map

chapter-number-border-bottom-style

Since 1.0.0
$chapter-number-border-bottom-style: $section-title-border-bottom-style !default;

Description

Defines the bottom border style for the chapter number.

Type

String

chapter-number-border-bottom-color

Since 1.0.0
$chapter-number-border-bottom-color: $section-title-border-bottom-color !default;

Description

Defines the bottom border colour for the chapter number.

Type

String</code> or <code>Map

chapter-number-font-family

$chapter-number-font-family: $font-3 !default;

Description

Defines the chapter number font family.

Type

String

chapter-number-font-size

$chapter-number-font-size: (
  epub: 1em,
  prince: 1.5em,
  web: 1em
) !default;

Description

Defines the chapter number font size.

Type

String</code> or <code>Map

chapter-number-font-style

$chapter-number-font-style: normal !default;

Description

Defines the chapter number font style.

Type

String

chapter-number-font-weight

$chapter-number-font-weight: normal !default;

Description

Defines the chapter number font weight.

Type

String

chapter-number-line-height

$chapter-number-line-height: (
  epub: 1,
  prince: 1,
  web: 1
 ) !default;

Description

Defines the chapter number line height.

Type

String</code> or <code>Map

chapter-number-align

$chapter-number-align: center !default;

Description

Defines the chapter number alignment.

Type

String

chapter-number-text-transform

$chapter-number-text-transform: none !default;

Description

Defines the chapter number text transform.

Type

String

chapter-number-before-content

Since 1.0.0
$chapter-number-before-content: '' !default;

Description

Defines the content that precedes the chapter number. Defaults to an empty string.

Type

String

chapter-number-before-content-text-transform

Since 1.0.0
$chapter-number-before-content-text-transform: none !default;

Description

Defines the chapter number before content text transform.

Type

String

chapter-number-after-content

$chapter-number-after-content: '.\00A0' !default;

Description

Defines the content that follows the chapter number. Defaults to a period and a non-breaking space.

Type

String

chapter-number-letter-spacing

Since 1.0.0
$chapter-number-letter-spacing: $section-title-letter-spacing !default;

Description

Defines letter spacing property on chapter numbers

Type

String</code> or <code>Map

chapter-number-word-spacing

Since 1.0.0
$chapter-number-word-spacing: $section-title-word-spacing !default;

Description

Defines the word spacing property on chapter numbers

Type

String</code> or <code>Map

chapter-title-display

$chapter-title-display: $section-title-display !default;

Description

Defines the chapter title display propert.

Type

String

chapter-title-margin-top

$chapter-title-margin-top: $section-title-margin-top !default;

Description

Defines the chapter title top margin.

Type

String</code> or <code>Map

chapter-title-margin-bottom

$chapter-title-margin-bottom: $section-title-margin-bottom !default;

Description

Defines the chapter title bottom margin.

Type

String</code> or <code>Map

chapter-title-margin-right

Since 1.0.0
$chapter-title-margin-right: $section-title-margin-right !default;

Description

Defines the chapter title right margin.

Type

String</code> or <code>Map

chapter-title-margin-left

Since 1.0.0
$chapter-title-margin-left: $section-title-margin-left !default;

Description

Defines the chapter title left margin.

Type

String</code> or <code>Map

chapter-title-font-family

$chapter-title-font-family: $section-title-font-family !default;

Description

Defines the chapter title font family.

Type

String

chapter-title-font-size

Since 0.3.0
$chapter-title-font-size: $section-title-font-size !default;

Description

Defines the chapter title font size.

Type

String</code> or <code>Map

chapter-title-font-style

$chapter-title-font-style: $section-title-font-style !default;

Description

Defines the chapter title font style.

Type

String

chapter-title-font-weight

$chapter-title-font-weight: $section-title-font-weight !default;

Description

Defines the chapter title font weight.

Type

String

chapter-title-align

$chapter-title-align: $section-title-align !default;

Description

Defines the chapter title alignment.

Type

String

chapter-title-text-transform

$chapter-title-text-transform: $section-title-text-transform !default;

Description

Defines the chapter title text transform.

Type

String

chapter-title-line-height

Since 1.0.0
$chapter-title-line-height: $section-title-line-height !default;

Description

Defines the chapter title line height.

Type

String</code> or <code>Map

chapter-title-letter-spacing

Since 1.0.0
$chapter-title-letter-spacing: $section-title-letter-spacing !default;

Description

Defines letter spacing property on chapter titles

Type

String</code> or <code>Map

chapter-title-word-spacing

Since 1.0.0
$chapter-title-word-spacing: $section-title-word-spacing !default;

Description

Defines the word spacing title on chapter titles

Type

String</code> or <code>Map

chapter-title-border-bottom-width

Since 1.0.0
$chapter-title-border-bottom-width: $section-title-border-bottom-width !default;

Description

Defines bottom border width for the chapter title.

Type

String</code> or <code>Map

chapter-title-border-bottom-style

Since 1.0.0
$chapter-title-border-bottom-style: $section-title-border-bottom-style !default;

Description

Defines bottom border style for the chapter title.

Type

String

chapter-title-border-bottom-color

Since 1.0.0
$chapter-title-border-bottom-color: $section-title-border-bottom-color !default;

Description

Defines bottom border style for the chapter title.

Type

String

chapter-title-padding-bottom

Since 1.0.0
$chapter-title-padding-bottom: $section-title-padding-bottom !default;

Description

Defines the chapter number bottom padding.

Type

String</code> or <code>Map

chapter-title-decoration-font-family

Since 1.0.0
$chapter-title-decoration-font-family: $section-title-decoration-font-family !default;

Description

Defines the chapter title decoration font family.

Type

String

chapter-title-decoration-content

Since 1.0.0
$chapter-title-decoration-content: $section-title-decoration-content !default;

Description

Defines the chapter title decoration content.

Type

String

chapter-title-decoration-display

Since 1.0.0
$chapter-title-decoration-display: $section-title-decoration-display !default;

Description

Defines the chapter title decoration display.

Type

String

chapter-title-decoration-font-size

Since 1.0.0
$chapter-title-decoration-font-size: $section-title-decoration-font-size !default;

Description

Defines the chapter title decoration font size.

Type

String</code> or <code>Map

chapter-title-decoration-font-weight

Since 1.0.0
$chapter-title-decoration-font-weight: $section-title-decoration-font-weight !default;

Description

Defines the chapter title decoration font weight.

Type

String

chapter-title-decoration-margin-bottom

Since 1.0.0
$chapter-title-decoration-margin-bottom: $section-title-decoration-margin-bottom !default;

Description

Defines the chapter title decoration margin bottom.

Type

String</code> or <code>Map

chapter-title-decoration-margin-top

Since 1.0.0
$chapter-title-decoration-margin-top: $section-title-decoration-margin-top !default;

Description

Defines the chapter title decoration margin top.

Type

String</code> or <code>Map

back-matter-title-display

Since 0.3.0
$back-matter-title-display: $section-title-display !default;

Description

Defines the back matter title display property.

Type

String

back-matter-title-margin-top

Since 0.3.0
$back-matter-title-margin-top: $section-title-margin-top !default;

Description

Defines the back matter title top margin.

Type

String</code> or <code>Map

back-matter-title-margin-bottom

Since 0.3.0
$back-matter-title-margin-bottom: $section-title-margin-bottom !default;

Description

Defines the back matter title bottom margin.

Type

String</code> or <code>Map

back-matter-title-margin-right

Since 1.0.0
$back-matter-title-margin-right: $section-title-margin-right !default;

Description

Defines the back matter title right margin.

Type

String</code> or <code>Map

back-matter-title-margin-left

Since 1.0.0
$back-matter-title-margin-left: $section-title-margin-left !default;

Description

Defines the back matter title left margin.

Type

String</code> or <code>Map

back-matter-title-font-family

$back-matter-title-font-family: $section-title-font-family !default;

Description

Defines the back matter title font family.

Type

String

back-matter-title-font-size

Since 0.3.0
$back-matter-title-font-size: $section-title-font-size !default;

Description

Defines the back matter title font size.

Type

String</code> or <code>Map

back-matter-title-font-style

$back-matter-title-font-style: $section-title-font-style !default;

Description

Defines the back matter title font style.

Type

String

back-matter-title-font-weight

$back-matter-title-font-weight: $section-title-font-weight !default;

Description

Defines the back matter title font weight.

Type

String

back-matter-title-align

$back-matter-title-align: $section-title-align !default;

Description

Defines the back matter title alignment.

Type

String

back-matter-title-text-transform

$back-matter-title-text-transform: $section-title-text-transform !default;

Description

Defines the back matter title text transform.

Type

String

back-matter-title-line-height

Since 1.0.0
$back-matter-title-line-height: $section-title-line-height !default;

Description

Defines the back matter title line height.

Type

String</code> or <code>Map

back-matter-title-border-bottom-width

Since 1.0.0
$back-matter-title-border-bottom-width: $section-title-border-bottom-width !default;

Description

Defines bottom border width for the back matter title.

Type

String</code> or <code>Map

back-matter-title-border-bottom-style

Since 1.0.0
$back-matter-title-border-bottom-style: $section-title-border-bottom-style !default;

Description

Defines bottom border style for the back matter title.

Type

String

back-matter-title-border-bottom-color

Since 1.0.0
$back-matter-title-border-bottom-color: $section-title-border-bottom-color !default;

Description

Defines bottom border style for the back matter title.

Type

String

back-matter-title-padding-bottom

Since 1.0.0
$back-matter-title-padding-bottom: $section-title-padding-bottom !default;

Description

Defines the back matter title bottom padding.

Type

String</code> or <code>Map

back-matter-title-letter-spacing

Since 1.0.0
$back-matter-title-letter-spacing: $section-title-letter-spacing !default;

Description

Defines letter spacing property on back matter titles

Type

String</code> or <code>Map

back-matter-title-word-spacing

Since 1.0.0
$back-matter-title-word-spacing: $section-title-word-spacing !default;

Description

Defines the word spacing title on back matter titles

Type

String</code> or <code>Map

back-matter-title-decoration-font-family

Since 1.0.0
$back-matter-title-decoration-font-family: $section-title-decoration-font-family !default;

Description

Defines the back-matter title decoration font family.

Type

String

back-matter-title-decoration-content

Since 1.0.0
$back-matter-title-decoration-content: $section-title-decoration-content !default;

Description

Defines the back matter title decoration content.

Type

String

back-matter-title-decoration-display

Since 1.0.0
$back-matter-title-decoration-display: $section-title-decoration-display !default;

Description

Defines the back matter title decoration display.

Type

String

back-matter-title-decoration-font-size

Since 1.0.0
$back-matter-title-decoration-font-size: $section-title-decoration-font-size !default;

Description

Defines the back matter title decoration font size.

Type

String</code> or <code>Map

back-matter-title-decoration-font-weight

Since 1.0.0
$back-matter-title-decoration-font-weight: $section-title-decoration-font-weight !default;

Description

Defines the back matter title decoration font weight.

Type

String

back-matter-title-decoration-margin-bottom

Since 1.0.0
$back-matter-title-decoration-margin-bottom: $section-title-decoration-margin-bottom !default;

Description

Defines the back title decoration margin bottom.

Type

String</code> or <code>Map

back-matter-title-decoration-margin-top

Since 1.0.0
$back-matter-title-decoration-margin-top: $section-title-decoration-margin-top !default;

Description

Defines the back matter title decoration margin top.

Type

String</code> or <code>Map

Special Elements

variables

column-margin-top

$column-margin-top: 1em !default;

Description

Top margin for elements with class .twocolumn.

Type

String

column-margin-bottom

$column-margin-bottom: 1em !default;

Description

Margin bottom for elements with class .twocolumn.

Type

String

column-line-height

$column-line-height: 1.2em !default;

Description

Line height for elements with class .twocolumn.

Type

String

column-twocolumn-column-gap

$column-twocolumn-column-gap: 1.5em !default;

Description

Column gap for elements with class .twocolumn.

Type

String

column-twocolumn-font-size

$column-twocolumn-font-size: 0.85em !default;

Description

Font size for elements with class .twocolumn.

Type

String

column-twocolumn-text-align

Since 1.3.0
$column-twocolumn-text-align: $para-align !default;

Description

Text align for elements with class .twocolumn.

Type

String</code> or <code>Map

column-threecolumn-column-gap

$column-threecolumn-column-gap: 1em !default;

Description

Column gap for elements with class .threecolumn.

Type

String

column-threecolumn-font-size

$column-threecolumn-font-size: 0.8em !default;

Description

Font size for elements with class .threecolumn.

Type

String

column-threecolumn-text-align

Since 1.3.0
$column-threecolumn-text-align: $column-twocolumn-text-align !default;

Description

Text align for elements with class .threecolumn.

Type

String</code> or <code>Map

column-text-indent

Since 1.0.0
$column-text-indent: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Text indent for elements with class .twocolumn and .threecolumn.

Type

String</code> or <code>Map

first-character-font-family

$first-character-font-family: $font-2 !default;

Description

Font stack for elements with class .first-character.

Type

String

first-character-font-size

$first-character-font-size: 300% !default;

Description

Font size for elements with class .first-character.

Type

String

first-character-font-style

$first-character-font-style: normal !default;

Description

Font style for elements with class .first-character.

Type

String

first-character-font-weight

$first-character-font-weight: bold !default;

Description

Font weight for elements with class .first-character.

Type

String

first-character-line-height

$first-character-line-height: 0.7em !default;

Description

Line height for elements with class .first-character.

Type

String

footnote-block-margin-top

$footnote-block-margin-top: 0.5em !default;

Description

Margin top for footnote display.

Type

String

footnote-block-border-top

$footnote-block-border-top: 0 !default;

Description

Border top for footnote display.

Type

String

footnote-padding-top

$footnote-padding-top: 1em !default;

Description

Top padding for footnote.

Type

String

footnote-padding-left

$footnote-padding-left: 0 !default;

Description

Padding left for footnote display.

Type

String

footnote-font-family

Since 1.4.0
$footnote-font-family: $body-font-family !default;

Description

Font family for footnote for elements with a class of footnote.

Type

String</code> or <code>Map

footnote-font-size

$footnote-font-size: (
  epub: 0.9em,
  prince: 0.8rem,
  web: 0.9em
) !default;

Description

Font size for footnote for elements with a class of footnote.

Type

String</code> or <code>Map

footnote-font-weight

Since 1.4.0
$footnote-font-weight: $body-font-weight !default;

Description

Font weight for footnote for elements with a class of footnote.

Type

String</code> or <code>Map

footnote-font-style

$footnote-font-style: normal !default;

Description

Font style for footnote.

Type

String

footnote-line-height

$footnote-line-height: 1.15em !default;

Description

Line height for footnote.

Type

String

footnote-indent

$footnote-indent: 0 !default;

Description

Indentation for footnote for elements with a class of footnote.

Type

String

footnote-align

Since 1.2.0
$footnote-align: (epub: left, prince: left, web: left) !default;

Description

Text align for footnote for elements with a class of footnote.

Type

String</code> or <code>Map

footnote-text-transform

Since 1.4.0
$footnote-text-transform: (epub: none, prince: none, web: none) !default;

Description

Text transform for footnote for elements with a class of footnote.

Type

String</code> or <code>Map

footnote-letter-spacing

Since 1.4.0
$footnote-letter-spacing: (epub: normal, prince: normal, web: normal) !default;

Description

Letter spacing for footnote for elements with a class of footnote.

Type

String</code> or <code>Map

footnote-word-spacing

Since 1.4.0
$footnote-word-spacing: (epub: normal, prince: normal, web: normal) !default;

Description

Word spacing for footnote for elements with a class of footnote.

Type

String</code> or <code>Map

footnote-blockquote-margin-top

$footnote-blockquote-margin-top: 0.5em !default;

Description

Top Margin for footnote blockquote for elements with a class of fn-blockquote.

Type

String

footnote-blockquote-margin-bottom

$footnote-blockquote-margin-bottom: 0.5em !default;

Description

Bottom Margin for footnote blockquote for elements with a class of fn-blockquote.

Type

String

footnote-blockquote-margin-left

$footnote-blockquote-margin-left: 1.5em !default;

Description

Left Margin for footnote blockquote for elements with a class of fn-blockquote.

Type

String

footnote-blockquote-font-size

$footnote-blockquote-font-size: 0.95em !default;

Description

Font-size for footnote blockquote for elements with a class of fn-blockquote.

Type

String

footnote-number-marker-font-size

$footnote-number-marker-font-size: $sup-sub-font-size !default;

Description

Font-size Margin for footnote blockquote for elements with a class of fn-blockquote.

Type

String

endnote-margin-left

$endnote-margin-left: 1.5em !default;

Description

Left margin for endnotes on elements with a class of endnotes.

Type

String

endnote-line-height

$endnote-line-height: 1.1em !default;

Description

Line height for endnotes on elements with a class of endnotes.

Type

String

endnote-header-padding-bottom

$endnote-header-padding-bottom: 1em !default;

Description

Bottom padding for endnotes on <h3> elements that are children of elements with a class of endnotes.

Type

String

endnote-header-margin-bottom

$endnote-header-margin-bottom: 1em !default;

Description

Bottom margin for endnotes on <h3> elements that are children of elements with a class of endnotes.

Type

String

endnote-header-margin-left

$endnote-header-margin-left: -1.5em !default;

Description

Left margin for endnotes on <h3> elements that are children of elements with a class of endnotes.

Type

String

endnote-hr-margin-top

$endnote-hr-margin-top: 2em !default;

Description

Top margin for endnotes on <hr> elements that are children of elements with a class of endnotes.

Type

String

endnote-hr-border

$endnote-hr-border: 0 !default;

Description

Border for endnotes on <hr> elements that are children of elements with a class of endnotes.

Type

String

endnote-ol-margin-top

$endnote-ol-margin-top: 0.4em !default;

Description

Top margin on ordered lists within endnotes on <ol> elements that are children of elements with a class of endnotes.

Type

String

endnote-ol-margin-left

$endnote-ol-margin-left: 0 !default;

Description

Left margin on ordered lists within endnotes on <ol> elements that are children of elements with a class of endnotes.

Type

String

endnote-ol-font-size

$endnote-ol-font-size: 0.85em !default;

Description

Font size on ordered lists within endnotes on <ol> elements that are children of elements with a class of endnotes.

Type

String

endnote-li-padding-left

$endnote-li-padding-left: 0 !default;

Description

Left padding on lists within endnotes on <li> elements that are children of elements with a class of endnotes.

Type

String

endnote-li-margin-top

$endnote-li-margin-top: 0.4em !default;

Description

Top margin on lists within endnotes on <li> elements that are children of elements with a class of endnotes.

Type

String

endnote-li-indent

$endnote-li-indent: 0 !default;

Description

Indentation on lists within endnotes on <li> elements that are children of elements with a class of endnotes.

Type

String

aside-padding-top

$aside-padding-top: 0.9em !default;

Description

Padding top for asides on <aside> elements and elements with a class of aside.

Type

String

aside-padding-right

$aside-padding-right: 0 !default;

Description

Padding right for asides on <aside> elements and elements with a class of aside.

Type

String

aside-padding-bottom

$aside-padding-bottom: 0.9em !default;

Description

Padding bottom for asides on <aside> elements and elements with a class of aside.

Type

String

aside-padding-left

$aside-padding-left: 0 !default;

Description

Padding left for asides on <aside> elements and elements with a class of aside.

Type

String

aside-margin-top

$aside-margin-top: 2em !default;

Description

Margin top for asides on <aside> elements and elements with a class of aside.

Type

String

aside-margin-right

$aside-margin-right: 10% !default;

Description

Right margin for asides on <aside> elements and elements with a class of aside.

Type

String

aside-margin-bottom

$aside-margin-bottom: 2em !default;

Description

Bottom margin for asides on <aside> elements and elements with a class of aside.

Type

String

aside-margin-left

$aside-margin-left: 10% !default;

Description

Left margin for asides on <aside> elements and elements with a class of aside.

Type

String

aside-line-height

$aside-line-height: 1.2em !default;

Description

Line height for asides on <aside> elements and elements with a class of aside.

Type

String

aside-border-top

$aside-border-top: 1px solid !default;

Description

Top border for asides on <aside> elements and elements with a class of aside.

Type

String

aside-border-right

$aside-border-right: 0 !default;

Description

Border right for asides on <aside> elements and elements with a class of aside.

Type

String

aside-border-bottom

$aside-border-bottom: 1px solid !default;

Description

Bottom border for asides on <aside> elements and elements with a class of aside.

Type

String

aside-border-left

$aside-border-left: 0 !default;

Description

Left border for asides on <aside> elements and elements with a class of aside.

Type

String

pullquote-border-top-width

Since 1.0.0
$pullquote-border-top-width: 0 !default;

Description

Border top width for pullquotes on elements with classes of pullquote, pullquote-left, and pullquote-right.

Type

String</code> or <code>Map

pullquote-border-top-style

Since 1.0.0
$pullquote-border-top-style: none !default;

Description

Border top style for pullquotes on elements with classes of pullquote, pullquote-left, and pullquote-right.

Type

String

pullquote-border-top-color

Since 1.0.0
$pullquote-border-top-color: transparent !default;

Description

Border top color for pullquotes on elements with classes of pullquote, pullquote-left, and pullquote-right.

Type

String

pullquote-border-bottom-width

Since 1.0.0
$pullquote-border-bottom-width: 0 !default;

Description

Border bottom width for pullquotes on elements with classes of pullquote, pullquote-left, and pullquote-right.

Type

String</code> or <code>Map

pullquote-border-bottom-style

Since 1.0.0
$pullquote-border-bottom-style: none !default;

Description

Border bottom style for pullquotes on elements with classes of pullquote, pullquote-left, and pullquote-right.

Type

String

pullquote-border-bottom-color

Since 1.0.0
$pullquote-border-bottom-color: transparent !default;

Description

Border bottom color for pullquotes on elements with classes of pullquote, pullquote-left, and pullquote-right.

Type

String

pullquote-padding-top

Since 1.0.0
$pullquote-padding-top: 0 !default;

Description

Padding top for pullquotes on elements with classes of pullquote, pullquote-left, and pullquote-right.

Type

String</code> or <code>Map

pullquote-padding-bottom

Since 1.0.0
$pullquote-padding-bottom: 0 !default;

Description

Padding bottom for pullquotes on elements with classes of pullquote, pullquote-left, and pullquote-right.

Type

String</code> or <code>Map

pullquote-font-family

$pullquote-font-family: $font-3 !default;

Description

Font stack for pullquotes on elements with classes of pullquote, pullquote-left, and pullquote-right.

Type

String

pullquote-font-size

$pullquote-font-size: 1.25em !default;

Description

Font size for pullquotes on elements with classes of pullquote, pullquote-left, and pullquote-right.

Type

String

pullquote-font-style

$pullquote-font-style: normal !default;

Description

Font style for pullquotes on elements with classes of pullquote, pullquote-left, and pullquote-right.

Type

String

pullquote-font-weight

$pullquote-font-weight: bold !default;

Description

Font weight for pullquotes on elements with classes of pullquote, pullquote-left, and pullquote-right.

Type

String

pullquote-line-height

$pullquote-line-height: 1.2em !default;

Description

Line height for pullquotes on elements with classes of pullquote, pullquote-left, and pullquote-right.

Type

String

pullquote-text-transform

$pullquote-text-transform: none !default;

Description

Text transformation for pullquotes on elements with classes of pullquote, pullquote-left, and pullquote-right.

Type

String

pullquote-align

$pullquote-align: center !default;

Description

Alignment for pullquotes on elements with classes of pullquote, pullquote-left, and pullquote-right.

Type

String

pullquote-margin-top

$pullquote-margin-top: 1em !default;

Description

Top margin for pullquotes on elements with a class of pullquote.

Type

String</code> or <code>Map

pullquote-margin-bottom

$pullquote-margin-bottom: 1em !default;

Description

Bottom margin for pullquotes on elements with a class of pullquote.

Type

String</code> or <code>Map

pullquote-width

Since 1.1.0
$pullquote-width: auto !default;

Description

Width for pullquotes on elements with a class of pullquote.

Type

String</code> or <code>Map

pullquote-left-width

$pullquote-left-width: 45% !default;

Description

Left width for left pullquotes on elements with a class of pullquote-left.

Type

String

pullquote-left-align

Since 1.0.0
$pullquote-left-align: $pullquote-align !default;

Description

Text alignment for left-floated pullquotes on elements with a class of pullquote-right.

Type

String

pullquote-left-margin-top

Since 1.1.0
$pullquote-left-margin-top: $pullquote-margin-top !default;

Description

Top margin for left pullquotes on elements with a class of pullquote-left.

Type

String</code> or <code>Map

pullquote-left-margin-right

Since 1.1.0 — <p>supports maps</p>
$pullquote-left-margin-right: 1em !default;

Description

Right margin for left pullquotes on elements with a class of pullquote-left.

Type

String</code> or <code>Map

pullquote-left-margin-bottom

Since 1.1.0
$pullquote-left-margin-bottom: $pullquote-margin-bottom !default;

Description

Bottom margin for left pullquotes on elements with a class of pullquote-left.

Type

String</code> or <code>Map

pullquote-left-margin-left

Since 1.1.0 — <p>supports maps</p>
$pullquote-left-margin-left: 1em !default;

Description

Left margin for left pullquotes on elements with a class of pullquote-left.

Type

String</code> or <code>Map

pullquote-right-width

$pullquote-right-width: 45% !default;

Description

Width for right pullquotes on elements with a class of pullquote-right.

Type

String

pullquote-right-margin-top

Since 1.1.0
$pullquote-right-margin-top: $pullquote-margin-top !default;

Description

Top margin for right pullquotes on elements with a class of pullquote-right.

Type

String</code> or <code>Map

pullquote-right-margin-right

Since 1.1.0 — <p>supports maps</p>
$pullquote-right-margin-right: 1em !default;

Description

Right margin for right pullquotes on elements with a class of pullquote-right.

Type

String</code> or <code>Map

pullquote-right-margin-bottom

Since 1.1.0 — <p>supports maps</p>
$pullquote-right-margin-bottom: $pullquote-margin-bottom !default;

Description

Bottom margin for right pullquotes on elements with a class of pullquote-right.

Type

String</code> or <code>Map

pullquote-right-align

Since 1.0.0
$pullquote-right-align: $pullquote-align !default;

Description

Text alignment for right pullquotes on elements with a class of pullquote-right.

Type

String

pullquote-right-margin-left

Since 1.1.0
$pullquote-right-margin-left: 1em !default;

Description

Left margin for right pullquotes on elements with a class of pullquote-right.

Type

String</code> or <code>Map

sidebar-width

$sidebar-width: 35% !default;

Description

Width for Sidebar on elements with a class of sidebar.

Type

String

sidebar-padding-top

$sidebar-padding-top: 1em !default;

Description

Top padding for Sidebar on elements with a class of sidebar.

Type

String

sidebar-padding-right

$sidebar-padding-right: 1em !default;

Description

Right padding for Sidebar on elements with a class of sidebar.

Type

String

sidebar-padding-bottom

$sidebar-padding-bottom: 1em !default;

Description

Bottom padding for Sidebar on elements with a class of sidebar.

Type

String

sidebar-padding-left

$sidebar-padding-left: 1em !default;

Description

Left padding for Sidebar on elements with a class of sidebar.

Type

String

sidebar-margin-top

$sidebar-margin-top: 0.5em !default;

Description

Top margin for Sidebar on elements with a class of sidebar.

Type

String

sidebar-margin-right

$sidebar-margin-right: 0 !default;

Description

Right margin for Sidebar on elements with a class of sidebar.

Type

String

sidebar-margin-left

$sidebar-margin-left: 1em !default;

Description

Left margin for Sidebar on elements with a class of sidebar.

Type

String

sidebar-font-size

$sidebar-font-size: 0.9em !default;

Description

Font size for Sidebar on elements with a class of sidebar.

Type

String

sidebar-font-style

$sidebar-font-style: italic !default;

Description

Font style for Sidebar on elements with a class of sidebar.

Type

String

sidebar-font-weight

$sidebar-font-weight: normal !default;

Description

Font weight for Sidebar on elements with a class of sidebar.

Type

String

sidebar-align

$sidebar-align: left !default;

Description

Alignment for Sidebar on <p> elements that are children of elements with a class of sidebar.

Type

String

sidebar-line-height

Since 1.1.0
$sidebar-line-height: $body-line-height !default;

Description

Line Height for Sidebar on <p> elements that are children of elements with a class of sidebar.

Type

String</code> or <code>Map

hr-width

$hr-width: 20% !default;

Description

Seperator width on <hr> elements.

Type

String

hr-margin-top

$hr-margin-top: 0.9em !default;

Description

Seperator Top margin on <hr> elements.

Type

String</code> or <code>Map

hr-margin-bottom

$hr-margin-bottom: 0.9em !default;

Description

Seperator Bottom margin on <hr> elements.

Type

String

hr-border-style

$hr-border-style: solid !default;

Description

Seperator border style on <hr> elements.

Type

String

hr-border-width

$hr-border-width: 1px !default;

Description

Seperator border width on <hr> elements.

Type

String

hr-border-color

$hr-border-color: if-map-get($color-1, $type) !default;

Description

Seperator border color on <hr> elements.

Type

String</code> or <code>Map

hr-break-symbols-margin-bottom

$hr-break-symbols-margin-bottom: 1.66em !default;

Description

Bottom margin on break symbols on elements with a class of break-symbols that are children of <hr> elements.

Type

String

hr-break-symbols-margin-top

Since 1.3.0
$hr-break-symbols-margin-top: $hr-margin-top !default;

Description

Top margin on break symbols on elements with a class of break-symbols that are children of <hr> elements.

Type

String</code> or <code>Map

hr-break-symbols-font-size

$hr-break-symbols-font-size: 1.1em !default;

Description

Font size on break symbols on elements with a class of break-symbols that are children of <hr> elements.

Type

String

hr-break-symbols-content

$hr-break-symbols-content: '\066D' !default;

Description

Content on break symbols on elements with a class of break-symbols that are children of <hr> elements.

Type

String

hr-break-symbols-border-top-width

Since 1.2.0
$hr-break-symbols-border-top-width: (epub: 0, prince: 0, web: 0) !default;

Description

Top border width on break symbols on elements with a class of break-symbols that are children of <hr> elements.

Type

String</code> or <code>Map

hr-break-symbols-border-top-style

Since 1.2.0
$hr-break-symbols-border-top-style: (epub: none, prince: none, web: none) !default;

Description

Top border style on break symbols on elements with a class of break-symbols that are children of <hr> elements.

Type

String</code> or <code>Map

hr-break-symbols-padding-top

Since 1.2.0
$hr-break-symbols-padding-top: (epub: 0, prince: 0, web: 0) !default;

Description

Top padding on break symbols on elements with a class of break-symbols that are children of <hr> elements.

Type

String</code> or <code>Map

section-break-margin-top

$section-break-margin-top: 1em !default;

Description

Top margin on section break on elements with a class of .section-break.

Type

String

section-break-margin-bottom

$section-break-margin-bottom: 1em !default;

Description

Bottom margin on section break on elements with a class of .section-break.

Type

String

section-break-space-margin-top

$section-break-space-margin-top: 1em !default;

Description

Top margin on section break space on elements with a class of .section-break-space.

Type

String

section-break-space-margin-bottom

$section-break-space-margin-bottom: 0 !default;

Description

Bottom margin on section break space on elements with a class of .section-break-space.

Type

String

section-break-space-line-height

$section-break-space-line-height: 1em !default;

Description

Line height on section break space on elements with a class of .section-break-space.

Type

String

section-break-page-margin-top

$section-break-page-margin-top: 1em !default;

Description

Top margin on section break page on elements with a class of .section-break-page.

Type

String

section-break-page-margin-bottom

$section-break-page-margin-bottom: 1em !default;

Description

Bottom margin on section break page on elements with a class of .section-break-page.

Type

String

section-break-page-invisible-margin-top

$section-break-page-invisible-margin-top: 1em !default;

Description

Invisible top margin on section break page on elements with a class of .section-break-page-invisible.

Type

String

section-break-page-invisible-margin-bottom

$section-break-page-invisible-margin-bottom: 1em !default;

Description

Invisible bottom margin on section break page on elements with a class of .section-break-page-invisible.

Type

String

textbox-font-family

$textbox-font-family: $font-1 !default;

Description

Textbox font stack on elements with a class of textbox.

Type

String

textbox-font-size

$textbox-font-size: 0.9em !default;

Description

Textbox font size on elements with a class of textbox.

Type

String

textbox-font-style

$textbox-font-style: normal !default;

Description

Textbox font style on elements with a class of textbox.

Type

String

textbox-font-weight

$textbox-font-weight: normal !default;

Description

Textbox font weight on elements with a class of textbox.

Type

String

textbox-line-height

$textbox-line-height: 1.2em !default;

Description

Textbox line height on elements with a class of textbox.

Type

String

textbox-text-align

$textbox-text-align: left !default;

Description

Alignment on elements with a class of textbox.

Type

String

textbox-text-indent

Since 1.3.0
$textbox-text-indent: $para-indent !default;

Description

Text indents on elements with a class of textbox.

Type

String</code> or <code>Map

textbox-word-spacing

Since 1.0.0
$textbox-word-spacing: (
  epub: normal,
  prince: normal,
  web: normal
) !default;

Description

Word spacing on elements with a class of textbox.

Type

String</code> or <code>Map

textbox-letter-spacing

Since 1.0.0
$textbox-letter-spacing: (
  epub: normal,
  prince: normal,
  web: normal
) !default;

Description

Letter spacing on elements with a class of textbox.

Type

String</code> or <code>Map

textbox-background-color

$textbox-background-color: initial !default;

Description

Textbox background color on elements with a class of textbox.

Type

String

textbox-shaded-background-color

$textbox-shaded-background-color: $shaded-color !default;

Description

Textbox shaded Background color on elements with a class of textbox and a class of shaded.

Type

String

textbox-padding-top

$textbox-padding-top: 2.5em !default;

Description

Textbox top padding on elements with a class of textbox.

Type

String</code> or <code>Map

textbox-padding-right

$textbox-padding-right: 2.5em !default;

Description

Textbox right padding on elements with a class of textbox.

Type

String</code> or <code>Map

textbox-padding-bottom

$textbox-padding-bottom: 2.5em !default;

Description

Textbox bottom padding on elements with a class of textbox.

Type

String</code> or <code>Map

textbox-padding-left

$textbox-padding-left: 2.5em !default;

Description

Textbox left padding on elements with a class of textbox.

Type

String</code> or <code>Map

textbox-margin-top

$textbox-margin-top: 0.9em !default;

Description

Textbox top margin on elements with a class of textbox.

Type

String</code> or <code>Map

textbox-margin-right

$textbox-margin-right: 0 !default;

Description

Textbox margin right on elements with a class of textbox.

Type

String</code> or <code>Map

textbox-margin-bottom

$textbox-margin-bottom: 0.9em !default;

Description

Textbox bottom margin on elements with a class of textbox.

Type

String</code> or <code>Map

textbox-margin-left

$textbox-margin-left: 0 !default;

Description

Textbox left margin on elements with a class of textbox.

Type

String</code> or <code>Map

textbox-border-style

$textbox-border-style: solid !default;

Description

Textbox border style on elements with a class of textbox.

Type

String

textbox-border-color

$textbox-border-color: #000 !default;

Description

Textbox border color on elements with a class of textbox.

Type

String

textbox-border-width

$textbox-border-width: 0.05em !default;

Description

Textbox border width on elements with a class of textbox.

Type

String</code> or <code>Map

textbox-border-radius

$textbox-border-radius: 0 !default;

Description

Textbox border radius on elements with a class of textbox.

Type

String</code> or <code>Map

textbox-para-margin-top

$textbox-para-margin-top: $para-margin-top !default;

Description

Textbox paragraph top margin on <p> elements that are children of elements with a class of textbox.

Type

String</code> or <code>Map

textbox-para-margin-bottom

$textbox-para-margin-bottom: 0.5em !default;

Description

Textbox paragraph bottom margin on <p> elements that are children of elements with a class of textbox.

Type

String</code> or <code>Map

textbox-ol-margin-top

Since 1.0.0
$textbox-ol-margin-top: 1em !default;

Description

Textbox top margin on <ol> elements that are children of elements with a class of textbox.

Type

String

textbox-ol-margin-bottom

Since 1.0.0
$textbox-ol-margin-bottom: 0.75em !default;

Description

Textbox bottom margin on <ol> elements that are children of elements with a class of textbox.

Type

String

textbox-ul-margin-top

Since 1.0.0
$textbox-ul-margin-top: 1em !default;

Description

Textbox header top margin on <ul> elements that are children of elements with a class of textbox.

Type

String

textbox-ul-margin-bottom

Since 1.0.0
$textbox-ul-margin-bottom: 0.75em !default;

Description

Textbox header bottom margin on <ul> elements that are children of elements with a class of textbox.

Type

String

textbox-li-margin-left

Since 1.0.0
$textbox-li-margin-left: 0.75em !default;

Description

Textbox header left margin on <li> elements that are children of elements with a class of textbox.

Type

String

textbox-caption-font-family

$textbox-caption-font-family: $font-2 !default;

Description

Textbox paragraph font stack on <p> elements that are children of elements with a class of textbox.

Type

String

textbox-caption-font-size

$textbox-caption-font-size: 0.875em !default;

Description

Textbox caption font size on elements with a class of .textbox-caption that are children of elements with a class of textbox.

Type

String

textbox-caption-font-style

$textbox-caption-font-style: normal !default;

Description

Textbox caption font style on elements with a class of .textbox-caption that are children of elements with a class of textbox.

Type

String

textbox-caption-font-weight

$textbox-caption-font-weight: bold !default;

Description

Textbox caption font weight on elements with a class of .textbox-caption that are children of elements with a class of textbox.

Type

String

textbox-sidebar-float

Since 1.0.0
$textbox-sidebar-float: (
  prince: outside,
  epub: right,
  web: right
) !default;

Description

Float property for sidebar textboxes.

textbox-sidebar-margin-top

Since 1.0.0
$textbox-sidebar-margin-top: (
  prince: 1em,
  epub: 1em,
  web: 1em
) !default;

Description

Top margin property for sidebar textboxes.

textbox-sidebar-margin-right

Since 1.0.0
$textbox-sidebar-margin-right: (
  prince: 0,
  epub: 0,
  web: 0
) !default;

Description

Right margin property for sidebar textboxes.

textbox-sidebar-margin-bottom

Since 1.0.0
$textbox-sidebar-margin-bottom: (
  prince: 1em,
  epub: 1em,
  web: 1em
) !default;

Description

Bottom margin property for sidebar textboxes.

textbox-sidebar-margin-left

Since 1.0.0
$textbox-sidebar-margin-left: (
  prince: 0,
  epub: 1em,
  web: 1em
) !default;

Description

Left margin property for sidebar textboxes.

textbox-sidebar-margin-inside

Since 1.0.0
$textbox-sidebar-margin-inside: 1em !default;

Description

Inside margin property for sidebar textboxes.

textbox-sidebar-max-width

Since 1.0.0
$textbox-sidebar-max-width: 25% !default;

Description

Max width property for sidebar textboxes.

edu-textbox-border-style

$edu-textbox-border-style: solid !default;

Description

Educational Textbox border style.

Type

String

edu-textbox-border-width

Since 0.6.1
$edu-textbox-border-width: $textbox-border-width !default;

Description

Educational Textbox border width.

Type

String

edu-textbox-border-radius

$edu-textbox-border-radius: 0.35em !default;

Description

Educational Textbox border radius.

Type

String</code> or <code>Map

edu-textbox-padding-top

$edu-textbox-padding-top: 1em !default;

Description

Educational Textbox top padding.

Type

String

edu-textbox-padding-right

$edu-textbox-padding-right: 1em !default;

Description

Educational Textbox right padding.

Type

String

edu-textbox-padding-bottom

$edu-textbox-padding-bottom: 1em !default;

Description

Educational Textbox bottom padding.

Type

String

edu-textbox-padding-left

$edu-textbox-padding-left: 1em !default;

Description

Educational Textbox left padding.

Type

String

edu-textbox-margin-bottom

$edu-textbox-margin-bottom: 1.35em !default;

Description

Educational Textbox bottom margin.

Type

String

edu-textbox-margin-left

Since version — <p>1.0.0</p>
$edu-textbox-margin-left: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Educational Textbox margin left.

Type

String</code> or <code>Map

edu-textbox-margin-right

Since version — <p>1.0.0</p>
$edu-textbox-margin-right: (
  epub: 0,
  prince: 0,
  web: 0
) !default;

Description

Educational Textbox margin right.

Type

String</code> or <code>Map

edu-header-padding-top

Deprecated!
$edu-header-padding-top: 1.35em !default;

Description

Educational Textbox header top padding.

Type

String

edu-header-padding-right

Deprecated!
$edu-header-padding-right: 0 !default;

Description

Educational Textbox header right padding.

Type

String

edu-header-padding-bottom

Deprecated!
$edu-header-padding-bottom: 1.35em !default;

Description

Educational Textbox header bottom padding.

Type

String

edu-header-padding-left

Deprecated!
$edu-header-padding-left: 0 !default;

Description

Educational Textbox header left padding.

Type

String

edu-header-margin-top

Deprecated!
$edu-header-margin-top: -1.2em !default;

Description

Educational Textbox header top margin.

Type

String

edu-header-margin-right

Deprecated!
$edu-header-margin-right: -1.2em !default;

Description

Educational Textbox header right margin.

Type

String

edu-header-margin-bottom

Deprecated!
$edu-header-margin-bottom: 1.35em !default;

Description

Educational Textbox header bottom margin.

Type

String

edu-header-margin-left

Deprecated!
$edu-header-margin-left: -1.2em !default;

Description

Educational Textbox header left margin.

Type

String

edu-header-text-color

Deprecated!
$edu-header-text-color: #fff !default;

Description

Educational Textbox header text color.

Type

String

edu-header-font-size

$edu-header-font-size: 0.9em !default;

Description

Educational Textbox header font size.

Type

String

edu-header-font-size-multiplier

Deprecated!
$edu-header-font-size-multiplier: 0.9 !default;

Description

Educational Textbox header font size multiplier, relative to $textbox-font-size.

Type

String

Changelog

  • 0.6.0
  • 1.0.0

edu-header-font-style

$edu-header-font-style: normal !default;

Description

Educational Textbox header font style.

edu-header-font-weight

$edu-header-font-weight: bold !default;

Description

Educational Textbox header font weight.

Type

String

edu-header-text-align

$edu-header-text-align: center !default;

Description

Educational Textbox header text align.

Type

String

learning-objectives-color

Since 0.6.0
$learning-objectives-color: #000 !default;

Description

Educational Textbox learning objectives text color.

Type

String

learning-objectives-header-color

Since 0.6.0
$learning-objectives-header-color: #fff !default;

Description

Educational Textbox learning objectives header text color.

Type

String

learning-objectives-background

$learning-objectives-background: #f7f7f9 !default;

Description

Educational Textbox learning objectives background color.

Type

String

learning-objectives-header-background

$learning-objectives-header-background: #111 !default;

Description

Educational Textbox learning objectives header background color.

Type

String

key-takeaways-color

Since 0.6.0
$key-takeaways-color: #000 !default;

Description

Educational Textbox key takeaways text color.

Type

String

key-takeaways-header-color

Since 0.6.0
$key-takeaways-header-color: #fff !default;

Description

Educational Textbox key takeaways header text color.

Type

String

key-takeaways-background

$key-takeaways-background: #eaf5ea !default;

Description

Educational Textbox key takeaways background color.

Type

String

key-takeaways-header-background

$key-takeaways-header-background: #3a7a33 !default;

Description

Educational Textbox learning objectives header background color.

Type

String

exercises-color

Since 0.6.0
$exercises-color: #000 !default;

Description

Educational Textbox exercises text color.

Type

String

exercises-header-color

Since 0.6.0
$exercises-header-color: #fff !default;

Description

Educational Textbox exercises header text color.

Type

String

exercises-background

$exercises-background: #e3eff6 !default;

Description

Educational Textbox exercises background color.

Type

String

exercises-header-background

$exercises-header-background: #0b6396 !default;

Description

Educational Textbox exercises header background color.

Type

String

examples-color

Since 0.6.0
$examples-color: #000 !default;

Description

Educational Textbox examples text color.

Type

String

examples-header-color

Since 0.6.0
$examples-header-color: #fff !default;

Description

Educational Textbox examples header text color.

Type

String

examples-background

$examples-background: #f3e1e3 !default;

Description

Educational Textbox examples background color.

Type

String

examples-header-background

$examples-header-background: #7a333a !default;

Description

Educational Textbox examples header background color.

Type

String

contributors-margin-top

$contributors-margin-top: 2rem !default;

Description

Margin top for elements with a class of contributors.

Type

String

contributors-margin-bottom

$contributors-margin-bottom: 2rem !default;

Description

Margin bottom for elements with a class of contributors.

Type

String

contributors-text-indent

$contributors-text-indent: 0 !default;

Description

Text indent for elements with a class of contributors.

Type

String

contributors-text-align

$contributors-text-align: left !default;

Description

Text align for elements with a class of contributors.

Type

String

contributor-profile-picture-float

$contributor-profile-picture-float: left !default;

Description

Float property for contributor profile pictures.

Type

String

contributor-profile-picture-margin

$contributor-profile-picture-margin: 0 !default;

Description

Margin for contributor profile pictures.

Type

String

contributor-profile-picture-border-radius

$contributor-profile-picture-border-radius: 50% !default;

Description

Border radius for contributor profile pictures.

Type

String

contributor-institution-text-transform

$contributor-institution-text-transform: uppercase !default;

Description

Text transform for elements with a class of contributor__institution.

Type

String

contributor-bio-margin-top

$contributor-bio-margin-top: 1em !default;

Description

Margin top for contributor bio.

Type

String

Page Structure

mixins

runninghead

@mixin runninghead($page-position, $content-position) { ... }

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$page-position

The page position.

String none
$content-position

The running content position.

String or Map none

Requires

runningfoot

@mixin runningfoot($page-position, $content-position) { ... }

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$page-position

The page position.

String none
$content-position

The running content position.

String or Map none

Requires

page-structure

@mixin page-structure($page-type, $page-position, $numbering-position, $running-content-position) { ... }

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$page-type

The page type.

String none
$page-position

The page position.

String none
$numbering-position

The page numbering position.

String or Map none
$running-content-position

The running content position.

String or Map none

Requires

variables

numbering-position

$numbering-position: 'top-outside' !default;

Description

Page numbering position.

Type

String

Used by

running-content-position

$running-content-position: 'top-center' !default;

Description

Running content position.

Type

String

Used by

first-running-content-position

Since 1.0.0
$first-running-content-position: null !default;

Description

First page running content position.

Type

Null</code> or <code>String

front-matter-page-number-font-family

$front-matter-page-number-font-family: $font-2 !default;

Description

Front matter page numbers font stack.

Type

String

front-matter-page-number-font-size

$front-matter-page-number-font-size: 0.8em !default;

Description

Front matter page numbers font size.

Type

String

front-matter-page-number-font-style

$front-matter-page-number-font-style: normal !default;

Description

Front matter page numbers font style.

Type

String

front-matter-page-number-font-weight

$front-matter-page-number-font-weight: normal !default;

Description

Front matter page numbers font weight.

Type

String

front-matter-page-number-text-transform

$front-matter-page-number-text-transform: none !default;

Description

Front matter page numbers text-transform.

Type

String

page-number-font-family

$page-number-font-family: $font-2 !default;

Description

Page number font stack.

Type

String

page-number-font-size

$page-number-font-size: 0.9em !default;

Description

Page number font size.

Type

String

page-number-font-style

$page-number-font-style: normal !default;

Description

Page number font style.

Type

String

page-number-font-weight

$page-number-font-weight: normal !default;

Description

Page number font weight.

Type

String

page-number-text-transform

$page-number-text-transform: none !default;

Description

Page number text transform.

Type

String

runninghead-padding-top

$runninghead-padding-top: 0.4in !default;

Description

Running Head top padding.

Type

String

Used by

runninghead-left-font-family

$runninghead-left-font-family: $font-3 !default;

Description

Running header font stack if page position is left.

Type

String

Used by

runninghead-left-font-size

$runninghead-left-font-size: 0.7em !default;

Description

Running header font size if page position is left.

Type

String

Used by

runninghead-left-font-style

$runninghead-left-font-style: normal !default;

Description

Running header font style if page position is left.

Type

String

Used by

runninghead-left-font-weight

$runninghead-left-font-weight: normal !default;

Description

Running header font weight if page position is left.

Type

String

Used by

runninghead-left-text-transform

$runninghead-left-text-transform: uppercase !default;

Description

Running header text transformation if page position is left.

Type

String

Used by

runninghead-left-letter-spacing

$runninghead-left-letter-spacing: 1px !default;

Description

Running header letter spacing if page position is left.

Type

String

Used by

runninghead-left-word-spacing

$runninghead-left-word-spacing: 2px !default;

Description

Running header word spacing if page position is left.

Type

String

Used by

runninghead-right-font-family

$runninghead-right-font-family: $font-3 !default;

Description

Running header font stack if page position is right.

Type

String

Used by

runninghead-right-font-size

$runninghead-right-font-size: 0.7em !default;

Description

Running header font size if page position is right.

Type

String

Used by

runninghead-right-font-style

$runninghead-right-font-style: normal !default;

Description

Running header font style if page position is right.

Type

String

Used by

runninghead-right-font-weight

$runninghead-right-font-weight: normal !default;

Description

Running header font weight if page position is right.

Type

String

Used by

runninghead-right-text-transform

$runninghead-right-text-transform: uppercase !default;

Description

Running header text transformation if page position is right.

Type

String

Used by

runninghead-right-letter-spacing

$runninghead-right-letter-spacing: 1px !default;

Description

Running header letter spacing if page position is right.

Type

String

Used by

runninghead-right-word-spacing

$runninghead-right-word-spacing: 2px !default;

Description

Running header word spacing if page position is right.

Type

String

Used by

runningfoot-padding-bottom

$runningfoot-padding-bottom: 0.4in !default;

Description

Running feet bottom padding.

Type

String

Used by

runningfoot-left-font-family

$runningfoot-left-font-family: $font-2 !default;

Description

Running feet font stack if page position is left.

Type

String

Used by

runningfoot-left-font-size

$runningfoot-left-font-size: 0.7em !default;

Description

Running feet font size if page position is left.

Type

String

Used by

runningfoot-left-font-style

$runningfoot-left-font-style: normal !default;

Description

Running feet font style if page position is left.

Type

String

Used by

runningfoot-left-font-weight

$runningfoot-left-font-weight: normal !default;

Description

Running feet font weight if page position is left.

Type

String

Used by

runningfoot-left-text-transform

$runningfoot-left-text-transform: uppercase !default;

Description

Running feet text transformation if page position is left.

Type

String

Used by

runningfoot-left-letter-spacing

$runningfoot-left-letter-spacing: normal !default;

Description

Running feet letter spacing if page position is left.

Type

String

Used by

runningfoot-left-word-spacing

$runningfoot-left-word-spacing: normal !default;

Description

Running feet word spacing if page position is left.

Type

String

Used by

runningfoot-right-font-family

$runningfoot-right-font-family: $font-2 !default;

Description

Running feet font stack if page position is right.

Type

String

Used by

runningfoot-right-font-size

$runningfoot-right-font-size: 0.7em !default;

Description

Running feet font size if page position is right.

Type

String

Used by

runningfoot-right-font-style

$runningfoot-right-font-style: normal !default;

Description

Running feet font style if page position is right.

Type

String

Used by

runningfoot-right-font-weight

$runningfoot-right-font-weight: normal !default;

Description

Running feet font weight if page position is right.

Type

String

Used by

runningfoot-right-text-transform

$runningfoot-right-text-transform: uppercase !default;

Description

Running feet text transformation if page position is right.

Type

String

Used by

runningfoot-right-letter-spacing

$runningfoot-right-letter-spacing: normal !default;

Description

Running feet letter spacing if page position is right.

Type

String

Used by

runningfoot-right-word-spacing

$runningfoot-right-word-spacing: normal !default;

Description

Running feet word spacing if page position is right.

Type

String

Used by

front-matter-running-content-left

$front-matter-running-content-left: string(book-author) !default;

Description

Author on front matter running content.

Type

String

front-matter-running-content-right

$front-matter-running-content-right: string(book-title) !default;

Description

Book title on front matter running content.

Type

String

introduction-running-content-left

$introduction-running-content-left: string(book-author) !default;

Description

Author on introduction running content.

Type

String

introduction-running-content-right

$introduction-running-content-right: string(book-title) !default;

Description

Book title on introduction running content.

Type

String

part-running-content-left

$part-running-content-left: string(book-author) !default;

Description

Author on part running content.

Type

String

part-running-content-right

$part-running-content-right: string(book-title) !default;

Description

Book title on part running content.

Type

String

chapter-running-content-left

$chapter-running-content-left: string(book-author) !default;

Description

Author on chapter running content.

Type

String

chapter-running-content-right

$chapter-running-content-right: string(book-title) !default;

Description

Book title on chapter running content.

Type

String

back-matter-running-content-left

$back-matter-running-content-left: string(book-author) !default;

Description

Author on back matter running content.

Type

String

back-matter-running-content-right

$back-matter-running-content-right: string(book-title) !default;

Description

Book title on back matter running content.

Type

String

front-matter-page-number-left

$front-matter-page-number-left: counter(page, lower-roman) !default;

Description

Front matter page number style on left page.

front-matter-page-number-right

$front-matter-page-number-right: counter(page, lower-roman) !default;

Description

Front matter page number style on right page.

introduction-page-number-left

$introduction-page-number-left: counter(page) !default;

Description

Introduction page number style on left page.

introduction-page-number-right

$introduction-page-number-right: counter(page) !default;

Description

Introduction page number style on right page.

post-introduction-page-number-left

$post-introduction-page-number-left: counter(page) !default;

Description

Introduction page number style on left page.

post-introduction-page-number-right

$post-introduction-page-number-right: counter(page) !default;

Description

Introduction page number style on right page.

part-page-number-left

$part-page-number-left: counter(page) !default;

Description

Part page number style on left page.

part-page-number-right

$part-page-number-right: counter(page) !default;

Description

Part page number style on right page.

chapter-page-number-left

$chapter-page-number-left: counter(page) !default;

Description

Chapter page number style on left page.

chapter-page-number-right

$chapter-page-number-right: counter(page) !default;

Description

Chapter page number style on right page.

back-matter-page-number-left

$back-matter-page-number-left: counter(page) !default;

Description

Back matter page number style on left page.

back-matter-page-number-right

$back-matter-page-number-right: counter(page) !default;

Description

Back matter page number style on right page.

page-cropmarks

$page-cropmarks: none !default;

Description

Page cropmarks.

page-width

$page-width: 5.5in !default;

Description

Width of page.

Type

String

page-height

$page-height: 8.5in !default;

Description

Height of page.

Type

String

page-margin-top

$page-margin-top: 2cm !default;

Description

Top margin of page.

Type

String

page-margin-inside

$page-margin-inside: 2cm !default;

Description

Inside margin of page.

Type

String

page-margin-bottom

$page-margin-bottom: 2cm !default;

Description

Bottom margin of page.

Type

String

page-margin-outside

$page-margin-outside: 2cm !default;

Description

Outside margin of page.

Type

String

recto-verso-standard-opening

$recto-verso-standard-opening: right !default;

Description

Recto-Verso settings on opening.

Type

String

recto-verso-first-section-opening

$recto-verso-first-section-opening: right !default;

Description

Recto-Verso settings on opening of first section.

Type

String

recto-verso-section-opening

$recto-verso-section-opening: auto !default;

Description

Recto-Verso settings on Section Opening

Type

String

index-align

$index-align: left !default;

Description

Index Alignment

Type

String

Table of Contents

variables

toc-display

$toc-display: block !default;

Description

Table of Contents display property.

Type

String

toc-left-margin-left

Since 1.0.0
Deprecated!

No longer used.

$toc-left-margin-left: 1cm !default;

Description

Left margin for left-aligned Table of Contents.

Type

String

toc-left-page-number-top

Since 1.0.0
Deprecated!

No longer used.

$toc-left-page-number-top: 0.2em !default;

Description

Top position of page numbers for left-aligned Table of Contents.

Type

String

toc-left-chapter-number-margin-right

Since 1.0.0
Deprecated!

No longer used.

$toc-left-chapter-number-margin-right: 0.5em !default;

Description

Chapter number right margin in left-aligned Table of Contents.

Type

String

toc-subsection-margin-top

Since 1.0.0
Deprecated!

No longer used.

$toc-subsection-margin-top: 0 !default;

Description

Top margin for Table of contents subsection.

Type

String

toc-sub-width

Since 1.0.0
Deprecated!

No longer used.

$toc-sub-width: 75% !default;

Description

Subsection width for Table of contents.

Type

String

toc-left-chapter-number-width

Since 1.0.0
Deprecated!

No longer used.

$toc-left-chapter-number-width: 1cm !default;

Description

Chapter number width in Table of Contents.

Type

String

toc-title-width

Since 1.0.0
Deprecated!

No longer used.

$toc-title-width: 80% !default;

Description

Subtitle width for Table of contents.

Type

String

toc-left-left-gutter

Since 1.0.0
$toc-left-left-gutter: (epub: 2.5em, prince: 1cm) !default;

Description

Left gutter width for left-aligned Table of Contents (chapter numbers go here in PDF).

Type

String</code> or <code>Map

toc-left-right-gutter

Since 1.0.0
$toc-left-right-gutter: (epub: 0, prince: 1.5cm) !default;

Description

Right gutter width for left-aligned Table of Contents (page numbers go here in PDF).

Type

String</code> or <code>Map

toc-block-margin-top

$toc-block-margin-top: 1.5em !default;

Description

Top margin for a Table of contents block.

Type

String</code> or <code>Map

toc-part-margin-top

Since 1.0.0
$toc-part-margin-top: $toc-block-margin-top !default;

Description

Top margin for a Table of contents block.

Type

String</code> or <code>Map

toc-front-matter-margin-top

Since 1.0.0
$toc-front-matter-margin-top: (
  epub: 0.25em,
  prince: 0.5em
) !default;

Description

Top margin for front matter in Table of Contents.

Type

String</code> or <code>Map

toc-chapter-margin-top

$toc-chapter-margin-top: (
  epub: 0.25em,
  prince: 0.3em
) !default;

Description

Top margin for chapters in Table of contents.

Type

String</code> or <code>Map

toc-back-matter-margin-top

Since 1.0.0
$toc-back-matter-margin-top: (
  epub: 0.25em,
  prince: 0.5em
) !default;

Description

Top margin for back matter in Table of Contents.

Type

String</code> or <code>Map

toc-left-title-width

$toc-left-title-width: (
  epub: 100%,
  prince: $page-width - (if-map-get($toc-left-left-gutter, 'prince') + if-map-get($toc-left-right-gutter, 'prince') + $page-margin-outside + $page-margin-inside)
) !default;

Description

Title width for left-aligned Table of contents.

Type

String</code> or <code>Map

toc-center-title-width

Since 1.0.0
$toc-center-title-width: (
  epub: 100%,
  prince: 100%
) !default;

Description

Title width for center-aligned Table of contents.

Type

String</code> or <code>Map

toc-left-subtitle-width

Since 1.0.0
$toc-left-subtitle-width: (
  epub: 100%,
  prince: $page-width - (if-map-get($toc-left-left-gutter, 'prince') + if-map-get($toc-left-right-gutter, 'prince') + $page-margin-outside + $page-margin-inside)
) !default;

Description

Subtitle width for left-aligned Table of contents.

Type

String</code> or <code>Map

toc-center-subtitle-width

Since 1.0.0
$toc-center-subtitle-width: 100% !default;

Description

Subtitle width for center-aligned Table of contents.

Type

String</code> or <code>Map

toc-left-author-width

Since 1.0.0
$toc-left-author-width: (
  epub: 100%,
  prince: $page-width - (if-map-get($toc-left-left-gutter, 'prince') + if-map-get($toc-left-right-gutter, 'prince') + $page-margin-outside + $page-margin-inside)
) !default;

Description

Author width for left-aligned Table of contents.

Type

String</code> or <code>Map

toc-center-author-width

Since 1.0.0
$toc-center-author-width: 100% !default;

Description

Author width for center-aligned Table of contents.

Type

String</code> or <code>Map

toc-left-subsection-width

Since 1.0.0
$toc-left-subsection-width: (
  epub: 100%,
  prince: $page-width - (if-map-get($toc-left-left-gutter, 'prince') + if-map-get($toc-left-right-gutter, 'prince') + $page-margin-outside + $page-margin-inside)
) !default;

Description

Subsection width for left-aligned Table of contents.

Type

String</code> or <code>Map

toc-center-subsection-width

Since 1.0.0
$toc-center-subsection-width: 100% !default;

Description

Subsection width for center-aligned Table of contents.

Type

String</code> or <code>Map

toc-section-margin-top

Since 1.0.0
$toc-section-margin-top: (
  epub: 0.25em,
  prince: 0.5em
) !default;

Description

Top margin for a Table of Contents subsection.

Type

String</code> or <code>Map

toc-base-line-height

$toc-base-line-height: (
  epub: 1.2,
  prince: 1.2em
) !default;

Description

Line height for Table of contents.

Type

String</code> or <code>Map

toc-front-matter-title-font-family

$toc-front-matter-title-font-family: $font-1 !default;

Description

Front matter title font stack for table of contents.

Type

String

toc-front-matter-title-font-size

$toc-front-matter-title-font-size: 0.9em !default;

Description

Front matter title font size for table of contents.

Type

String</code> or <code>Map

toc-front-matter-title-font-style

$toc-front-matter-title-font-style: normal !default;

Description

Front matter title font style for table of contents.

Type

String

toc-front-matter-title-font-weight

$toc-front-matter-title-font-weight: normal !default;

Description

Front matter title font weight for table of contents.

Type

String

toc-front-matter-title-text-transform

$toc-front-matter-title-text-transform: none !default;

Description

Front matter title text transform for table of contents.

Type

String

toc-front-matter-subtitle-font-family

$toc-front-matter-subtitle-font-family: $font-1 !default;

Description

Front matter subtitle font stack for table of contents.

Type

String

toc-front-matter-subtitle-font-size

$toc-front-matter-subtitle-font-size: 0.9em !default;

Description

Front matter subtitle font size for table of contents.

Type

String</code> or <code>Map

toc-front-matter-subtitle-font-style

$toc-front-matter-subtitle-font-style: italic !default;

Description

Front matter subtitle font style for table of contents.

Type

String

toc-front-matter-subtitle-font-weight

$toc-front-matter-subtitle-font-weight: normal !default;

Description

Front matter subtitle font weight for table of contents.

Type

String

toc-front-matter-subtitle-text-transform

$toc-front-matter-subtitle-text-transform: none !default;

Description

Front matter subtitle text transform for table of contents.

Type

String

toc-front-matter-author-font-family

$toc-front-matter-author-font-family: $font-1 !default;

Description

Front matter author font stack for table of contents.

Type

String

toc-front-matter-author-font-size

$toc-front-matter-author-font-size: 0.9em !default;

Description

Front matter author font size for table of contents.

Type

String</code> or <code>Map

toc-front-matter-author-font-style

$toc-front-matter-author-font-style: normal !default;

Description

Front matter author font style for table of contents.

Type

String

toc-front-matter-author-font-weight

$toc-front-matter-author-font-weight: normal !default;

Description

Front matter author font weight for table of contents.

Type

String

toc-front-matter-author-text-transform

$toc-front-matter-author-text-transform: none !default;

Description

Front matter author text transform for table of contents.

Type

String

toc-part-number-display

$toc-part-number-display: inline-block !default;

Description

Part number display for Table of Contents

Type

String

toc-part-number-before-content

Since 1.0.0
$toc-part-number-before-content: $part '\A0' !default;

Description

Content that appears before the part number for Table of Contents

Type

String

toc-part-number-content

Since 1.0.0
$toc-part-number-content: counter(part, upper-roman) !default;

Description

Content of the part number (part title ::before pseudo-element) for Table of Contents

Type

String

toc-part-number-after-content

Since 1.0.0
$toc-part-number-after-content: '.\A0' !default;

Description

Content that appears after the part number for Table of Contents

Type

String

toc-part-number-font-family

$toc-part-number-font-family: $font-3 !default;

Description

Part number font stack for Table of Contents

Type

String

toc-part-number-font-size

$toc-part-number-font-size: 1em !default;

Description

Part number font size for Table of Contents

Type

String</code> or <code>Map

toc-part-number-font-style

$toc-part-number-font-style: normal !default;

Description

Part number font style for Table of Contents

Type

String

toc-part-number-font-weight

$toc-part-number-font-weight: normal !default;

Description

Part number font weight for Table of Contents

Type

String

toc-part-number-text-transform

$toc-part-number-text-transform: none !default;

Description

Part number text transform for Table of Contents

Type

String

toc-part-title-font-family

$toc-part-title-font-family: $font-3 !default;

Description

Part title font stack for Table of Contents

Type

String

toc-part-title-font-size

$toc-part-title-font-size: (
  epub: 1.2em,
  prince: 1em,
  web: 1em
) !default;

Description

Part title font size for Table of Contents

Type

String</code> or <code>Map

toc-part-title-font-style

$toc-part-title-font-style: normal !default;

Description

Part title font style for Table of Contents

Type

String

toc-part-title-font-weight

$toc-part-title-font-weight: normal !default;

Description

Part title font weight for Table of Contents

Type

String

toc-part-title-text-transform

$toc-part-title-text-transform: none !default;

Description

Part title text transform for Table of Contents

Type

String

toc-chapter-number-display

$toc-chapter-number-display: inline-block !default;

Description

Chapter number display for Table of Contents

Type

String

toc-chapter-number-font-family

$toc-chapter-number-font-family: $font-1 !default;

Description

Chapter number font stack for Table of Contents

Type

String

toc-chapter-number-font-size

$toc-chapter-number-font-size: 1em !default;

Description

Chapter number font size for Table of Contents

Type

String</code> or <code>Map

toc-chapter-number-font-style

$toc-chapter-number-font-style: normal !default;

Description

Chapter number font style for Table of Contents

Type

String

toc-chapter-number-font-weight

$toc-chapter-number-font-weight: normal !default;

Description

Chapter number font weight for Table of Contents

Type

String

toc-chapter-number-text-transform

$toc-chapter-number-text-transform: none !default;

Description

Chapter number text transform for Table of Contents

Type

String

toc-chapter-number-before-content

Since 1.0.0
$toc-chapter-number-before-content: '' !default;

Description

Content that appears before the chapter number for Table of Contents

Type

String

toc-chapter-number-content

Since 1.0.0
$toc-chapter-number-content: counter(chapter) !default;

Description

Content of the chapter number (chapter title ::before pseudo-element) for Table of Contents

Type

String

toc-chapter-number-after-content

Since 1.0.0
$toc-chapter-number-after-content: '.\A0\A0\A0' !default;

Description

Content that appears after the chapter number for the Table of Contents

Type

String

toc-chapter-title-font-family

$toc-chapter-title-font-family: $font-1 !default;

Description

Chapter title font stack for Table of Contents

Type

String

toc-chapter-title-font-size

$toc-chapter-title-font-size: 1em !default;

Description

Chapter title font size for Table of Contents

Type

String</code> or <code>Map

toc-chapter-title-font-style

$toc-chapter-title-font-style: normal !default;

Description

Chapter title font style for Table of Contents

Type

String

toc-chapter-title-font-weight

$toc-chapter-title-font-weight: normal !default;

Description

Chapter title font weight for Table of Contents

Type

String

toc-chapter-title-text-transform

$toc-chapter-title-text-transform: none !default;

Description

Chapter title text transform for Table of Contents

Type

String

toc-chapter-title-align

Since 1.0.0
$toc-chapter-title-align: left !default;

Description

Chapter number text align for Table of Contents

Type

String

toc-chapter-subtitle-margin-top

Since 1.0.0
$toc-chapter-subtitle-margin-top: (epub: 0.4em, prince: 0.4em, web: 0.4em) !default;

Description

Chapter subtitle top margin for Table of Contents

Type

String</code> or <code>Map

toc-chapter-author-margin-top

Since 1.0.0
$toc-chapter-author-margin-top: (epub: 0.4em, prince: 0.4em, web: 0.4em) !default;

Description

Chapter author top margin for Table of Contents

Type

String</code> or <code>Map

toc-chapter-subtitle-font-family

$toc-chapter-subtitle-font-family: $font-1 !default;

Description

Chapter subtitle font stack for Table of Contents

Type

String

toc-chapter-subtitle-font-size

$toc-chapter-subtitle-font-size: 0.9em !default;

Description

Chapter subtitle font size for Table of Contents

Type

String</code> or <code>Map

toc-chapter-subtitle-font-style

$toc-chapter-subtitle-font-style: italic !default;

Description

Chapter subtitle font style for Table of Contents

Type

String

toc-chapter-subtitle-font-weight

$toc-chapter-subtitle-font-weight: normal !default;

Description

Chapter subtitle font weight for Table of Contents

Type

String

toc-chapter-subtitle-text-transform

$toc-chapter-subtitle-text-transform: none !default;

Description

Chapter subtitle text transform for Table of Contents

Type

String

toc-chapter-author-font-family

$toc-chapter-author-font-family: $font-1 !default;

Description

Chapter author font stack for Table of Contents

Type

String

toc-chapter-author-font-size

$toc-chapter-author-font-size: 0.9em !default;

Description

Chapter author font size for Table of Contents

Type

String</code> or <code>Map

toc-chapter-author-font-style

$toc-chapter-author-font-style: normal !default;

Description

Chapter author font style for Table of Contents

Type

String

toc-chapter-author-font-weight

$toc-chapter-author-font-weight: normal !default;

Description

Chapter author font weight for Table of Contents

Type

String

toc-chapter-author-text-transform

$toc-chapter-author-text-transform: none !default;

Description

Chapter author text transform for Table of Contents

Type

String

toc-back-matter-title-font-family

Since 1.0.0
$toc-back-matter-title-font-family: $toc-front-matter-title-font-family !default;

Description

Back matter title font stack for table of contents.

Type

String

toc-back-matter-title-font-size

Since 1.0.0
$toc-back-matter-title-font-size: $toc-front-matter-title-font-size !default;

Description

Back matter title font size for table of contents.

Type

String</code> or <code>Map

toc-back-matter-title-font-style

Since 1.0.0
$toc-back-matter-title-font-style: $toc-front-matter-title-font-style !default;

Description

Back matter title font style for table of contents.

Type

String

toc-back-matter-title-font-weight

Since 1.0.0
$toc-back-matter-title-font-weight: $toc-front-matter-title-font-weight !default;

Description

Back matter title font weight for table of contents.

Type

String

toc-back-matter-title-text-transform

Since 1.0.0
$toc-back-matter-title-text-transform: $toc-front-matter-title-text-transform !default;

Description

Back matter title text transform for table of contents.

Type

String

toc-back-matter-subtitle-font-family

Since 1.0.0
$toc-back-matter-subtitle-font-family: $toc-front-matter-subtitle-font-family !default;

Description

Back matter subtitle font stack for table of contents.

Type

String

toc-back-matter-subtitle-font-size

Since 1.0.0
$toc-back-matter-subtitle-font-size: $toc-front-matter-subtitle-font-size !default;

Description

Back matter subtitle font size for table of contents.

Type

String</code> or <code>Map

toc-back-matter-subtitle-font-style

Since 1.0.0
$toc-back-matter-subtitle-font-style: $toc-front-matter-subtitle-font-style !default;

Description

Back matter subtitle font style for table of contents.

Type

String

toc-back-matter-subtitle-font-weight

Since 1.0.0
$toc-back-matter-subtitle-font-weight: $toc-front-matter-subtitle-font-weight !default;

Description

Back matter subtitle font weight for table of contents.

Type

String

toc-back-matter-subtitle-text-transform

Since 1.0.0
$toc-back-matter-subtitle-text-transform: $toc-front-matter-subtitle-text-transform !default;

Description

Back matter subtitle text transform for table of contents.

Type

String

toc-back-matter-author-font-family

Since 1.0.0
$toc-back-matter-author-font-family: $toc-front-matter-author-font-family !default;

Description

Back matter author font stack for table of contents.

Type

String

toc-back-matter-author-font-size

Since 1.0.0
$toc-back-matter-author-font-size: $toc-front-matter-author-font-size !default;

Description

Back matter author font size for table of contents.

Type

String</code> or <code>Map

toc-back-matter-author-font-style

Since 1.0.0
$toc-back-matter-author-font-style: $toc-front-matter-author-font-style !default;

Description

Back matter author font style for table of contents.

Type

String

toc-back-matter-author-font-weight

Since 1.0.0
$toc-back-matter-author-font-weight: $toc-front-matter-author-font-weight !default;

Description

Back matter author font weight for table of contents.

Type

String

toc-back-matter-author-text-transform

Since 1.0.0
$toc-back-matter-author-text-transform: $toc-front-matter-author-text-transform !default;

Description

Back matter author text transform for table of contents.

Type

String

toc-left-page-number-display

Since 1.0.0
$toc-left-page-number-display: inline-block !default;

Description

Page number display property for left-aligned Table of Contents

Type

String

toc-left-page-number-width

Since 1.0.0
$toc-left-page-number-width: auto !default;

Description

Page number width property for left-aligned Table of Contents

Type

String

toc-left-page-number-float

Since 1.0.0
$toc-left-page-number-float: right !default;

Description

Page number float property for left-aligned Table of Contents

Type

String

toc-left-page-number-align

Since 1.0.0
$toc-left-page-number-align: right !default;

Description

Page number text-align property for left-aligned Table of Contents

Type

String

toc-page-number-font-family

$toc-page-number-font-family: $font-1 !default;

Description

Page number font family for Table of Contents

Type

String

toc-page-number-font-size

$toc-page-number-font-size: 1em !default;

Description

Page number font size for Table of Contents

Type

String</code> or <code>Map

toc-page-number-font-style

$toc-page-number-font-style: normal !default;

Description

Page number font style for Table of Contents

Type

String

toc-page-number-font-weight

$toc-page-number-font-weight: normal !default;

Description

Page number font weight for Table of Contents

Type

String

toc-page-number-text-transform

$toc-page-number-text-transform: none !default;

Description

Page number text transform for Table of Contents

Type

String

toc-page-number-text-decoration

$toc-page-number-text-decoration: none !default;

Description

Page number text decoration for Table of Contents

Type

String

toc-page-number-before-content

Since 1.0.0
$toc-page-number-before-content: '' !default;

Description

Content that appears before the page number in the Table of Contents.

Type

String

toc-front-matter-page-number-display

Since 1.0.0
$toc-front-matter-page-number-display: inline !default;

Description

Page number display property for Table of Contents

Type

String

toc-front-matter-page-number-font-size

$toc-front-matter-page-number-font-size: 0.9em !default;

Description

Front matter page number font size for Table of Contents

Type

String</code> or <code>Map

toc-front-matter-page-number-font-style

$toc-front-matter-page-number-font-style: normal !default;

Description

Front matter page number font style for Table of Contents

Type

String

toc-front-matter-page-number-font-weight

$toc-front-matter-page-number-font-weight: normal !default;

Description

Front matter page number font weight for Table of Contents

Type

String

toc-front-matter-page-number-text-transform

$toc-front-matter-page-number-text-transform: none !default;

Description

Front matter page number text transform for Table of Contents

Type

String

toc-section-title-font-size

$toc-section-title-font-size: 1em !default;

Description

Section title font size for Table of Contents

Type

String</code> or <code>Map

toc-section-title-font-style

$toc-section-title-font-style: italic !default;

Description

Section title font style for Table of Contents

Type

String

toc-section-title-font-weight

$toc-section-title-font-weight: normal !default;

Description

Section title font weight for Table of Contents

Type

String

toc-section-title-text-transform

$toc-section-title-text-transform: none !default;

Description

Section title text transform for Table of Contents

Type

String

toc-left-chapter-title-display

Since 1.0.0
$toc-left-chapter-title-display: inline-block !default;

Description

Display property for chapter title in left-aligned Table of Contents

Type

Map

toc-left-subtitle-display

Since 1.0.0
$toc-left-subtitle-display: inline-block !default;

Description

Display property for subtitle in left-aligned Table of Contents

Type

Map

toc-left-author-display

Since 1.0.0
$toc-left-author-display: inline-block !default;

Description

Display property for author in left-aligned Table of Contents

Type

String

toc-left-part-number-align

Since 1.0.0
$toc-left-part-number-align: left !default;

Description

Text-align property for part number in left-aligned Table of Contents

Type

String

toc-left-part-number-display

Since 1.0.0
$toc-left-part-number-display: inline-block !default;

Description

Part number display for Table of Contents

Type

String

toc-left-chapter-number-align

Since 1.0.0
$toc-left-chapter-number-align: right !default;

Description

Text-align property for chapter number in left-aligned Table of Contents

Type

String

toc-left-chapter-number-float

Since 1.0.0
$toc-left-chapter-number-float: left !default;

Description

Chapter number float for left-aligned Table of Contents

Type

String

toc-left-chapter-number-display

Since 1.0.0
$toc-left-chapter-number-display: inline-block !default;

Description

Chapter number display for Table of Contents

Type

String

toc-front-matter-line-height

Since 1.0.0
$toc-front-matter-line-height: $toc-base-line-height !default;

Description

Line height for front matter in TOC.

Type

String</code> or <code>Map

toc-part-line-height

Since 1.0.0
$toc-part-line-height: $toc-base-line-height !default;

Description

Line height for parts in TOC.

Type

String</code> or <code>Map

toc-chapter-line-height

Since 1.0.0
$toc-chapter-line-height: $toc-base-line-height !default;

Description

Line height for chapters in TOC.

Type

String</code> or <code>Map

toc-back-matter-line-height

Since 1.0.0
$toc-back-matter-line-height: $toc-base-line-height !default;

Description

Line height for back matter in TOC.

Type

String</code> or <code>Map

toc-section-line-height

Since 1.0.0
$toc-section-line-height: $toc-base-line-height !default;

Description

Line height for subsections in TOC.

Type

String</code> or <code>Map

toc-left-subsection-display

Since 1.0.0
$toc-left-subsection-display: inline-block !default;

Description

Display property for subsections in left-aligned TOC.

Type

String

toc-center-chapter-title-display

Since 1.0.0
$toc-center-chapter-title-display: block !default;

Description

Display property for titles in center-aligned TOC.

Type

String

toc-center-subtitle-display

Since 1.0.0
$toc-center-subtitle-display: block !default;

Description

Display property for subtitles in center-aligned TOC.

Type

String

toc-center-author-display

Since 1.0.0
$toc-center-author-display: block !default;

Description

Display property for authors in center-aligned TOC.

Type

String

toc-center-subsection-display

Since 1.0.0
$toc-center-subsection-display: block !default;

Description

Display property for subsections in center-aligned TOC.

Type

String

toc-center-left-gutter

Since 1.0.0
$toc-center-left-gutter: auto !default;

Description

Left gutter width in center-aligned TOC.

Type

String</code> or <code>Map

toc-center-right-gutter

Since 1.0.0
$toc-center-right-gutter: auto !default;

Description

Right gutter width in center-aligned TOC.

Type

String</code> or <code>Map

toc-center-page-number-display

Since 1.0.0
$toc-center-page-number-display: block !default;

Description

Page number display in center-aligned TOC.

Type

String

toc-center-part-number-display

Since 1.0.0
$toc-center-part-number-display: block !default;

Description

Part number display in center-aligned TOC.

Type

String

toc-center-chapter-number-display

Since 1.0.0
$toc-center-chapter-number-display: block !default;

Description

Chapter number display in center-aligned TOC.

Type

String

Utilities

functions

if-map-get

@function if-map-get($var, $type) { ... }

Description

This function checks variable $var to see if it is a map, and if so, returns the appropriate value from the map for key $type.

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$var

The input variable.

String or Map none
$type

The output format.

String none

Used by

convert-position

@function convert-position($page-position, $content-position) { ... }

Description

This function converts a running content or page number position to the CSS3 paged media box margin declaration for the relevant page position.

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$page-position

The page position: first, left or right.

String none
$content-position

The running content or page number position.

String none

head-or-foot

@function head-or-foot($content-position) { ... }

Description

This function determines whether a running content or page number position indicates a header or footer.

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$content-position

The running content or page number position.

String none