Skip to content

Commit

Permalink
fix: remove confetti from print preview
Browse files Browse the repository at this point in the history
  • Loading branch information
aeschi committed Feb 12, 2024
1 parent e9f9bed commit 30f4165
Showing 1 changed file with 24 additions and 18 deletions.
42 changes: 24 additions & 18 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,40 +3,46 @@
@tailwind utilities;

@font-face {
font-family: "Berlin";
font-style: normal;
font-weight: 400;
src: url("/fonts/BerlinTypeWeb-Regular.woff2");
font-family: "Berlin";
font-style: normal;
font-weight: 400;
src: url("/fonts/BerlinTypeWeb-Regular.woff2");
}

@font-face {
font-family: "Berlin";
font-style: normal;
font-weight: 700;
src: url("/fonts/BerlinTypeWeb-Bold.woff2");
font-family: "Berlin";
font-style: normal;
font-weight: 700;
src: url("/fonts/BerlinTypeWeb-Bold.woff2");
}

progress[value] {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}

progress[value] {
--color: #4f90cd;
--background: #e6e6e6;
border: none; /* Firefox add a default border */
background: var(--background);
--color: #4f90cd;
--background: #e6e6e6;
border: none; /* Firefox add a default border */
background: var(--background);
}

progress[value]::-moz-progress-bar {
background: var(--color);
background: var(--color);
}

progress[value]::-webkit-progress-bar {
background: var(--background);
background: var(--background);
}

progress[value]::-webkit-progress-value {
background: var(--color);
background: var(--color);
}

@media print {
canvas {
display: none !important;
}
}

0 comments on commit 30f4165

Please sign in to comment.