From d6240a4eb9dd75c1d86fd598fced12d482975889 Mon Sep 17 00:00:00 2001 From: Tunghsiao Liu Date: Wed, 30 Mar 2016 17:58:20 +0800 Subject: [PATCH] feat(styles): visual aligin tweak --- _app/assets/themes/curtana/_less/common.less | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/_app/assets/themes/curtana/_less/common.less b/_app/assets/themes/curtana/_less/common.less index 1d4a4f74f..a8ca1c443 100644 --- a/_app/assets/themes/curtana/_less/common.less +++ b/_app/assets/themes/curtana/_less/common.less @@ -140,7 +140,7 @@ body:hover .latest { header { display: flex; min-height: calc(100vh - (@nav-padding * 2) - 30px); - padding-top: 16vmin; + padding-top: 14vmin; padding-bottom: 16vmin; margin-bottom: 16vmin; flex-direction: column; @@ -165,8 +165,9 @@ body:hover .latest { } h1 { - margin: 0 0 .1em; .heading(); + // visual align left + margin-left: -2px; hyphens: none; line-height: 1.1; @@ -197,7 +198,7 @@ body:hover .latest { // Reset subheading in page title (used by AMSF atm) h2 { - margin: 0; + margin: 1.2vmin 0 0; } // Hide actual text if post title is image or SVG, the actual text helps Safari get the real post title in Reader mode.