From 8614f62257aab413a45ba9c63783122be9ca9288 Mon Sep 17 00:00:00 2001 From: curben Date: Sun, 11 Nov 2018 13:48:37 +1030 Subject: [PATCH] fix: consistent header margin and font-size --- themes/typing/source/css/typing.css | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/themes/typing/source/css/typing.css b/themes/typing/source/css/typing.css index 55dca2c..3101e69 100644 --- a/themes/typing/source/css/typing.css +++ b/themes/typing/source/css/typing.css @@ -830,12 +830,11 @@ blockquote { .category-container, .tag-container { width: 60%; - margin: 0 auto; + margin: 1em auto 0; position: relative; line-height: 1; text-align: left; font-size: 1em; - padding-top: 3em; max-width: 700px; } @@ -857,7 +856,7 @@ blockquote { .archive-container .header, .category-container .header, .tag-container .header { - font-size: 1em; + font-size: 1.1em; } .archive-container .archive-article-header > a, @@ -881,7 +880,7 @@ blockquote { .category-container hr, .tag-container hr { width: 60%; - margin: 20px 0 40px; + margin: 1em 0; background-image: -webkit-linear-gradient( 0deg, #d5d5d5, @@ -944,7 +943,7 @@ blockquote { .article .header { font-size: 1.1em; - margin: 0.5em 0; + margin-top: 1em; } .article .main-nav-link:hover { @@ -1131,12 +1130,6 @@ blockquote { display: none; } -.comments { - width: 60%; - max-width: 700px; - margin: 50px auto 0; -} - .dark { color: #d8d8d8; } @@ -1430,20 +1423,10 @@ pre .keyword { width: 80%; } - .archive-container, - .category-container, - .tag-container { - padding-top: 1em; - } - .article-title { font-size: 1.8rem; } - .comments { - width: 80%; - } - /* hide desktop nav */ .main-nav { display: none;