diff --git a/css/fonts.css b/css/fonts.css index a109981..81952e0 100644 --- a/css/fonts.css +++ b/css/fonts.css @@ -239,4 +239,10 @@ h6 { code, pre code { font-family: "Mono"; font-size: calc(0.84 * var(--base-font-size)); +} + +math { + color: black; + font-family: "Math"; + font-size: calc(0.96 * var(--base-font-size)); } \ No newline at end of file diff --git a/css/looks.css b/css/looks.css index 6f42624..6881800 100644 --- a/css/looks.css +++ b/css/looks.css @@ -63,6 +63,13 @@ h6 { margin-top: 1em; } +/* This must be above the hn+* rules */ + +blockquote > p { + margin-top: 0.7em; + margin-bottom: 0.7em; +} + h1+*, h2+*, h3+*, @@ -175,15 +182,8 @@ hr { } math[display="block"] { - margin-top: 0.5em; - margin-bottom: 0.5em; position: relative; left: 0; right: auto; text-align: left; -} - -math { - color: black; - font-family: "Math"; } \ No newline at end of file diff --git a/shared_templates/main.html b/shared_templates/main.html index eb6a10e..8303b84 100644 --- a/shared_templates/main.html +++ b/shared_templates/main.html @@ -9,7 +9,6 @@ -