/* Global Styles */
:root {
--primary-color: #2563eb;
--secondary-color: #1e40af;
--accent-color: #3b82f6;
--text-color: #1f2937;
--text-light: #6b7280;
--bg-color: #ffffff;
--bg-alt: #f9fafb;
--border-color: #e5e7eb;
--code-bg: #f3f4f6;
--success-color: #10b981;
--warning-color: #f59e0b;
--error-color: #ef4444;
--shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
line-height: 1.6;
color: var(--text-color);
background-color: var(--bg-color);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Header and Navigation */
header {
background-color: var(--bg-color);
border-bottom: 1px solid var(--border-color);
position: sticky;
top: 0;
z-index: 100;
box-shadow: var(--shadow);
}
.navbar {
padding: 1rem 0;
}
.navbar .container {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
}
.nav-brand h1 {
font-size: 1.5rem;
color: var(--primary-color);
font-weight: 700;
}
.nav-menu {
list-style: none;
display: flex;
gap: 1.5rem;
flex-wrap: wrap;
}
.nav-menu a {
color: var(--text-color);
text-decoration: none;
font-weight: 500;
transition: color 0.2s;
}
.nav-menu a:hover {
color: var(--primary-color);
}
/* Hero Section */
.hero {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 4rem 0;
text-align: center;
}
.hero-title {
font-size: 3rem;
font-weight: 800;
margin-bottom: 1rem;
}
.hero-subtitle {
font-size: 1.25rem;
margin-bottom: 2rem;
opacity: 0.95;
max-width: 800px;
margin-left: auto;
margin-right: auto;
}
.hero-badges {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
margin-bottom: 2rem;
}
.hero-badges img {
height: 20px;
}
.hero-actions {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
}
/* Buttons */
.btn {
display: inline-block;
padding: 0.75rem 1.5rem;
border-radius: 0.5rem;
font-weight: 600;
text-decoration: none;
transition: all 0.2s;
cursor: pointer;
}
.btn-primary {
background-color: white;
color: var(--primary-color);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-lg);
}
.btn-secondary {
background-color: transparent;
color: white;
border: 2px solid white;
}
.btn-secondary:hover {
background-color: rgba(255, 255, 255, 0.1);
}
/* Sections */
.section {
padding: 4rem 0;
}
.section-alt {
background-color: var(--bg-alt);
}
.section-title {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 3rem;
text-align: center;
color: var(--text-color);
}
.section-description {
text-align: center;
font-size: 1.125rem;
color: var(--text-light);
margin-bottom: 2rem;
max-width: 800px;
margin-left: auto;
margin-right: auto;
}
/* Features Grid */
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.feature-card {
background: var(--bg-color);
padding: 2rem;
border-radius: 0.5rem;
box-shadow: var(--shadow);
transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-lg);
}
.feature-icon {
font-size: 3rem;
margin-bottom: 1rem;
}
.feature-card h3 {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 0.5rem;
color: var(--text-color);
}
.feature-card p {
color: var(--text-light);
}
/* Installation Grid */
.installation-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 2rem;
margin-bottom: 3rem;
}
.installation-method {
background: var(--bg-color);
padding: 2rem;
border-radius: 0.5rem;
box-shadow: var(--shadow);
}
.installation-method h3 {
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 1rem;
color: var(--primary-color);
}
.installation-method p {
margin-bottom: 1rem;
color: var(--text-light);
}
.method-note {
margin-top: 1.5rem;
font-size: 0.875rem;
color: var(--text-light);
}
/* Code Blocks */
.code-block {
background-color: var(--code-bg);
border: 1px solid var(--border-color);
border-radius: 0.5rem;
padding: 1rem;
margin: 1rem 0;
overflow-x: auto;
}
.code-block pre {
margin: 0;
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
font-size: 0.875rem;
line-height: 1.5;
}
.code-block code {
color: var(--text-color);
}
code {
background-color: var(--code-bg);
padding: 0.125rem 0.375rem;
border-radius: 0.25rem;
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
font-size: 0.875em;
}
/* Requirements */
.requirements {
background: var(--bg-color);
padding: 2rem;
border-radius: 0.5rem;
box-shadow: var(--shadow);
}
.requirements h3 {
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 1rem;
color: var(--text-color);
}
.requirements ul {
list-style: none;
}
.requirements li {
padding: 0.5rem 0;
color: var(--text-light);
}
.requirements strong {
color: var(--text-color);
}
/* Usage Examples */
.usage-example {
margin-bottom: 2rem;
}
.usage-example h3 {
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 1rem;
color: var(--text-color);
}
/* Use Cases Grid */
.use-cases-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.use-case {
background: var(--bg-color);
padding: 2rem;
border-radius: 0.5rem;
box-shadow: var(--shadow);
}
.use-case h3 {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 0.5rem;
color: var(--text-color);
}
.use-case p {
color: var(--text-light);
}
/* Documentation Grid */
.docs-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}
.doc-card {
background: var(--bg-color);
padding: 2rem;
border-radius: 0.5rem;
box-shadow: var(--shadow);
text-decoration: none;
color: inherit;
transition: transform 0.2s, box-shadow 0.2s;
display: block;
}
.doc-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-lg);
}
.doc-card h3 {
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 0.5rem;
color: var(--primary-color);
}
.doc-card p {
color: var(--text-light);
}
/* Contributing */
.contributing-actions {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
margin-top: 2rem;
}
/* Footer */
footer {
background-color: var(--text-color);
color: white;
padding: 3rem 0 1rem;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
}
.footer-section h3 {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 1rem;
}
.footer-section p {
margin-bottom: 0.5rem;
opacity: 0.9;
}
.footer-section ul {
list-style: none;
}
.footer-section li {
margin-bottom: 0.5rem;
}
.footer-section a {
color: white;
text-decoration: none;
opacity: 0.8;
transition: opacity 0.2s;
}
.footer-section a:hover {
opacity: 1;
}
.footer-bottom {
border-top: 1px solid rgba(255, 255, 255, 0.1);
padding-top: 1rem;
text-align: center;
opacity: 0.8;
}
/* Responsive Design */
@media (max-width: 768px) {
.hero-title {
font-size: 2rem;
}
.hero-subtitle {
font-size: 1rem;
}
.section-title {
font-size: 2rem;
}
.nav-menu {
flex-direction: column;
gap: 0.5rem;
}
.navbar .container {
flex-direction: column;
gap: 1rem;
}
.features-grid,
.installation-grid,
.use-cases-grid,
.docs-grid {
grid-template-columns: 1fr;
}
}
/* Table Styles */
table {
width: 100%;
border-collapse: collapse;
margin: 2rem 0;
background-color: var(--bg-color);
box-shadow: var(--shadow);
}
thead {
background-color: var(--primary-color);
color: white;
}
th, td {
padding: 1rem;
text-align: left;
border-bottom: 1px solid var(--border-color);
}
th {
font-weight: 600;
}
tbody tr:hover {
background-color: var(--bg-alt);
}
/* Alert Boxes */
.alert {
padding: 1rem;
border-radius: 0.5rem;
margin: 1rem 0;
border-left: 4px solid;
}
.alert-info {
background-color: #dbeafe;
border-color: var(--primary-color);
color: var(--secondary-color);
}
.alert-warning {
background-color: #fef3c7;
border-color: var(--warning-color);
color: #92400e;
}
.alert-error {
background-color: #fee2e2;
border-color: var(--error-color);
color: #991b1b;
}
.alert-success {
background-color: #d1fae5;
border-color: var(--success-color);
color: #065f46;
}
/* Content Styles */
.content h1, .content h2, .content h3, .content h4 {
margin-top: 2rem;
margin-bottom: 1rem;
color: var(--text-color);
}
.content h1 {
font-size: 2.5rem;
font-weight: 700;
}
.content h2 {
font-size: 2rem;
font-weight: 600;
}
.content h3 {
font-size: 1.5rem;
font-weight: 600;
}
.content h4 {
font-size: 1.25rem;
font-weight: 600;
}
.content p {
margin-bottom: 1rem;
line-height: 1.8;
}
.content ul, .content ol {
margin-bottom: 1rem;
padding-left: 2rem;
}
.content li {
margin-bottom: 0.5rem;
}
.content a {
color: var(--primary-color);
text-decoration: none;
}
.content a:hover {
text-decoration: underline;
}
/* Breadcrumbs */
.breadcrumbs {
padding: 1rem 0;
font-size: 0.875rem;
}
.breadcrumbs a {
color: var(--text-light);
text-decoration: none;
}
.breadcrumbs a:hover {
color: var(--primary-color);
}
.breadcrumbs span {
margin: 0 0.5rem;
color: var(--text-light);
}