From d07d6dee09ac667acd082e189e576d8984050cbb Mon Sep 17 00:00:00 2001 From: Aileen Nowak Date: Mon, 24 Oct 2016 20:11:49 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=20Fix=20`.post-title`=20(#273)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit no issue fixes the post-title font-size again, as it didn't work with two body:notstatements. --- assets/css/screen.css | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/assets/css/screen.css b/assets/css/screen.css index 5713b37..99d0f6d 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -1015,11 +1015,14 @@ body.nav-opened .nav { box-shadow: #FFF 0 0 0 5px; } -body:not(.post-template) .post-title, -body:not(.page-template) .post-title { +body:not(.post-template) .post-title { font-size: 3.6rem; } +body.page-template .post-title { + font-size: 5rem; +} + .post-title a { text-decoration: none; } @@ -1789,11 +1792,14 @@ body:not(.page-template) .post-title { font-size: 0.95em } - body:not(.post-template) .post-title, - body:not(.page-template) .post-title { + body:not(.post-template) .post-title { font-size: 3.2rem; } + body.page-template .post-title { + font-size: 4.5rem; + } + hr { margin: 2.4em 0; } @@ -2058,11 +2064,14 @@ body:not(.page-template) .post-title { font-size: 1.8rem; } - body:not(.post-template) .post-title, - body:not(.page-template) .post-title { + body:not(.post-template) .post-title { font-size: 2.5rem; } + body.page-template .post-title { + font-size: 2.8rem; + } + .post-template .site-footer, .page-template .site-footer { margin-top: 0;