diff --git a/source/_assets/layout_internal/style.scss b/source/_assets/layout_internal/style.scss index 2f5815e..6d0587e 100644 --- a/source/_assets/layout_internal/style.scss +++ b/source/_assets/layout_internal/style.scss @@ -14,3 +14,28 @@ } } } + +.content { + p { + line-height: 1.5; + margin-top: 0; + margin-bottom: 1em; + } + + h1 { + margin-top: 1.2em; + margin-bottom: 0.5em; + } + + pre { + font-family: $base-monospace-font-family; + font-size: 90%; + padding: 1em; + background-color: #f6f8fa; // from github + border-radius: 5px; + } + + code { + font-family: $base-monospace-font-family; + } +} diff --git a/source/_assets/vars.scss b/source/_assets/vars.scss index bea17f5..e158b81 100644 --- a/source/_assets/vars.scss +++ b/source/_assets/vars.scss @@ -1,8 +1,9 @@ $base-font-family: 'PT Serif', serif; +$base-monospace-font-family: 'PT Mono', monospace; // Базовый размер шрифта $base-font-size: 20px; -$base-font-color: #000; +$base-font-color: #24292e; // from github // Ширина страницы $preferred-width: 700px; diff --git a/source/_includes/head.twig b/source/_includes/head.twig index a53adfc..60a84c9 100644 --- a/source/_includes/head.twig +++ b/source/_includes/head.twig @@ -33,4 +33,4 @@ {# Links and styles #} - +