version 1 with webshell and docs
This commit is contained in:
351
src/docs.css
Normal file
351
src/docs.css
Normal file
@@ -0,0 +1,351 @@
|
||||
:root {
|
||||
--base: #000000;
|
||||
--text: #cdd6f4;
|
||||
--subtext0: #a6adc8;
|
||||
--surface0: #1a1a1a;
|
||||
--surface1: #2a2a2a;
|
||||
--green: #a6e3a1;
|
||||
--blue: #89b4fa;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: "JetBrains Mono", monospace;
|
||||
background-color: var(--base);
|
||||
color: var(--text);
|
||||
min-height: 100vh;
|
||||
padding: 2rem 1.5rem;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 900px;
|
||||
margin: 0 auto;
|
||||
opacity: 0;
|
||||
animation: fadeIn 0.8s ease forwards;
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.header {
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
.back-link {
|
||||
color: var(--subtext0);
|
||||
text-decoration: none;
|
||||
font-size: 0.9rem;
|
||||
margin-bottom: 2rem;
|
||||
display: inline-block;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.back-link:hover {
|
||||
color: var(--green);
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: var(--text);
|
||||
font-size: 2.5rem;
|
||||
margin: 1rem 0 0.5rem 0;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
color: var(--subtext0);
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.command-reference {
|
||||
margin: 2rem 0 3rem 0;
|
||||
}
|
||||
|
||||
.command-box {
|
||||
background-color: rgba(26, 26, 26, 0.8);
|
||||
border: 2px solid var(--green);
|
||||
border-radius: 8px;
|
||||
padding: 1.5rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
box-shadow: 0 0 20px rgba(166, 227, 161, 0.1);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.command-box:hover {
|
||||
box-shadow: 0 0 30px rgba(166, 227, 161, 0.15);
|
||||
}
|
||||
|
||||
.command-box code {
|
||||
color: var(--green);
|
||||
font-size: 1.1rem;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.copy-btn {
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--subtext0);
|
||||
cursor: pointer;
|
||||
padding: 0.5rem;
|
||||
border-radius: 4px;
|
||||
transition: all 0.2s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.copy-btn:hover {
|
||||
color: var(--green);
|
||||
background-color: var(--surface0);
|
||||
}
|
||||
|
||||
.copy-btn .check-icon {
|
||||
display: none;
|
||||
color: var(--green);
|
||||
}
|
||||
|
||||
.copy-btn.copied .copy-icon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.copy-btn.copied .check-icon {
|
||||
display: block;
|
||||
animation: checkPop 0.3s ease;
|
||||
}
|
||||
|
||||
@keyframes checkPop {
|
||||
0% {
|
||||
transform: scale(0);
|
||||
}
|
||||
50% {
|
||||
transform: scale(1.2);
|
||||
}
|
||||
100% {
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
.sections {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 3rem;
|
||||
}
|
||||
|
||||
.section {
|
||||
opacity: 0;
|
||||
animation: slideUp 0.6s ease forwards;
|
||||
}
|
||||
|
||||
.section:nth-child(1) {
|
||||
animation-delay: 0.2s;
|
||||
}
|
||||
.section:nth-child(2) {
|
||||
animation-delay: 0.4s;
|
||||
}
|
||||
.section:nth-child(3) {
|
||||
animation-delay: 0.6s;
|
||||
}
|
||||
.section:nth-child(4) {
|
||||
animation-delay: 0.8s;
|
||||
}
|
||||
.section:nth-child(5) {
|
||||
animation-delay: 1s;
|
||||
}
|
||||
|
||||
@keyframes slideUp {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(20px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: var(--green);
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 1.25rem;
|
||||
font-weight: 600;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
h2::before {
|
||||
content: ">";
|
||||
color: var(--green);
|
||||
}
|
||||
|
||||
p {
|
||||
color: var(--subtext0);
|
||||
margin-bottom: 1rem;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
strong {
|
||||
color: var(--text);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.breakdown-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||
gap: 1.5rem;
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
|
||||
.breakdown-item {
|
||||
background-color: rgba(26, 26, 26, 0.5);
|
||||
border: 1px solid rgba(166, 227, 161, 0.2);
|
||||
border-radius: 8px;
|
||||
padding: 1.5rem;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.breakdown-item:hover {
|
||||
border-color: rgba(166, 227, 161, 0.4);
|
||||
background-color: rgba(26, 26, 26, 0.7);
|
||||
}
|
||||
|
||||
.breakdown-item h3 {
|
||||
color: var(--blue);
|
||||
font-size: 1.1rem;
|
||||
margin-bottom: 0.75rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.breakdown-item p {
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.steps {
|
||||
list-style: none;
|
||||
counter-reset: step;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.steps li {
|
||||
counter-increment: step;
|
||||
margin-bottom: 1.25rem;
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
color: var(--subtext0);
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.steps li::before {
|
||||
content: counter(step, decimal-leading-zero);
|
||||
color: var(--green);
|
||||
font-weight: 600;
|
||||
min-width: 2rem;
|
||||
}
|
||||
|
||||
kbd {
|
||||
background-color: var(--surface0);
|
||||
border: 1px solid var(--surface1);
|
||||
padding: 0.2rem 0.5rem;
|
||||
border-radius: 4px;
|
||||
color: var(--text);
|
||||
font-size: 0.9em;
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
.resources-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||
gap: 1rem;
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
|
||||
.resource-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 1.25rem;
|
||||
background-color: rgba(26, 26, 26, 0.5);
|
||||
border: 1px solid rgba(166, 227, 161, 0.2);
|
||||
border-radius: 8px;
|
||||
text-decoration: none;
|
||||
color: var(--text);
|
||||
transition: all 0.3s ease;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.resource-card:hover {
|
||||
background-color: rgba(26, 26, 26, 0.7);
|
||||
border-color: var(--green);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 12px rgba(166, 227, 161, 0.1);
|
||||
}
|
||||
|
||||
.resource-content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.resource-content svg {
|
||||
color: var(--green);
|
||||
}
|
||||
|
||||
.resource-content span {
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.external-icon,
|
||||
.arrow-icon {
|
||||
color: var(--subtext0);
|
||||
opacity: 0;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.resource-card:hover .external-icon,
|
||||
.resource-card:hover .arrow-icon {
|
||||
opacity: 1;
|
||||
color: var(--green);
|
||||
}
|
||||
|
||||
.note {
|
||||
margin-top: 1rem;
|
||||
font-size: 0.8rem;
|
||||
text-align: center;
|
||||
color: rgba(166, 172, 200, 0.6);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
body {
|
||||
padding: 1.5rem 1rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
.command-box code {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.breakdown-grid,
|
||||
.resources-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user