Merge branch 'main' of ssh://git.autonomic.zone:2222/autonomic-cooperative/mont58-theme
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
commit
525e7c1463
@ -15,6 +15,11 @@ if(!is_user_logged_in()){
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@100..900&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<style>
|
||||
@page {
|
||||
size: 7cm 7cm;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* acumin-variable-concept */
|
||||
@font-face {
|
||||
font-family: Acumin Variable Concept;
|
||||
@ -23,20 +28,22 @@ if(!is_user_logged_in()){
|
||||
src: local("Acumin Variable Concept"), local("AcuminVariableConcept"), url(<?php echo get_theme_file_uri('/fonts/acumin-variable-concept.woff2'); ?>) format("woff2");
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.container {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.label {
|
||||
width: calc(0.35* 400px);
|
||||
height: calc(0.35 *400px);
|
||||
width: 6.8cm;
|
||||
height: 6.8cm;
|
||||
border-radius: 50%;
|
||||
padding: calc(0.35 * 2rem);
|
||||
/* margin: calc(0.35 * 2rem); */
|
||||
margin: 0.05cm;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
background: linear-gradient(
|
||||
@ -44,53 +51,63 @@ if(!is_user_logged_in()){
|
||||
rgba(255, 255, 255, 1) 28%,
|
||||
rgba(231, 184, 32, 1) 28%
|
||||
);
|
||||
/* border: 1px solid black; */
|
||||
}
|
||||
|
||||
.label .product-details {
|
||||
font-family: 'Acumin Variable Concept', sans-serif;
|
||||
font-size: calc(0.35 * 21px);
|
||||
letter-spacing: calc(0.35 * 2px);
|
||||
letter-spacing: 0.23mm;
|
||||
text-transform: uppercase;
|
||||
margin-top: 2.5em;
|
||||
margin-bottom: 2em;
|
||||
margin-top: 0.6cm;
|
||||
font-weight: bold;
|
||||
font-variation-settings: 'wdth' 58, 'wght' 600;
|
||||
font-size: 4mm;
|
||||
}
|
||||
|
||||
.label .product-details p {
|
||||
margin-block: 0.5em;
|
||||
margin-block: 1.5mm;
|
||||
}
|
||||
|
||||
.label .product-details .origin {
|
||||
font-size: calc(0.35 * 28px);
|
||||
font-size: 5mm;
|
||||
font-weight: 700;
|
||||
letter-spacing: calc(0.35 * 4px);
|
||||
margin-block: 1.2em 0.8em;
|
||||
min-height: calc(0.35 * 33px);
|
||||
letter-spacing: calc(0.4 * 4px);
|
||||
margin-block: 3mm;
|
||||
min-height: 3mm;
|
||||
font-variation-settings: 'wdth' 70, 'wght' 600;
|
||||
margin-inline: auto;
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
.label .product-details .origin.non-coffee {
|
||||
margin-top: 2.3cm;
|
||||
}
|
||||
|
||||
.label .product-details .weight {
|
||||
text-transform: lowercase;
|
||||
font-weight: bold;
|
||||
font-size: calc(0.35 * 18px);
|
||||
font-size: 4mm;
|
||||
}
|
||||
|
||||
.label .product-details .code {
|
||||
min-height: calc(0.35 * 20px);
|
||||
letter-spacing: calc(0.35 * 10px);
|
||||
margin-top: 1.5em;
|
||||
font-size: calc(0.35 * 16px);
|
||||
min-height: calc(0.4 * 20px);
|
||||
letter-spacing: calc(0.4 * 10px);
|
||||
margin-top: 2mm;
|
||||
font-size: 4mm;
|
||||
}
|
||||
|
||||
.label .order-details {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
top: 5cm;
|
||||
left: 0;
|
||||
font-size: calc(0.35 * 17px);
|
||||
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||
font-size: 4mm;
|
||||
}
|
||||
|
||||
.label .order-details p {
|
||||
margin-block: 0.4em;
|
||||
margin-block: 0.5mm;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
@ -173,7 +190,7 @@ if(!is_user_logged_in()){
|
||||
<?php if ($is_coffee || $is_subscription) { ?>
|
||||
<p class="weight"><?php echo $weight; ?></p>
|
||||
<?php } ?>
|
||||
<p class="origin"><?php echo $product_name; ?></p>
|
||||
<p class="origin<?php echo ($is_coffee || $is_subscription) ? "" : " non-coffee"; ?>"><?php echo $product_name; ?></p>
|
||||
<?php if ($is_coffee || $is_subscription) { ?>
|
||||
<p class="bean-type"><?php echo $brew_method; ?></p>
|
||||
<p class="roast"><?php echo $roast; ?> Roast</p>
|
||||
|
Loading…
Reference in New Issue
Block a user