Skip to content

Commit

Permalink
feat(styles): visual aligin tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Mar 30, 2016
1 parent 442d46f commit d6240a4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions _app/assets/themes/curtana/_less/common.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit d6240a4

Please sign in to comment.