From 7487a581ec1a94aa69bc5e2b0b00cef5f56fb146 Mon Sep 17 00:00:00 2001 From: yiming Date: Thu, 16 Jan 2025 09:42:34 +0800 Subject: [PATCH] add guide page --- app/src/style/Guide.css | 139 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 139 insertions(+) create mode 100644 app/src/style/Guide.css diff --git a/app/src/style/Guide.css b/app/src/style/Guide.css new file mode 100644 index 0000000..802f7a7 --- /dev/null +++ b/app/src/style/Guide.css @@ -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; + } \ No newline at end of file