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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. transition: opacity 3s ease-in-out;
  39. }
  40. .fade-in {
  41. opacity: 1;
  42. }
  43. .petal-overlay {
  44. position: fixed; /* Fixes the position to the viewport */
  45. top: 0;
  46. left: 0;
  47. width: 100vw;
  48. height: 100vh;
  49. pointer-events: none; /* Allows interactions through the overlay */
  50. z-index: 9999; /* Ensures it is on top of other elements */
  51. opacity: 0.3; /* Set the opacity to a lower value */
  52. display: none; /* Initially hidden */
  53. }
  54. .petal-overlay img {
  55. width: 100%;
  56. height: 100%;
  57. object-fit: cover; /* Ensures the image covers the entire container */
  58. }