fix(css): use sans-serif for content, serif for title

* Based on Wikipedia style
* https://css-tricks.com/sans-serif/
This commit is contained in:
curben 2019-06-11 19:09:55 +09:30
parent 357458c613
commit 2ae8f9b08e
1 changed files with 3 additions and 2 deletions

View File

@ -417,11 +417,13 @@ dfn {
} }
h1 { h1 {
font-family: serif;
font-size: 1.5em; font-size: 1.5em;
margin: 0.5em 0; margin: 0.5em 0;
} }
h2 { h2 {
font-family: serif;
font-size: 1.3em; font-size: 1.3em;
} }
@ -619,7 +621,7 @@ h6 {
body { body {
margin: 0; margin: 0;
font-family: serif; font-family: sans-serif;
font-size: 1.2em; font-size: 1.2em;
} }
@ -629,7 +631,6 @@ h3,
h4, h4,
h5, h5,
h6 { h6 {
font-family: serif;
font-weight: bold; font-weight: bold;
line-height: 1.35; line-height: 1.35;
margin-top: 1em; margin-top: 1em;