_sass/hamilton/layout.scss in hamilton-0.1.0 vs _sass/hamilton/layout.scss in hamilton-0.1.1
- old
+ new
@@ -132,11 +132,16 @@
}
}
.post-link {
display: block;
- @include relative-font-size(2.5);
+ line-height: $base-line-height * $base-font-size * 1.75;
+ @include relative-font-size(1.75);
+
+ @media screen and (min-width: $on-large) {
+ @include relative-font-size(2.5);
+ }
}
/**
* Pagination
*/
@@ -268,16 +273,17 @@
}
}
.post-title,
.post-content h1 {
- @include relative-font-size(2.5);
+ @include relative-font-size(2);
font-weight: bold;
letter-spacing: -1px;
+ line-height: $base-line-height * $base-font-size * 2;
@media screen and (min-width: $on-large) {
- @include relative-font-size(2.625);
+ @include relative-font-size(2.75);
}
}
.post-content {
font-family: $reading-font-family;
@@ -288,18 +294,18 @@
h2 {
@include relative-font-size(1.75);
@media screen and (min-width: $on-large) {
- @include relative-font-size(2);
+ @include relative-font-size(2.15);
}
}
h3 {
- @include relative-font-size(1.375);
+ @include relative-font-size(1.5);
@media screen and (min-width: $on-large) {
- @include relative-font-size(1.625);
+ @include relative-font-size(1.75);
}
}
h4 {
@include relative-font-size(1.25);