Wedding Invitation
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

app.css 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /* resources/css/app.css */
  2. @import "../../node_modules/@fortawesome/fontawesome-free/css/all.min.css";
  3. /* Other CSS rules */
  4. @tailwind base;
  5. @tailwind components;
  6. @tailwind utilities;
  7. @font-face {
  8. font-family: 'Tan Pearl';
  9. src: url('tanPearl.woff2') format('woff2');
  10. font-weight: normal;
  11. font-style: normal;
  12. }
  13. @media (prefers-color-scheme: dark) {
  14. html, body {
  15. background-color: #ffffff;
  16. color: #000000;
  17. }
  18. /* Override any other dark mode specific styles */
  19. .dark\:bg-gray-900 {
  20. background-color: #ffffff !important;
  21. }
  22. .dark\:text-white {
  23. color: #000000 !important;
  24. }
  25. }
  26. /* Remove outline on focus for all elements */
  27. *:focus {
  28. outline: none;
  29. }
  30. html {
  31. scroll-behavior: smooth;
  32. }
  33. body.no-scroll {
  34. overflow: hidden;
  35. }
  36. .fade-element {
  37. opacity: 0;
  38. transform: translateY(20px);
  39. transition: opacity 3s ease-in-out, transform 3s ease-in-out;
  40. }
  41. .fade-in {
  42. opacity: 1;
  43. }
  44. .petal-overlay {
  45. position: fixed; /* Fixes the position to the viewport */
  46. top: 0;
  47. left: 0;
  48. width: 100vw;
  49. height: 100vh;
  50. pointer-events: none; /* Allows interactions through the overlay */
  51. z-index: 9999; /* Ensures it is on top of other elements */
  52. opacity: 0.3; /* Set the opacity to a lower value */
  53. display: none; /* Initially hidden */
  54. }
  55. .petal-overlay img {
  56. width: 100%;
  57. height: 100%;
  58. object-fit: cover; /* Ensures the image covers the entire container */
  59. }