Skip to content

Proposal for simplification of stylesheets regarding font size and line spacing #1642

@benlk

Description

@benlk

In Largo 0.6, the style for most text in a story is scoped to p {} because most text is in a paragraph. When text by accident or effort lands in .entry-content without a wrapping p, the text adopts styles from body, which means a different font size and line spacing.

Why not:

  • use base body styles for paragraph text and all post text
  • rejigger all other font sizes and line spacing so they're based off of that baseline instead
  • reduce the number of places Largo declares font size and font-style and font-family, and reduce the specificity of those selectors, to make it easier to theme Largo

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions