config.css 771 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. @keyframes loading {
  2. to {
  3. background-position-x: -20%;
  4. }
  5. }
  6. @keyframes show {
  7. 0% {
  8. opacity: 0;
  9. }
  10. 100% {
  11. opacity: 1;
  12. }
  13. }
  14. :root {
  15. --bg-color: #EDE8D860
  16. }
  17. * {
  18. font-family: "Montserrat", sans-serif;
  19. }
  20. .animate__duration {
  21. --animate-duration: 200ms;
  22. }
  23. .loading {
  24. background-color: var(--bg-color);
  25. background: linear-gradient(
  26. 100deg,
  27. transparent 40%,
  28. #5a5a5a,
  29. transparent 60%
  30. ) var(--bg-color);
  31. background-size: 200% 100%;
  32. background-position-x: 180%;
  33. animation: 1s loading ease-in-out infinite;
  34. animation-delay: 1s;
  35. }
  36. .show {
  37. opacity: 0;
  38. animation: show ease-in-out 300ms;
  39. animation-fill-mode: forwards;
  40. }
  41. .news-content {
  42. a {
  43. @apply underline text-blue-400 hover:text-blue-600 duration-150
  44. }
  45. }