@tailwind base; @tailwind components; @tailwind utilities; body { background: black; } .resend-font-effect-hero { /* #Resend */ -webkit-text-fill-color: transparent; text-shadow: -1px -1px 0 hsla(0, 0%, 100%, .15), 1px 1px 0 rgba(0, 0, 0, .1); } .border-gradient { /* Mark as important to override react flow styling */ background: linear-gradient(black, black) padding-box, linear-gradient(to bottom, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.15)) border-box !important; border: 1px solid transparent !important; } .radial-background-1 { background-image: radial-gradient(at 170% 0%, rgb(49, 46, 129) 0, transparent 69%), radial-gradient(at 0% -30%, rgb(21, 94, 117) 0, transparent 50%); } .after-gradient::after { background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .8) 47.92%, rgba(255, 255, 255, 0)); } .lower-gradient { background-image: linear-gradient( to top, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) ); height: 20vh; position: fixed; bottom: 0; left: 0; right: 0; } .fading-hr { position: relative; height: 1px; background: linear-gradient( to right, transparent, hsla(0, 0%, 0%, 0.1), hsla(0, 0%, 0%, 0.2), hsla(0, 0%, 0%, 0.2), hsla(20, 0%, 0%, 0.1), transparent ); } .fading-hr-dark { position: relative; height: 1px; background: linear-gradient( to right, transparent, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1), transparent ); } /* Used for code / table formatting within messages */ pre { @apply overflow-auto rounded-lg; } .window-heights { @apply h-[14em] overflow-y-auto overflow-x-hidden sm-h:h-[17em] md-h:h-[22em] lg-h:h-[30em]; } .link { @apply cursor-pointer text-sky-500 underline hover:text-sky-300; } table { @apply w-full rounded-lg text-white; background-color: #0d1117; } th, td { @apply rounded-lg border border-gray-700 px-4 py-2; } th { background-color: #161b22; } tr:nth-child(even) { background-color: #1c2028; } /* range input track style */ input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; background: transparent; } input[type=range]:focus { outline: none; } input[type=range]::-ms-track { width: 100%; cursor: pointer; /* Hides the slider so custom styles can be added */ background: transparent; border-color: transparent; color: transparent; } input[type=range] { @apply bg-slate-11 rounded-md; height: 0.5rem; } /* Customize website's scrollbar like Mac OS Not supports in Firefox and IE */ /* total width */ *::-webkit-scrollbar { border-radius: 12px; background-color: #889096; width: 12px; } /* scrollbar itself */ *::-webkit-scrollbar-thumb { background-color: #D7DBDF; @apply rounded-lg; border: 2px solid #889096; /* This creates the illusion of padding inside the track */ } /* set button(top and bottom of the scrollbar) */ *::-webkit-scrollbar-button { display: none; } /* disappearing animation */ .animation-hide { animation: hide 1s cubic-bezier(0.4, 0, 0.2, 1) 0s 1 forwards; } @keyframes hide { to { opacity: 0; } } @keyframes border-pulse-animation { 0% { border-color: rgba(216, 180, 254, 0.3); } 50% { border-color: rgba(216, 180, 254, 0.4); } 100% { border-color: rgba(216, 180, 254, 0.3); } } .animate-border-pulse { animation: border-pulse-animation 2s infinite; } @keyframes moveBackground { from { background-position: 0 0; } to { background-position: 100% 0; } } .bg-stars { animation: moveBackground 30s linear infinite; background: url("/stars.svg"); background-size: cover; position: fixed; top: 0; bottom: 0; left: 0; right: 0; z-index: -1; }