From 7cb235310a8e75f6d6332f113032cb7afc8a664e Mon Sep 17 00:00:00 2001 From: Robert Marshall Date: Sun, 15 Mar 2020 09:09:26 +0000 Subject: [PATCH] Some style tweaks --- Website/wwwroot/css/blog.less | 5 ++--- Website/wwwroot/css/style.less | 11 ++++++++++- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Website/wwwroot/css/blog.less b/Website/wwwroot/css/blog.less index bd7e9bd..8331e75 100644 --- a/Website/wwwroot/css/blog.less +++ b/Website/wwwroot/css/blog.less @@ -32,11 +32,11 @@ } pre > code { - border-radius: 4px; + border-left: 4px solid @primary; margin-bottom: 10px; overflow: auto; padding: 6px; - margin: 0; + padding-left:10px; tab-size: 4; -moz-tab-size: 4; @@ -46,7 +46,6 @@ */ display: block; overflow-x: auto; - padding: 0.5em; background: #282b2e; color: #e0e2e4; diff --git a/Website/wwwroot/css/style.less b/Website/wwwroot/css/style.less index d68810e..bfc7cb2 100644 --- a/Website/wwwroot/css/style.less +++ b/Website/wwwroot/css/style.less @@ -18,6 +18,7 @@ body { padding: 0; margin: 0; font-family: 'Public Sans', sans-serif; + color: #333; } body { @@ -29,7 +30,15 @@ body { flex-direction: column; } +a { + color: @primary; +} + h1, h2, h3, h4, h5, h6 { + &:first-child { + margin-top: 0; + } + a { color: inherit; } @@ -73,7 +82,7 @@ h1, h2, h3, h4, h5, h6 { main { flex: 1 1 auto; - padding: 20px; + padding: 30px; overflow: hidden; }