McShelby / hugo-theme-relearn

A theme for Hugo designed for documentation
https://mcshelby.github.io/hugo-theme-relearn/
MIT License
426 stars 186 forks source link

h4 heading has a larger font size than h3 #833

Closed Yosh31207 closed 6 months ago

Yosh31207 commented 6 months ago

Is this a intended style?

static/css/theme.css

h3, .article-subheading {
    font-size: 1.8rem;
    font-weight: 500;
}

h4 {
    font-size: 1.85rem;
    font-weight: 300;
}
McShelby commented 6 months ago

Yes. The font weight is lower, resulting in a lowered perception in comparison to h3. https://mcshelby.github.io/hugo-theme-relearn/cont/markdown/index.html#headings