Files
xevion.dev/src/styles/globals.scss

61 lines
1.6 KiB
SCSS

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;
html, body {
@apply font-manrope;
}
.item {
@apply w-full aspect-[7/2] lg:aspect-[5/3] sm:h-[14rem] md:h-[16rem] relative pointer-events-auto cursor-pointer overflow-hidden transition-all rounded;
> img {
@apply rounded transition-all;
}
.elements {
@apply hidden opacity-0 transition-all delay-100;
> * {
z-index: 30;
min-height: 0;
}
}
&:hover, &.active {
.elements {
@apply grid opacity-100;
}
> img {
@apply blur-2xl;
}
}
}
.stepped {
@apply text-white text-8xl;
font-family: monospace;
> span {
@apply transition-colors delay-300;
&:hover, &.active {
@apply text-black bg-white;
transition-delay: 0s;
}
}
}
.icon-grid {
direction: rtl;
> svg {
width: 75%;
height: 75%;
@apply transition-transform drop-shadow-md hover:scale-[120%] opacity-80 hover:opacity-100 text-white m-auto aspect-square;
}
}