@page {
size: calc(146.64pt - 4.32pt) calc(69.12pt - 4.08pt);
margin: 1mm;
}
body {
margin: 0;
.label {
background-size: cover;
page-break-after: always;
clear: both;
width: calc(146.64pt - 4.32pt);
height: calc(69.12pt - 4.08pt);
position: relative;
padding-top: 1.9mm;
overflow: hidden;
@media screen {
border: 1px solid red;
.content {
display: flex;
height: 70%;
.qrcode {
height: 100%;
.text-content {
margin-left: 1ex;
font-family: monospace;
line-height: 0.9;
.name {
font-size: 30;
line-height: 0.8;
margin-bottom: .1em;
.mac {
font-size: 10;
.barcode {
margin-top: 2%;
bottom: 0;
width: 90%;
height: 24%;