✨feature: Initial code setup
This commit is contained in:
130
src/styles.css
Normal file
130
src/styles.css
Normal file
@@ -0,0 +1,130 @@
|
||||
:root {
|
||||
font-family: "Segoe UI", "Aptos", sans-serif;
|
||||
color: #f3f1e8;
|
||||
background:
|
||||
radial-gradient(circle at top, rgba(179, 121, 59, 0.35), transparent 30%),
|
||||
linear-gradient(180deg, #17130f 0%, #0d0b09 100%);
|
||||
line-height: 1.5;
|
||||
font-weight: 400;
|
||||
color-scheme: dark;
|
||||
font-synthesis: none;
|
||||
text-rendering: optimizeLegibility;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-width: 320px;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
#root {
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.app-shell {
|
||||
width: min(1100px, calc(100% - 2rem));
|
||||
margin: 0 auto;
|
||||
padding: 3rem 0 4rem;
|
||||
}
|
||||
|
||||
.hero {
|
||||
padding: 2rem;
|
||||
border: 1px solid rgba(243, 241, 232, 0.16);
|
||||
background: rgba(21, 18, 14, 0.72);
|
||||
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
|
||||
backdrop-filter: blur(12px);
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
margin: 0 0 0.75rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.14em;
|
||||
color: #d8b27a;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.hero h1 {
|
||||
margin: 0;
|
||||
font-size: clamp(2.5rem, 7vw, 4.5rem);
|
||||
line-height: 0.95;
|
||||
}
|
||||
|
||||
.lede {
|
||||
width: min(55ch, 100%);
|
||||
margin: 1.25rem 0 0;
|
||||
color: rgba(243, 241, 232, 0.82);
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.panel-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
||||
gap: 1rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.panel {
|
||||
padding: 1.25rem;
|
||||
border: 1px solid rgba(243, 241, 232, 0.14);
|
||||
background: rgba(29, 24, 19, 0.82);
|
||||
}
|
||||
|
||||
.panel h2 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0.75rem;
|
||||
font-size: 1rem;
|
||||
color: #f6d49e;
|
||||
}
|
||||
|
||||
.panel ul,
|
||||
.panel ol {
|
||||
margin: 0;
|
||||
padding-left: 1.1rem;
|
||||
}
|
||||
|
||||
.panel li + li {
|
||||
margin-top: 0.45rem;
|
||||
}
|
||||
|
||||
.stats {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 0.75rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.stats div {
|
||||
padding: 0.9rem;
|
||||
background: rgba(243, 241, 232, 0.05);
|
||||
}
|
||||
|
||||
.stats dt {
|
||||
color: rgba(243, 241, 232, 0.62);
|
||||
font-size: 0.8rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
}
|
||||
|
||||
.stats dd {
|
||||
margin: 0.3rem 0 0;
|
||||
font-size: 1.7rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.app-shell {
|
||||
width: min(100% - 1rem, 1100px);
|
||||
padding-top: 1rem;
|
||||
}
|
||||
|
||||
.hero,
|
||||
.panel {
|
||||
padding: 1rem;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user