Typography adjustments -- fix slanted font declarations

This commit is contained in:
kitajchuk
2021-04-08 17:12:39 -07:00
parent e64f727c11
commit a951d4cb8d
6 changed files with 31 additions and 9 deletions
+3 -3
View File
@@ -10,7 +10,7 @@
src: url('/fonts/objectivity-regularslanted-webfont.woff2') format('woff2'),
url('/fonts/objectivity-regularslanted-webfont.woff') format('woff');
font-weight: normal;
font-style: italic;
font-style: normal;
}
@font-face {
@@ -25,7 +25,7 @@
src: url('/fonts/objectivity-mediumslanted-webfont.woff2') format('woff2'),
url('/fonts/objectivity-mediumslanted-webfont.woff') format('woff');
font-weight: normal;
font-style: italic;
font-style: normal;
}
@font-face {
@@ -40,5 +40,5 @@
src: url('/fonts/objectivity-boldslanted-webfont.woff2') format('woff2'),
url('/fonts/objectivity-boldslanted-webfont.woff') format('woff');
font-weight: normal;
font-style: italic;
font-style: normal;
}
+4
View File
@@ -70,6 +70,10 @@
> :nth-child(even) {
margin-top: 32px;
@media (max-width: $width-mobile) {
margin-top: 16px;
}
}
@media (max-width: $width-tablet-1) {
+4
View File
@@ -25,6 +25,10 @@
@media (max-width: $width-tablet-2) {
font-size: $m-size;
}
@media (max-width: $width-mobile) {
font-size: $ms-size;
}
}
@mixin cta() {
+3 -4
View File
@@ -161,10 +161,9 @@ em {
font-size: $p-size;
}
// @note: Consideration on stopping type reduction here
// @media (max-width: $width-mobile) {
// font-size: $m-size;
// }
@media (max-width: $width-mobile) {
font-size: $m-size;
}
}
.h6, h6 {
+15
View File
@@ -48,6 +48,7 @@
}
@media (max-width: $width-mobile) {
padding: 16px;
text-align: center;
width: 100%;
}
@@ -74,10 +75,20 @@
margin-top: 16px;
margin-bottom: 64px;
@media (max-width: $width-mobile) {
margin-bottom: 48px;
}
div {
@media (max-width: $width-small) {
max-width: 270px;
}
& + div {
@media (max-width: $width-small) {
margin-top: 8px;
}
}
}
}
@@ -231,6 +242,10 @@
&__comment {
max-width: 800px;
@media (max-width: $width-small) {
max-width: 340px;
}
a {
text-decoration: underline;
}
+2 -2
View File
@@ -59,9 +59,8 @@
max-width: 480px;
width: 100%;
margin: 0;
flex-wrap: wrap;
text-align: center;
justify-content: center;
@include flex-cols();
}
}
@@ -77,6 +76,7 @@
width: 100%;
padding: 0;
margin-top: 16px;
}
}
}