2024-10-30 22:35:29 +01:00

355 lines
5.5 KiB
CSS

:root {
--primary: #2563eb;
--primary-light: #3b82f6;
--text: #1f2937;
--background: #ffffff;
--card: #f3f4f6;
--border: #e5e7eb;
--hover: #f9fafb;
--code-bg: #f1f5f9;
}
[data-theme="dark"] {
--primary: #3b82f6;
--primary-light: #60a5fa;
--text: #f3f4f6;
--background: #111827;
--card: #1f2937;
--border: #374151;
--hover: #1f2937;
--code-bg: #1e293b;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
scroll-behavior: smooth;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
background: var(--background);
color: var(--text);
line-height: 1.6;
transition: background-color 0.3s, color 0.3s;
}
/* Header & Navigation */
header {
background: var(--card);
position: sticky;
top: 0;
z-index: 100;
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border);
}
nav {
max-width: 1200px;
margin: 0 auto;
padding: 1rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
}
nav a {
color: var(--text);
text-decoration: none;
padding: 0.5rem 1rem;
border-radius: 6px;
transition: background-color 0.2s;
}
nav a:hover {
background: var(--hover);
}
/* Theme Toggle */
.theme-toggle {
background: none;
border: none;
color: var(--text);
cursor: pointer;
padding: 0.5rem;
border-radius: 50%;
transition: background-color 0.2s;
}
.theme-toggle:hover {
background: var(--hover);
}
/* Main Content */
main {
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
}
/* Sections */
section {
margin: 6rem 0;
scroll-margin-top: 5rem;
}
/* Hero Section */
.hero {
text-align: center;
padding: 4rem 0;
}
.logo {
width: 120px;
height: 120px;
margin-bottom: 1rem;
transition: transform 0.3s;
}
.logo:hover {
transform: scale(1.05);
}
.badges {
display: flex;
gap: 0.5rem;
justify-content: center;
margin-top: 1rem;
}
.badge {
background: var(--primary);
color: white;
padding: 0.25rem 0.75rem;
border-radius: 9999px;
font-size: 0.875rem;
}
/* Features */
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-top: 2rem;
}
.feature {
background: var(--card);
padding: 2rem;
border-radius: 12px;
transition: transform 0.2s;
border: 1px solid var(--border);
}
.feature:hover {
transform: translateY(-4px);
}
/* Download Section */
.download-options {
display: flex;
gap: 1rem;
justify-content: center;
margin: 2rem 0;
flex-wrap: wrap;
}
.download-button {
background: var(--primary);
color: white;
padding: 1rem 2rem;
border-radius: 8px;
text-decoration: none;
display: flex;
align-items: center;
gap: 0.5rem;
transition: all 0.2s;
position: relative;
}
.download-button:hover {
background: var(--primary-light);
transform: translateY(-2px);
}
.size {
font-size: 0.875rem;
opacity: 0.8;
}
/* Installation Steps */
.install-steps {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-top: 2rem;
}
.step {
background: var(--card);
padding: 2rem;
border-radius: 12px;
position: relative;
border: 1px solid var(--border);
}
.step-number {
position: absolute;
top: -1rem;
left: -1rem;
background: var(--primary);
color: white;
width: 2rem;
height: 2rem;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
}
/* Keyboard Shortcuts */
.shortcuts {
background: var(--card);
border-radius: 12px;
padding: 2rem;
margin-top: 2rem;
border: 1px solid var(--border);
}
.shortcut-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1rem;
}
.shortcut {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.5rem;
border-radius: 6px;
}
.shortcut:hover {
background: var(--hover);
}
.key {
background: var(--code-bg);
padding: 0.25rem 0.5rem;
border-radius: 4px;
font-family: monospace;
font-size: 0.875rem;
}
/* FAQ Section */
.faq {
margin-top: 2rem;
}
.faq-item {
border-bottom: 1px solid var(--border);
padding: 1rem 0;
}
.faq-question {
font-weight: 600;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
}
.faq-answer {
margin-top: 1rem;
display: none;
}
.faq-item.active .faq-answer {
display: block;
}
/* Footer */
footer {
border-top: 1px solid var(--border);
margin-top: 6rem;
padding-top: 3rem;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
}
.footer-section {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.footer-section a {
color: var(--text);
text-decoration: none;
opacity: 0.8;
}
.footer-section a:hover {
opacity: 1;
}
/* Responsive Design */
@media (max-width: 768px) {
nav {
flex-wrap: wrap;
gap: 0.5rem;
}
.download-options {
flex-direction: column;
}
.feature-grid {
grid-template-columns: 1fr;
}
.install-steps {
grid-template-columns: 1fr;
}
}
/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.feature,
.step,
.download-button {
animation: fadeIn 0.5s ease-out;
}
.screenshot {
width: 100%;
max-width: 1200px;
margin: 2rem auto;
padding: 0 1rem;
}
.screenshot-img {
width: 100%;
height: auto;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}