coquille / style.css
noahnormand's picture
Update style.css
c5d8ece verified
Raw
History Blame Contribute Delete
5.72 kB
:root {
--red: #dc2626;
--blue: #1d4ed8;
--bg: #0f0f0f;
--bg-alt: #161616;
--border: rgba(255, 255, 255, 0.08);
--text: #f5f5f5;
--muted: #a3a3a3;
--code-bg: #1a1a1a;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', -apple-system, sans-serif;
background: var(--bg);
color: var(--text);
font-size: 1rem;
line-height: 1.7;
}
/* ── HERO ─────────────────────────────────── */
.hero {
position: relative;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 5rem 2rem;
overflow: hidden;
}
.hero-bg {
position: absolute;
inset: 0;
z-index: 0;
}
.circle {
position: absolute;
border-radius: 50%;
filter: blur(80px);
opacity: 0.3;
}
.c1 { width: 500px; height: 500px; background: var(--red); top: -150px; left: -100px; animation: drift 8s ease-in-out infinite alternate; }
.c2 { width: 450px; height: 450px; background: var(--blue); bottom: -100px; right: -80px; animation: drift 10s ease-in-out infinite alternate-reverse; }
.c3 { width: 250px; height: 250px; background: #7c3aed; top: 50%; left: 50%; transform: translate(-50%, -50%); animation: drift 6s ease-in-out infinite alternate; }
@keyframes drift {
from { transform: translate(0, 0); }
to { transform: translate(30px, 20px); }
}
.hero-content {
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
align-items: center;
gap: 1.2rem;
}
.badge {
background: rgba(255, 255, 255, 0.07);
border: 1px solid var(--border);
padding: 0.35rem 1rem;
border-radius: 999px;
font-size: 0.82rem;
color: var(--muted);
}
.hero h1 {
font-family: 'Noto Sans JP', sans-serif;
font-size: clamp(3rem, 10vw, 6rem);
font-weight: 900;
letter-spacing: -0.02em;
line-height: 1;
background: linear-gradient(135deg, #fff 0%, #dc2626 50%, #1d4ed8 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.tagline {
font-size: 0.95rem;
color: var(--muted);
max-width: 440px;
line-height: 1.7;
}
.jp {
font-family: 'Noto Sans JP', sans-serif;
font-size: 0.82rem;
color: #6b7280;
letter-spacing: 0.05em;
}
.team {
display: flex;
gap: 2rem;
flex-wrap: wrap;
justify-content: center;
}
.member {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.4rem;
width: 150px;
}
.avatar {
width: 48px;
height: 48px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Noto Sans JP', sans-serif;
font-size: 1.2rem;
font-weight: 900;
color: white;
}
.member span {
font-size: 0.8rem;
color: var(--muted);
text-align: center;
width: 100%;
}
/* ── SECTIONS ─────────────────────────────── */
.section {
padding: 4rem 2rem;
background: var(--bg);
}
.section--alt {
background: var(--bg-alt);
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
}
.container {
max-width: 900px;
margin: 0 auto;
}
h2 {
font-family: 'Noto Sans JP', sans-serif;
font-size: 1.8rem;
font-weight: 900;
margin-bottom: 2rem;
color: var(--text);
}
h3 {
font-size: 1rem;
font-weight: 600;
color: var(--text);
margin-top: 1.5rem;
margin-bottom: 0.6rem;
}
p, li, dd {
color: var(--muted);
font-size: 0.92rem;
}
ul, ol {
padding-left: 1.4rem;
display: flex;
flex-direction: column;
gap: 0.4rem;
}
strong {
color: var(--text);
font-weight: 600;
}
/* ── CODE ─────────────────────────────────── */
pre {
background: var(--code-bg);
border: 1px solid var(--border);
border-radius: 8px;
padding: 0.8rem 1.2rem;
margin: 0.6rem 0;
overflow-x: auto;
}
code {
font-family: 'Courier New', monospace;
font-size: 0.85rem;
color: #86efac;
}
p code, li code, dd code {
background: var(--code-bg);
padding: 0.1em 0.4em;
border-radius: 4px;
color: #93c5fd;
font-size: 0.82rem;
}
.note {
font-size: 0.82rem;
color: #6b7280;
margin-top: 0.4rem;
}
.badge-recommended {
display: inline-block;
background: rgba(220, 38, 38, 0.15);
border: 1px solid rgba(220, 38, 38, 0.3);
color: #f87171;
font-size: 0.7rem;
font-weight: 600;
padding: 0.15rem 0.5rem;
border-radius: 999px;
vertical-align: middle;
margin-left: 0.5rem;
}
/* ── FEATURES ─────────────────────────────── */
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 1rem;
}
.feature-card {
background: rgba(255, 255, 255, 0.03);
border: 1px solid var(--border);
border-radius: 10px;
padding: 1.2rem;
}
.feature-icon {
font-size: 1.5rem;
margin-bottom: 0.5rem;
}
.feature-card h3 {
font-size: 0.92rem;
font-weight: 600;
color: var(--text);
margin-top: 0;
margin-bottom: 0.3rem;
}
.feature-card p {
font-size: 0.83rem;
color: #6b7280;
line-height: 1.6;
}
/* ── ARCHITECTURE ─────────────────────────── */
.arch-cols {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
}
@media (max-width: 640px) {
.arch-cols { grid-template-columns: 1fr; }
}
dl {
display: flex;
flex-direction: column;
gap: 0.8rem;
}
dt {
font-size: 0.85rem;
margin-bottom: 0.1rem;
}
dd {
margin-left: 0;
font-size: 0.85rem;
color: #6b7280;
}
/* ── FOOTER ───────────────────────────────── */
.footer {
text-align: center;
padding: 2rem;
font-size: 0.82rem;
color: #444;
border-top: 1px solid var(--border);
}
.footer .jp {
color: #555;
}