Skip to content
Permalink
Browse files

fix(typography): adjust heading sizes and set small font-style to italic

  • Loading branch information
talha131 committed Dec 2, 2019
1 parent d631603 commit d3bbf04eabcd89bdb2f039b11fac7a6150729e90
Showing with 24 additions and 29 deletions.
  1. +1 −1 static/css/elegant.prod.css
  2. +23 −28 static/css/typography.css

Some generated files are not rendered by default. Learn more.

@@ -15,56 +15,51 @@ h6 {
Times, Serif;
font-weight: normal;
margin: 10px 0px;
& small {
font-style: italic;
}
}
h1 {
font-size: 3rem;
border-bottom: var(--heading-border-bottom-width)
var(--heading-border-bottom-style) darkgray;
font-size: 2.5rem;
}
h2 {
font-size: 2.5rem;
border-bottom: var(--heading-border-bottom-width)
var(--heading-border-bottom-style) silver;
font-size: 2.2rem;
}
h3 {
border-bottom: var(--heading-border-bottom-width)
var(--heading-border-bottom-style) lightgray;
font-size: 2.3rem;
font-size: 2rem;
}
h4 {
font-size: 2rem;
font-size: 1.8rem;
}
h5 {
font-size: 1.8rem;
font-size: 1.6rem;
}
h6 {
font-size: 1.6rem;
font-size: 1.4rem;
}
h1,
h2,
h3 {
line-height: 1.3em;
border-bottom: var(--heading-border-bottom-width)
var(--heading-border-bottom-style) lightgray;
& code {
font-size: 80%;
}
& small {
font-size: 70%;
}
}
h4,
h5,
h6 {
line-height: 1.1em;
}
h1 code,
h2 code,
h3 code,
h4 code,
h5 code,
h6 code {
font-size: 80%;
}
h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {
font-size: 70%;
& code {
font-size: 80%;
}
& small {
font-size: 80%;
}
}
h1 small,
h1 a,

0 comments on commit d3bbf04

Please sign in to comment.
You can’t perform that action at this time.