Skip to the content

The CSS class reference

The class names the paper is built from, grouped by the header, sections, entries, lists and the rest, and how to aim a rule at one template or one paper size.

View as Markdown

The paper is plain HTML with class names that begin rp-. These are the ones to write CSS against. The paper has a few more that exist for editing and measuring, and they are left out here because they can change.

Rules go in the style.css tab. See Custom CSS.

The page

ClassWhat it is
.rp-pageOne sheet of paper. It also carries rejarsume-paper, the template and the size.

Two attributes on the sheet let a rule aim at a template or a paper size:

  • data-template is the template's id: classic, modern, technical, editorial, compact, profile or bold.
  • data-size is A4 or Letter.

style.css

.rejarsume-paper[data-template="classic"] .rp-name {
  letter-spacing: 0.02em;
}

.rejarsume-paper[data-size="A4"] .rp-section-title {
  letter-spacing: 0.1em;
}
ClassWhat it is
.rp-headerThe header block, with the photograph beside the text when there is one.
.rp-avatarThe photograph.
.rp-header-textThe name, the headline and the contacts together.
.rp-nameYour name.
.rp-headlineThe line under your name.
.rp-contactsThe row of contacts.
.rp-contactOne contact. Its icon is an svg inside it.
.rp-linkA link, in the header or in the text.

Sections

ClassWhat it is
.rp-sectionA section's heading block: the title row and the rule under it.
.rp-section-title-rowThe row holding the section's icon, if it has one, and its title.
.rp-section-titleThe title of the section.
.rp-section-ruleThe rule under or beside the title.

A section's content is not inside .rp-section. The blocks that follow a heading are siblings of it, which is what lets the pages break between them. A section with no title draws no heading block at all.

Entries

ClassWhat it is
.rp-entryOne entry.
.rp-entry-headThe first line of an entry: the title on the left, the dates on the right.
.rp-entry-titleThe entry's title.
.rp-entry-subtitleThe subtitle, set after the title.
.rp-entry-metaThe dates and the location, on the right of the first line.
.rp-entry-summaryThe entry's summary paragraph.
.rp-bulletsThe entry's list of bullets.

Lists and text

ClassWhat it is
.rp-listA list in a section. A numbered one also has .rp-list-ordered.
.rp-taskA list item that is a task, with its own box instead of a bullet.
.rp-checkboxThe box of a task.
.rp-headingA subheading inside a section. It has a data-level of 3 to 6.
.rp-quoteA block quote.
.rp-code-blockA fenced block of code.
.rp-tableA table.
.rp-strongBold text.
.rp-codeCode inside a line of text.

The rest

ClassWhat it is
.rp-tagsA ::tags list.
.rp-tagOne item of a tags list.
.rp-icon-labelA ::label line, with its icon in front.
.rp-figureAn image, and the box around it.
.rp-imageThe picture itself.
.rp-image-missingThe dashed box shown when an image cannot be found.
.rp-dividerA thematic break, which is a line of three dashes in the Markdown.
.rp-rawA line of Markdown that cannot be typeset, kept and printed as written.

An image's width comes from the image itself, set from the paper's own controls, so a rule for the width of .rp-figure does not change it. See Images and page breaks.

The classes of the text a template draws are shared by every template. A template differs by restating a few of them, which is why one rule written against these names works whichever template is chosen.