docs: add quick start and user guides
This commit is contained in:
+291
@@ -0,0 +1,291 @@
|
||||
.guide-header {
|
||||
position: sticky;
|
||||
z-index: 10;
|
||||
top: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
min-height: 64px;
|
||||
padding: 12px clamp(18px, 4vw, 48px);
|
||||
border-bottom: 1px solid var(--line);
|
||||
background: rgb(8 17 15 / 92%);
|
||||
backdrop-filter: blur(18px);
|
||||
}
|
||||
|
||||
.guide-brand,
|
||||
.guide-header nav a {
|
||||
color: inherit;
|
||||
font-size: 0.82rem;
|
||||
font-weight: 700;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.guide-header nav {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 18px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.guide-shell {
|
||||
width: min(980px, calc(100% - 40px));
|
||||
margin: 0 auto;
|
||||
padding: clamp(48px, 8vw, 96px) 0 72px;
|
||||
}
|
||||
|
||||
.guide-hero {
|
||||
max-width: 820px;
|
||||
margin-bottom: clamp(64px, 10vw, 112px);
|
||||
}
|
||||
|
||||
.guide-hero h1 {
|
||||
margin-bottom: 24px;
|
||||
font-size: clamp(2.8rem, 8vw, 6.4rem);
|
||||
letter-spacing: -0.07em;
|
||||
line-height: 0.98;
|
||||
}
|
||||
|
||||
.guide-hero > p:last-child,
|
||||
.guide-copy {
|
||||
color: #c8d9d3;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.guide-hero > p:last-child {
|
||||
max-width: 720px;
|
||||
font-size: clamp(1rem, 2vw, 1.2rem);
|
||||
}
|
||||
|
||||
.guide-section {
|
||||
display: grid;
|
||||
grid-template-columns: 70px minmax(0, 1fr);
|
||||
gap: clamp(18px, 4vw, 42px);
|
||||
padding: clamp(36px, 7vw, 68px) 0;
|
||||
border-top: 1px solid var(--line);
|
||||
scroll-margin-top: 72px;
|
||||
}
|
||||
|
||||
.section-number {
|
||||
color: var(--mint);
|
||||
font-size: 0.75rem;
|
||||
font-weight: 760;
|
||||
letter-spacing: 0.12em;
|
||||
}
|
||||
|
||||
.guide-section h2 {
|
||||
margin-bottom: 28px;
|
||||
font-size: clamp(1.8rem, 4vw, 3rem);
|
||||
letter-spacing: -0.05em;
|
||||
}
|
||||
|
||||
.guide-steps {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
margin: 0;
|
||||
padding-left: 1.35rem;
|
||||
color: #c8d9d3;
|
||||
line-height: 1.75;
|
||||
}
|
||||
|
||||
.guide-steps li {
|
||||
padding-left: 8px;
|
||||
}
|
||||
|
||||
.guide-steps a,
|
||||
.callout a {
|
||||
color: var(--mint);
|
||||
}
|
||||
|
||||
code,
|
||||
kbd {
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 6px;
|
||||
color: var(--text);
|
||||
background: rgb(255 255 255 / 5%);
|
||||
font-family: "Cascadia Code", Consolas, monospace;
|
||||
}
|
||||
|
||||
code {
|
||||
padding: 0.12em 0.4em;
|
||||
}
|
||||
|
||||
kbd {
|
||||
padding: 2px 6px;
|
||||
box-shadow: 0 2px 0 var(--line);
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
|
||||
.callout {
|
||||
margin-top: 26px;
|
||||
padding: 18px 20px;
|
||||
border-left: 3px solid var(--cyan);
|
||||
border-radius: 0 12px 12px 0;
|
||||
color: var(--muted);
|
||||
background: rgb(88 199 232 / 7%);
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.callout--important {
|
||||
border-color: var(--amber);
|
||||
background: rgb(255 197 110 / 7%);
|
||||
}
|
||||
|
||||
.callout strong {
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.limit-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 10px;
|
||||
margin-top: 14px;
|
||||
}
|
||||
|
||||
.limit-grid div {
|
||||
padding: 18px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 12px;
|
||||
background: rgb(255 255 255 / 2%);
|
||||
}
|
||||
|
||||
.limit-grid strong,
|
||||
.limit-grid span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.limit-grid strong {
|
||||
color: var(--mint);
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.limit-grid span {
|
||||
margin-top: 5px;
|
||||
color: var(--muted);
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
|
||||
.guide-table-wrap {
|
||||
overflow-x: auto;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 14px;
|
||||
}
|
||||
|
||||
.guide-table-wrap table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
color: #c8d9d3;
|
||||
font-size: 0.88rem;
|
||||
}
|
||||
|
||||
.guide-table-wrap th,
|
||||
.guide-table-wrap td {
|
||||
padding: 14px 16px;
|
||||
border-bottom: 1px solid var(--line);
|
||||
text-align: left;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.guide-table-wrap th {
|
||||
color: var(--text);
|
||||
background: rgb(255 255 255 / 4%);
|
||||
}
|
||||
|
||||
.guide-table-wrap tr:last-child td {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.result-list {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.result-list div {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(150px, 0.4fr) minmax(0, 1fr);
|
||||
gap: 18px;
|
||||
padding: 14px 0;
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.result-list dt {
|
||||
color: var(--mint);
|
||||
font-family: "Cascadia Code", Consolas, monospace;
|
||||
font-size: 0.86rem;
|
||||
}
|
||||
|
||||
.result-list dd {
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
details {
|
||||
padding: 16px 0;
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
|
||||
summary {
|
||||
cursor: pointer;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
details p {
|
||||
margin: 12px 0 0;
|
||||
color: var(--muted);
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.reference-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
padding-top: 48px;
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.reference-grid a {
|
||||
padding: 20px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 14px;
|
||||
background: var(--surface);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.reference-grid a:hover,
|
||||
.reference-grid a:focus-visible {
|
||||
border-color: var(--mint);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.reference-grid strong,
|
||||
.reference-grid span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.reference-grid span {
|
||||
margin-top: 8px;
|
||||
color: var(--muted);
|
||||
font-size: 0.78rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.guide-header nav {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.guide-section {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.limit-grid,
|
||||
.reference-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.result-list div {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 6px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user