Skip to content

Commit

Permalink
add guide page
Browse files Browse the repository at this point in the history
  • Loading branch information
yimingWOW committed Jan 16, 2025
1 parent 27ad80f commit 7487a58
Showing 1 changed file with 139 additions and 0 deletions.
139 changes: 139 additions & 0 deletions app/src/style/Guide.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
.guide-container {
max-width: 800px;
margin: 2rem auto;
padding: 2rem;
background: rgba(255, 255, 255, 0.05);
border-radius: 16px;
backdrop-filter: blur(10px);
}

.guide-content {
color: #ffffff;
}

.guide-title {
font-size: 2.5rem;
margin-bottom: 2rem;
text-align: center;
background: linear-gradient(45deg, #9945FF, #14F195);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.guide-section {
margin-bottom: 2.5rem;
}

.guide-section h2 {
font-size: 1.8rem;
margin-bottom: 1.5rem;
color: #14F195;
}

.guide-step {
margin-bottom: 1.5rem;
padding: 1.5rem;
background: rgba(255, 255, 255, 0.05);
border-radius: 12px;
}

.guide-step h3 {
font-size: 1.3rem;
margin-bottom: 1rem;
color: #9945FF;
}

.guide-step p {
line-height: 1.6;
margin-bottom: 1rem;
}

.code-block {
background: rgba(0, 0, 0, 0.3);
padding: 1rem;
border-radius: 8px;
margin: 1rem 0;
display: flex;
justify-content: space-between;
align-items: center;
}

.code-block code {
font-family: 'Courier New', Courier, monospace;
color: #14F195;
}

.copy-button {
background: #9945FF;
color: white;
border: none;
padding: 0.5rem 1rem;
border-radius: 4px;
cursor: pointer;
transition: background 0.2s ease;
}

.copy-button:hover {
background: #7B35CC;
}

.note {
font-size: 0.9rem;
color: #888;
font-style: italic;
}

a {
color: #14F195;
text-decoration: none;
transition: color 0.2s ease;
}

a:hover {
color: #9945FF;
}

@media (max-width: 768px) {
.guide-container {
margin: 1rem;
padding: 1rem;
}

.guide-title {
font-size: 2rem;
}

.guide-section h2 {
font-size: 1.5rem;
}

.guide-step h3 {
font-size: 1.2rem;
}
}

.feature-list {
margin-left: 1.5rem;
margin-top: 0.5rem;
}

.feature-list li {
margin-bottom: 0.5rem;
position: relative;
padding-left: 1.2rem;
}

.feature-list li::before {
content: "•";
color: #14F195;
position: absolute;
left: 0;
font-weight: bold;
}

.guide-step ul {
background: rgba(255, 255, 255, 0.03);
padding: 1rem 1rem 1rem 2.5rem;
border-radius: 8px;
margin-top: 0.5rem;
}

0 comments on commit 7487a58

Please sign in to comment.