Wedding Invitation
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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,
  15. body {
  16. background-color: #ffffff;
  17. color: #000000;
  18. }
  19. /* Override any other dark mode specific styles */
  20. .dark\:bg-gray-900 {
  21. background-color: #ffffff !important;
  22. }
  23. .dark\:text-white {
  24. color: #000000 !important;
  25. }
  26. }
  27. /* Remove outline on focus for all elements */
  28. *:focus {
  29. outline: none;
  30. }
  31. html {
  32. scroll-behavior: smooth;
  33. }
  34. body.no-scroll {
  35. overflow: hidden;
  36. }
  37. .fade-in {
  38. opacity: 1;
  39. }
  40. .petal-overlay {
  41. position: fixed;
  42. /* Fixes the position to the viewport */
  43. top: 0;
  44. left: 0;
  45. width: 100vw;
  46. height: 100vh;
  47. pointer-events: none;
  48. /* Allows interactions through the overlay */
  49. z-index: 1;
  50. /* Ensures it is on top of other elements */
  51. opacity: 0.3;
  52. }
  53. .petal-overlay img {
  54. width: 100%;
  55. height: 100%;
  56. object-fit: cover;
  57. /* Ensures the image covers the entire container */
  58. }
  59. .loader {
  60. position: relative;
  61. display: flex;
  62. align-items: center;
  63. justify-content: center;
  64. width: 100%;
  65. max-width: 6rem;
  66. margin-top: 3rem;
  67. margin-bottom: 3rem;
  68. }
  69. .loader:before,
  70. .loader:after {
  71. content: "";
  72. position: absolute;
  73. border-radius: 50%;
  74. animation: pulsOut 1.8s ease-in-out infinite;
  75. filter: drop-shadow(0 0 1rem rgba(255, 255, 255, 0.75));
  76. }
  77. .loader:before {
  78. width: 100%;
  79. padding-bottom: 100%;
  80. box-shadow: inset 0 0 0 1rem #fff;
  81. animation-name: pulsIn;
  82. }
  83. .loader:after {
  84. width: calc(100% - 2rem);
  85. padding-bottom: calc(100% - 2rem);
  86. box-shadow: 0 0 0 0 #fff;
  87. }
  88. .part {
  89. transition: all 0.1s ease-in-out;
  90. }
  91. @keyframes pulsIn {
  92. 0% {
  93. box-shadow: inset 0 0 0 1rem #fff;
  94. opacity: 1;
  95. }
  96. 50%,
  97. 100% {
  98. box-shadow: inset 0 0 0 0 #fff;
  99. opacity: 0;
  100. }
  101. }
  102. @keyframes pulsOut {
  103. 0%,
  104. 50% {
  105. box-shadow: 0 0 0 0 #fff;
  106. opacity: 0;
  107. }
  108. 100% {
  109. box-shadow: 0 0 0 1rem #fff;
  110. opacity: 1;
  111. }
  112. }
  113. @keyframes to-right {
  114. from {
  115. transform: translateX(0)
  116. }
  117. to {
  118. transform: translateX(100%)
  119. }
  120. }
  121. @media (prefers-reduced-motion: no-preference) {
  122. @supports (animation-timeline: scroll()) {
  123. #right-cover {
  124. animation: to-right linear both;
  125. animation-timeline: scroll();
  126. animation-range: contain;
  127. }
  128. }
  129. }