@tailwind base; @tailwind components; @tailwind utilities; @layer utilities { .btn-primary { @apply inline-block text-sm border border-green-500 rounded py-1 px-3 bg-green-500; color: #fff !important; font-weight: 600; line-height: 20px; text-align: center; } .btn-primary-hover { @apply bg-green-600; cursor: pointer; } } html, body, #__next, .main { height: 100vh; padding: 0; margin: 0; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; @apply bg-scale-100 dark:bg-scale-100; } * { box-sizing: border-box; } a { color: inherit; text-decoration: none; } /* Loader dots */ .loader-dots div { animation-timing-function: cubic-bezier(0, 1, 1, 0); } .loader-dots div:nth-child(1) { left: 4px; animation: loader-dots1 0.6s infinite; } .loader-dots div:nth-child(2) { left: 4px; animation: loader-dots2 0.6s infinite; } .loader-dots div:nth-child(3) { left: 16px; animation: loader-dots2 0.6s infinite; } .loader-dots div:nth-child(4) { left: 28px; animation: loader-dots3 0.6s infinite; } @keyframes loader-dots1 { 0% { transform: scale(0); } 100% { transform: scale(1); } } @keyframes loader-dots3 { 0% { transform: scale(1); } 100% { transform: scale(0); } } @keyframes loader-dots2 { 0% { transform: translate(0, 0); } 100% { transform: translate(12px, 0); } }