test
This commit is contained in:
158
src/docs.css
158
src/docs.css
@@ -24,16 +24,8 @@ body {
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 900px;
|
||||
max-width: 650px;
|
||||
margin: 0 auto;
|
||||
opacity: 0;
|
||||
animation: fadeIn 0.8s ease forwards;
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.header {
|
||||
@@ -43,10 +35,14 @@ body {
|
||||
.back-link {
|
||||
color: var(--subtext0);
|
||||
text-decoration: none;
|
||||
font-size: 0.9rem;
|
||||
font-size: 0.85rem;
|
||||
margin-bottom: 2rem;
|
||||
display: inline-block;
|
||||
transition: color 0.3s ease;
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
.back-link:hover {
|
||||
color: var(--green);
|
||||
}
|
||||
|
||||
.back-link:hover {
|
||||
@@ -70,20 +66,18 @@ h1 {
|
||||
}
|
||||
|
||||
.command-box {
|
||||
background-color: rgba(26, 26, 26, 0.8);
|
||||
border: 2px solid var(--green);
|
||||
border-radius: 8px;
|
||||
padding: 1.5rem;
|
||||
background: rgba(26, 26, 26, 0.8);
|
||||
border: 1px solid var(--green);
|
||||
padding: 1.25rem;
|
||||
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;
|
||||
transition: border-color 0.2s ease;
|
||||
}
|
||||
|
||||
.command-box:hover {
|
||||
box-shadow: 0 0 30px rgba(166, 227, 161, 0.15);
|
||||
border-color: var(--blue);
|
||||
}
|
||||
|
||||
.command-box code {
|
||||
@@ -121,19 +115,6 @@ h1 {
|
||||
|
||||
.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 {
|
||||
@@ -143,35 +124,6 @@ h1 {
|
||||
}
|
||||
|
||||
.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 {
|
||||
@@ -179,14 +131,6 @@ h2 {
|
||||
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 {
|
||||
@@ -208,22 +152,18 @@ strong {
|
||||
}
|
||||
|
||||
.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;
|
||||
padding: 1rem;
|
||||
border-bottom: 1px solid rgba(166, 227, 161, 0.1);
|
||||
}
|
||||
|
||||
.breakdown-item:hover {
|
||||
border-color: rgba(166, 227, 161, 0.4);
|
||||
background-color: rgba(26, 26, 26, 0.7);
|
||||
.breakdown-item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.breakdown-item h3 {
|
||||
color: var(--blue);
|
||||
font-size: 1.1rem;
|
||||
margin-bottom: 0.75rem;
|
||||
font-size: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@@ -272,59 +212,23 @@ kbd {
|
||||
}
|
||||
|
||||
.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;
|
||||
display: block;
|
||||
padding: 0.75rem 1rem;
|
||||
background: rgba(26, 26, 26, 0.5);
|
||||
border: 1px solid rgba(166, 227, 161, 0.15);
|
||||
text-decoration: none;
|
||||
color: var(--text);
|
||||
transition: all 0.3s ease;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
margin: 0.5rem 0;
|
||||
transition: border-color 0.2s ease, background-color 0.2s ease;
|
||||
}
|
||||
|
||||
.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);
|
||||
background: rgba(26, 26, 26, 0.7);
|
||||
}
|
||||
|
||||
.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);
|
||||
.resource-card span {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
@@ -333,15 +237,11 @@ kbd {
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2rem;
|
||||
font-size: 1.8rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
.command-box code {
|
||||
font-size: 0.9rem;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.breakdown-grid,
|
||||
|
||||
Reference in New Issue
Block a user