Merge branch 'add/2021-compat' into update/twenty-twenty-one-home-page-css

This commit is contained in:
jonathansadowski 2020-11-23 16:20:11 -06:00 committed by GitHub
commit f88c19c3af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 10 deletions

View File

@ -8,7 +8,7 @@ $headings: -apple-system, blinkmacsystemfont, "Helvetica Neue", helvetica, sans-
$body: nonbreakingspaceoverride, "Hoefler Text", garamond, "Times New Roman", serif;
$body-color: currentColor;
$highlights-color: #cd2653;
$highlights-color: #88a171;
/**
* Fonts
@ -156,19 +156,30 @@ a.button {
.onsale {
position: absolute;
top: 0;
left: 0;
display: inline-block;
top: -0.7rem;
right: -0.7rem;
background: $highlights-color;
color: #fff;
font-family: $headings;
font-size: 1.2rem;
font-weight: 700;
letter-spacing: -0.02em;
line-height: 1.2;
padding: 1rem;
text-transform: uppercase;
z-index: 1;
border-radius: 50%;
text-align: center;
padding: 0.8rem;
margin: 0;
display: inline-flex;
align-items: center;
justify-content: center;
&::after {
content: '';
display: block;
height: 0;
width: 100%;
padding-bottom: 100%;
}
}
.price {
@ -2232,7 +2243,6 @@ a.reset_variations {
.onsale {
font-size: 1.2rem;
padding: 1rem;
}
}
}
@ -2475,7 +2485,6 @@ a.reset_variations {
.onsale {
font-size: 1rem;
padding: 0.8rem;
}
}
@ -2640,7 +2649,6 @@ a.reset_variations {
.onsale {
font-size: 1.2rem;
padding: 1rem;
}
}