Skip to content

Commit

Permalink
Merge pull request #5631 from WordPress/try/perfect-fourth-headings
Browse files Browse the repository at this point in the history
Try a perfect fourth heading
  • Loading branch information
jasmussen authored Mar 22, 2018
2 parents 430fa77 + a661fd7 commit f00b08b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
13 changes: 7 additions & 6 deletions blocks/library/heading/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,28 @@
margin: 0;
}

// These follow a Major Third type scale
h1 {
font-size: 2em;
font-size: 2.44em;
}

h2 {
font-size: 1.6em;
font-size: 1.95em;
}

h3 {
font-size: 1.4em;
font-size: 1.56em;
}

h4 {
font-size: 1.2em;
font-size: 1.25em;
}

h5 {
font-size: 1.1em;
font-size: 1em;
}

h6 {
font-size: 1em;
font-size: 0.8em;
}
}
4 changes: 2 additions & 2 deletions editor/components/post-title/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
margin: 0;
box-shadow: none;
border: 1px solid transparent;
font-size: 2em;
font-family: $editor-font;
line-height: $default-line-height;

// inherited from h1
// Match h1 heading
font-size: 2.441em;
font-weight: 600;
}

Expand Down

0 comments on commit f00b08b

Please sign in to comment.