mirror of
https://github.com/jambonz/next-static-site.git
synced 2026-07-24 13:02:22 +00:00
Typography adjustments -- fix slanted font declarations
This commit is contained in:
+3
-3
@@ -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;
|
||||
}
|
||||
@@ -70,6 +70,10 @@
|
||||
|
||||
> :nth-child(even) {
|
||||
margin-top: 32px;
|
||||
|
||||
@media (max-width: $width-mobile) {
|
||||
margin-top: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: $width-tablet-1) {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user