← back to Model Arena
data/artifacts/193230252710/qwen3-14b.html
258 lines
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Designer Wallcoverings Mood Board</title>
<style>
:root {
--bg: #faf8f4;
--surface: #ffffff;
--text: #1c1a17;
--muted: #9b948a;
--accent: #b0472e;
--line: #e5e5e5;
--shadow: 0 8px 24px rgba(0,0,0,0.12);
--ease: cubic-bezier(0.22, 1, 0.36, 1);
--fade-up: 0.7s var(--ease) both;
--stagger: 90ms;
--spacing: 8px;
--card-radius: 14px;
--card-gap: 24px;
--card-minwidth: 260px;
--glow: 0 0 24px var(--accent)35%;
--font-display: 'Playfair Display', Georgia, serif;
--font-body: -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: var(--font-body);
background-color: var(--bg);
color: var(--text);
min-height: 100vh;
display: flex;
flex-direction: column;
overflow: hidden;
}
header {
font-family: var(--font-display);
font-size: 48px;
letter-spacing: 0.18em;
color: var(--text);
text-transform: uppercase;
padding: 24px;
position: fixed;
top: 0;
left: 0;
width: 100%;
background: var(--surface);
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
z-index: 1000;
display: flex;
align-items: center;
justify-content: flex-start;
white-space: nowrap;
overflow: visible;
}
main {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding-top: 128px;
padding-bottom: 64px;
position: relative;
min-height: 100vh;
overflow: hidden;
}
.board {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: var(--card-gap);
width: 100%;
max-width: 1080px;
margin: 0 auto;
padding: 0 24px;
justify-items: center;
align-items: center;
animation: fadeUp 0.7s var(--ease) both;
}
.board > * {
opacity: 0;
transform: translateY(28px);
animation: fadeUp 0.7s var(--ease) both;
}
.board > *:nth-child(1) { animation-delay: 0s; }
.board > *:nth-child(2) { animation-delay: calc(0s + var(--stagger)); }
.board > *:nth-child(3) { animation-delay: calc(0s + 2*var(--stagger)); }
.board > *:nth-child(4) { animation-delay: calc(0s + 3*var(--stagger)); }
.board > *:nth-child(5) { animation-delay: calc(0s + 4*var(--stagger)); }
.hero-pattern {
width: 100%;
height: 240px;
background: linear-gradient(135deg, var(--accent) 25%, var(--muted) 50%, var(--surface) 75%);
background-size: 400px 400px;
border: 1px solid var(--line);
box-shadow: var(--shadow);
border-radius: var(--card-radius);
}
.color-chip {
width: 120px;
height: 120px;
border: 1px solid var(--line);
box-shadow: var(--shadow);
border-radius: var(--card-radius);
margin: 12px;
}
.type-sample {
width: 100%;
height: 80px;
background: var(--surface);
border: 1px solid var(--line);
box-shadow: var(--shadow);
border-radius: var(--card-radius);
display: flex;
align-items: center;
justify-content: center;
font-family: var(--font-display);
font-size: 24px;
letter-spacing: 0.15em;
text-transform: uppercase;
color: var(--text);
padding: 8px;
}
.texture-tile {
width: 100%;
height: 120px;
background: repeating-linear-gradient(45deg, var(--accent) 0, var(--accent) 20px, var(--muted) 20px, var(--muted) 40px);
border: 1px solid var(--line);
box-shadow: var(--shadow);
border-radius: var(--card-radius);
}
.regenerate {
position: fixed;
bottom: 32px;
left: 50%;
transform: translateX(-50%);
padding: 12px 24px;
background: var(--accent);
color: var(--text);
font-family: var(--font-body);
font-size: 14px;
letter-spacing: 0.15em;
text-transform: uppercase;
border: none;
border-radius: 8px;
cursor: pointer;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
transition: box-shadow 0.2s ease;
}
.regenerate:hover {
box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
@keyframes fadeUp {
from {
opacity: 0;
transform: translateY(28px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
</style>
</head>
<body>
<header>DESIGNER WALLCOVERINGS</header>
<main>
<div class="board" id="board">
<div class="hero-pattern"></div>
<div class="color-chip" style="background: #b0472e;"></div>
<div class="color-chip" style="background: #9b948a;"></div>
<div class="color-chip" style="background: #2f4c39;"></div>
<div class="type-sample">ELEGANT LUXURY</div>
<div class="texture-tile"></div>
</div>
<button class="regenerate" onclick="regenerateBoard()">REGENERATE</button>
</main>
<script>
const board = document.getElementById('board');
const themes = ['luxe-noir', 'ivory-gallery', 'synthwave', 'terracotta-sun'];
const colorPalettes = {
'luxe-noir': {
bg: '#0d0d0f', surface: '#17171c', text: '#f5f2ea', muted: '#8a8578', accent: '#c9a961'
},
'ivory-gallery': {
bg: '#faf8f4', surface: '#ffffff', text: '#1c1a17', muted: '#9b948a', accent: '#b0472e'
},
'synthwave': {
bg: '#12002b', surface: '#1e0b3d', text: '#f3e9ff', muted: '#8d7bb0', accent: '#ff2e88'
},
'terracotta-sun': {
bg: '#f7efe6', surface: '#fff9f1', text: '#3a2c22', muted: '#a08c7a', accent: '#c65f38'
}
};
function applyTheme() {
const theme = themes[Math.floor(Math.random() * themes.length)];
const palette = colorPalettes[theme];
document.documentElement.style.setProperty('--bg', palette.bg);
document.documentElement.style.setProperty('--surface', palette.surface);
document.documentElement.style.setProperty('--text', palette.text);
document.documentElement.style.setProperty('--muted', palette.muted);
document.documentElement.style.setProperty('--accent', palette.accent);
}
function regenerateBoard() {
board.innerHTML = '';
applyTheme();
const hero = document.createElement('div');
hero.classList.add('hero-pattern');
board.appendChild(hero);
const colors = [
{ color: colorPalettes[theme].accent },
{ color: colorPalettes[theme].muted },
{ color: colorPalettes[theme].text }
];
colors.forEach((color, index) => {
const chip = document.createElement('div');
chip.classList.add('color-chip');
chip.style.background = color.color;
board.appendChild(chip);
});
const typeSample = document.createElement('div');
typeSample.classList.add('type-sample');
typeSample.textContent = 'LUXURIOUS TEXTURE';
board.appendChild(typeSample);
const texture = document.createElement('div');
texture.classList.add('texture-tile');
texture.style.background = `repeating-linear-gradient(45deg, ${colorPalettes[theme].accent} 0, ${colorPalettes[theme].accent} 20px, ${colorPalettes[theme].muted} 20px, ${colorPalettes[theme].muted} 40px)`;
board.appendChild(texture);
}
regenerateBoard();
</script>
</body>
</html>