mirror of
https://github.com/Such-Software/smirk-website.git
synced 2026-12-01 12:14:12 +01:00
114 lines
2.6 KiB
CSS
114 lines
2.6 KiB
CSS
@import "tailwindcss";
|
|
|
|
@font-face {
|
|
font-family: 'Creepster';
|
|
src: url('/fonts/Creepster-Regular.ttf') format('truetype');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
:root {
|
|
--background: #0a0a0a;
|
|
--foreground: #ededed;
|
|
--smirk-yellow: #fbeb0a;
|
|
--smirk-yellow-dark: #d4c708;
|
|
}
|
|
|
|
@theme inline {
|
|
--color-background: var(--background);
|
|
--color-foreground: var(--foreground);
|
|
--color-smirk: var(--smirk-yellow);
|
|
--font-mono: var(--font-geist-mono);
|
|
}
|
|
|
|
body {
|
|
background: var(--background);
|
|
color: var(--foreground);
|
|
font-family: var(--font-mono), monospace;
|
|
}
|
|
|
|
/* Logo glow - layered shadows for intense effect */
|
|
@keyframes pulse-glow {
|
|
0%, 100% {
|
|
filter:
|
|
drop-shadow(0 0 10px rgba(251, 235, 10, 0.6))
|
|
drop-shadow(0 0 30px rgba(251, 235, 10, 0.4))
|
|
drop-shadow(0 0 60px rgba(251, 235, 10, 0.3));
|
|
}
|
|
50% {
|
|
filter:
|
|
drop-shadow(0 0 15px rgba(251, 235, 10, 0.9))
|
|
drop-shadow(0 0 40px rgba(251, 235, 10, 0.6))
|
|
drop-shadow(0 0 80px rgba(251, 235, 10, 0.4));
|
|
}
|
|
}
|
|
|
|
.logo-glow {
|
|
animation: pulse-glow 3s ease-in-out infinite;
|
|
}
|
|
|
|
/* Coin button styles */
|
|
.coin-btn {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 1rem;
|
|
border-radius: 0.75rem;
|
|
border: 2px solid #3f3f46;
|
|
transition: all 0.2s;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.coin-btn:hover {
|
|
border-color: #fbeb0a;
|
|
background: rgba(39, 39, 42, 0.5);
|
|
}
|
|
|
|
.coin-btn.selected {
|
|
border-color: #fbeb0a;
|
|
background: rgba(39, 39, 42, 0.5);
|
|
}
|
|
|
|
.coin-btn img {
|
|
width: 3rem;
|
|
height: 3rem;
|
|
}
|
|
|
|
.coin-btn span {
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
/* Creepster text styling */
|
|
.creepster-text {
|
|
font-family: 'Creepster', cursive;
|
|
color: #fbeb0a;
|
|
text-shadow:
|
|
0 0 10px rgba(251, 235, 10, 0.6),
|
|
0 0 20px rgba(251, 235, 10, 0.4),
|
|
0 0 30px rgba(251, 235, 10, 0.2);
|
|
}
|
|
|
|
/* Hide scrollbar when content fits viewport on tall screens */
|
|
@media (min-height: 700px) {
|
|
html {
|
|
overflow-y: auto;
|
|
scrollbar-gutter: stable;
|
|
}
|
|
|
|
/* Hide scrollbar but keep scrolling functional */
|
|
html::-webkit-scrollbar {
|
|
width: 0;
|
|
background: transparent;
|
|
}
|
|
}
|
|
|
|
/* Dedicated educational pages preserve the landing page composition. */
|
|
.demo-page { width: 100%; max-width: 56rem; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
|
|
.demo-assets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
|
|
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--smirk-yellow); outline-offset: 4px; }
|
|
@media (max-width: 380px) { .demo-page { padding-left: 1rem; padding-right: 1rem; } .demo-assets { gap: .5rem; } }
|