Wedding Invitation
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. /* Adjust scrollbar width and color */
  34. body::-webkit-scrollbar {
  35. width: 12px; /* Width of the scrollbar */
  36. }
  37. body.no-scroll {
  38. overflow: hidden;
  39. }
  40. .fade-element {
  41. opacity: 0;
  42. transform: translateY(20px);
  43. transition: opacity 3s ease-in-out, transform 3s ease-in-out;
  44. }
  45. .fade-in {
  46. opacity: 1;
  47. }
  48. .petal-overlay {
  49. position: fixed; /* Fixes the position to the viewport */
  50. top: 0;
  51. left: 0;
  52. width: 100vw;
  53. height: 100vh;
  54. pointer-events: none; /* Allows interactions through the overlay */
  55. z-index: 9999; /* Ensures it is on top of other elements */
  56. opacity: 0.3; /* Set the opacity to a lower value */
  57. display: none; /* Initially hidden */
  58. }
  59. .petal-overlay img {
  60. width: 100%;
  61. height: 100%;
  62. object-fit: cover; /* Ensures the image covers the entire container */
  63. }