global.css 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. @tailwind base;
  2. @tailwind components;
  3. @tailwind utilities;
  4. @layer base {
  5. * {
  6. @apply font-sans;
  7. }
  8. }
  9. .fullscreen {
  10. z-index: 9999 !important;
  11. width: 100% !important;
  12. height: calc(100vh - 3.5rem) !important;
  13. top: 0px !important;
  14. left: 0px !important;
  15. }
  16. @font-face {
  17. font-family: "Pixelated MS Sans Serif";
  18. src: url("/ms_sans_serif.woff") format("woff");
  19. src: url("/ms_sans_serif.woff2") format("woff2");
  20. font-weight: 1000;
  21. font-style: normal;
  22. font-smooth: always;
  23. }
  24. @keyframes minimizeWindow {
  25. 0% {
  26. opacity: 1;
  27. transform: scale(1) translateY(0);
  28. }
  29. 100% {
  30. opacity: 0;
  31. transform: scale(0.1) translateY(calc(100vh - 100%));
  32. }
  33. }
  34. @keyframes restoreWindow {
  35. 0% {
  36. opacity: 0;
  37. transform: scale(0.1) translateY(calc(100vh - 100%));
  38. }
  39. 100% {
  40. opacity: 1;
  41. transform: scale(1) translateY(0);
  42. }
  43. }
  44. @keyframes duolingoPopup {
  45. 0% {
  46. opacity: 0;
  47. transform: scale(0) translateY(20px);
  48. }
  49. 50% {
  50. transform: scale(1.1) translateY(-5px);
  51. }
  52. 100% {
  53. opacity: 1;
  54. transform: scale(1) translateY(0);
  55. }
  56. }
  57. .duolingo-popup.show {
  58. animation: duolingoPopup 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  59. }