🔤 fluid typography scale
clamp() based fluid type. scales from 320px to 1440px+ without breakpoints. each step is exactly 1.25x the previous.
CSS custom properties (copy)
:root {
/* Typography Scale (fluid, clamp-based) */
--step--2: clamp(11px, 1vw, 13px); /* micro */
--step--1: clamp(13px, 1.5vw, 15px); /* small */
--step-0: clamp(16px, 2vw, 19px); /* body base */
--step-1: clamp(18px, 2.5vw, 22px); /* body large */
--step-2: clamp(20px, 3.5vw, 28px); /* h3 */
--step-3: clamp(24px, 4.5vw, 36px); /* h2 */
--step-4: clamp(32px, 6vw, 52px); /* h1 */
--step-5: clamp(36px, 8vw, 72px); /* display L */
--step-6: clamp(48px, 12vw, 120px); /* display XL */
}
📏 spacing rhythm
8px base unit system. everything snaps to a grid. multiply by 0.5 for fine-tuning or by 12 for dramatic moments.
CSS custom properties (copy)
/* Spacing Rhythm (8px base unit) */
--space-1: 4px; /* 0.5 */
--space-2: 8px; /* 1 */
--space-3: 12px; /* 1.5 */
--space-4: 16px; /* 2 */
--space-5: 24px; /* 3 */
--space-6: 32px; /* 4 */
--space-7: 48px; /* 6 */
--space-8: 64px; /* 8 */
🟣 lavender palette
the lavender palette is the soul of freifick.net. from soft pastels to deep midnight hues. boymoder approved.
where's lavender used?
--slime(lavender-300): the signature color. appears in title animations and avatar glows--card: imageboard post color at#d6daf0(near lavender-100)--paper: background at#eef2ff(near lavender-50).sticker: gradient from accent to accent-muted, with rotation tilt.hero: lavender-50 gradient overlay for subtle depth
💫 card hover states
cards float, tilt, and glow on hover. micro-interactions without the bloat. reduced motion friendly.
default card
the card lifts on hover. shadow grows. background warms slightly. it knows you're there.
sticker card
this one has a sticker badge. hover and watch the sticker catch the light.
portal card
this one points to another page. hover and see the portal shimmer.
game card
this one has a game icon. hover and feel the anticipation.
current hover CSS
.card:hover {
translate: 0 -6px;
box-shadow: 14px 16px 0 var(--slime-dark);
background: var(--card-hover);
}
.card:focus-visible {
outline: 3px solid var(--ink);
outline-offset: 3px;
}
🏛️ hero composition
the hero section. avatar, title, tagline, and subtag. centered but not rigid. tilted but not chaotic.
FREIFICK
hand-typed by a boymoder since 2026
you have reached freifick.net. hoodie on. sleeves over hands.
hero CSS tokens
.hero {
text-align: center;
padding: var(--space-8) var(--space-4) var(--space-5);
}
.hero-avatar {
width: clamp(120px, 20vw, 180px);
height: clamp(120px, 20vw, 180px);
border-radius: 50%;
border: 4px solid var(--ink);
box-shadow: 6px 8px 0 var(--shadow), 0 0 40px rgba(183, 164, 206, 0.4);
margin: var(--space-5) auto var(--space-4);
rotate: -4deg;
}
.title {
font: 400 var(--step-6)/.95 "Rubik Wet Paint", cursive;
color: var(--slime);
-webkit-text-stroke: 4px var(--ink);
user-select: none;
}
🔘 button styles
every button variant in the slop design system. from basic to big to themed. click any to see focus states, hover effects, and active press animations.
✨ card hover states (enhanced)
expanded card interaction library: default cards, sticker cards, portal cards, game cards, and accent cards. all respect reduced-motion.
default card
the card lifts on hover. shadow grows. background warms slightly. it knows you're there.
sticker card
this one has a sticker badge. hover and watch the sticker catch the light.
portal card
this one points to another page. hover and see the portal shimmer.
game card
this one has a game icon. hover and feel the anticipation.
accent card variants
.card:hover {
translate: 0 -6px;
box-shadow: 14px 16px 0 var(--slime-dark),
0 0 30px rgba(183, 164, 206, 0.2);
background: var(--card-hover);
}
.card:focus-visible {
outline: 3px solid var(--ink);
outline-offset: 3px;
}
/* Accent variants */
.card-example {
transition: translate var(--transition-normal),
box-shadow var(--transition-normal),
background var(--transition-normal);
}
.card-example:hover {
translate: 0 -4px;
box-shadow: 10px 12px 0 var(--slime-dark);
background: var(--card-hover);
}
📝 form elements
input controls, checkboxes, selects, and textareas with consistent styling. all meet WCAG 2.1 touch target minimums (44px). focus rings use lavender-500.
input[type="text"],
input[type="email"],
textarea,
select {
min-height: 44px;
min-width: 44px;
touch-action: manipulation;
padding: 10px 12px;
font-size: 16px;
border: 2px solid var(--ink);
border-radius: 6px 12px 5px 10px;
background: #fff;
color: var(--ink);
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
outline: 3px solid var(--lavender-500);
outline-offset: 3px;
}
input:invalid, textarea:invalid, select:invalid {
border-color: var(--red);
box-shadow: 3px 4px 0 var(--red);
}
input:valid, textarea:valid, select:valid {
border-color: var(--greentext);
}
🏷️ badge styles
status indicators, status tags, and pills. all use the lavender palette for consistency. copy the CSS for any variant.
.badge {
display: inline-block;
padding: var(--space-2) var(--space-3);
border-radius: 20px;
font-size: var(--step--2);
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.badge-new {
background: var(--lavender-500);
color: #fff;
box-shadow: 2px 3px 0 var(--shadow);
}
.badge-active {
background: var(--lavender-300);
color: var(--ink);
box-shadow: 2px 3px 0 var(--slime-dark);
}
.badge-muted {
background: var(--lavender-200);
color: var(--ink-soft);
}
.badge-completed {
background: var(--slime);
color: #fff;
}
🍞 toast notifications
feedback toasts: success, error, info, and warning. slide in from the bottom with a spring animation. all respect reduced-motion.
✓ copied to clipboard
toast notification appears here
ℹ info message
toast notification with icon and action
.toast {
position: fixed;
bottom: 20px;
left: 50%;
transform: translateX(-50%) translateY(100px);
background: var(--slime);
color: var(--ink);
padding: 12px 24px;
border-radius: 8px;
font-weight: 700;
box-shadow: 4px 4px 0 var(--shadow);
z-index: 1000;
transition: transform 0.3s cubic-bezier(0.5, 2, 0.5, 1);
}
.toast.show {
transform: translateX(-50%) translateY(0);
}
@media (prefers-reduced-motion: reduce) {
.toast { transition: none; }
⏳ loading states
skeleton loaders and placeholder patterns. use these while content loads. they pulse with the lavender palette.
.skeleton-line {
height: 20px;
background: linear-gradient(90deg,
var(--lavender-200), var(--lavender-100), var(--lavender-200));
background-size: 200% 100%;
border-radius: 6px;
animation: pulse 1.5s ease-in-out infinite;
}
.skeleton-text {
height: 16px;
border-radius: 4px;
}
@keyframes pulse {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
😀 icon & emoji usage
emoji as iconography. system-native, zero-weight, always renders. the slop uses these throughout the site.
🔤 typography utilities
text-wrap balancing, font families, and display patterns. modern CSS makes headings read better.
SLOP DISPLAY
Rubik Wet Paint
Comic Neue for body. system-ui fallback. cursive family.
code blocks use monospace
text-wrap: balance for headings. pretty for paragraphs.
h1, h2, h3, h4, h5, h6 {
text-wrap: balance;
}
p, li, dd, dt, td, th {
text-wrap: pretty;
}
/* Font families */
.title {
font: 400 var(--step-6)/.95 "Rubik Wet Paint", cursive;
}
body {
font: var(--slop-font-size)/var(--slop-line-height) var(--slop-font-family);
}
code, .greentext {
font-family: ui-monospace, Menlo, Consolas, monospace;
}
🎨 full color system
beyond lavender: the complete slop color palette. accent, mustard, slime, ink, card, and more. click any swatch to copy the hex value.
:root {
--slime: #b7a4ce; /* lavender-300, signature color */
--slime-dark: #5d4a74; /* darker shade for shadows */
--slime-light: #d3bddf; /* lighter shade for hovers */
--slime-muted: #a18bb9; /* muted variant */
--accent: #5865f2; /* blurple primary */
--accent-soft: #c9d0ff; /* soft accent for backgrounds */
--accent-muted: #8c95ff; /* muted accent */
--mustard: #e2c7d5; /* pink accent */
--mustard-dark: #c8a8b8; /* darker mustard */
--paper: #eef2ff; /* page background */
--ink: #16152a; /* primary text */
--ink-soft: #2d2b45; /* secondary text */
--card: #d6daf0; /* card background */
--card-hover: #c8cce0; /* card hover state */
--shadow: #16152a; /* solid shadow color */
--link: #2f3ab2; /* link color */
--name: #117743; /* username color (imageboard) */
--greentext: #4f6b0c; /* greentext highlight */
--red: #af0a0f; /* error/validation color */
}