Skip to content

Commit

Permalink
fix: remove confetti from print preview (#27)
Browse files Browse the repository at this point in the history
* fix: remove confetti from print preview

https://app.asana.com/0/1206159861069468/1206391318667095/f

* fix: take out important statement
  • Loading branch information
aeschi authored Feb 13, 2024
1 parent e9f9bed commit 73b3187
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;
}
}

0 comments on commit 73b3187

Please sign in to comment.