Files
xamarin-neo4j/docs/css/style.css
Trevi Awater 984bfce33a site
2025-10-29 08:09:01 +01:00

864 lines
14 KiB
CSS

/* Reset and Base Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary: #667eea;
--primary-dark: #5568d3;
--secondary: #764ba2;
--accent: #f093fb;
--text-primary: #1a202c;
--text-secondary: #4a5568;
--text-light: #718096;
--bg-white: #ffffff;
--bg-gray: #f7fafc;
--bg-dark: #1a202c;
--border: #e2e8f0;
--success: #48bb78;
--pink: #e53e8b;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
color: var(--text-primary);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Navigation */
.navbar {
position: fixed;
top: 0;
left: 0;
right: 0;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border);
z-index: 1000;
padding: 1rem 0;
}
.nav-content {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
display: flex;
align-items: center;
gap: 12px;
font-size: 1.5rem;
font-weight: 700;
color: var(--text-primary);
}
.logo-img {
width: 40px;
height: 40px;
object-fit: contain;
}
.nav-links {
display: flex;
align-items: center;
gap: 2rem;
}
.nav-link {
color: var(--text-secondary);
text-decoration: none;
font-weight: 500;
transition: color 0.3s ease;
}
.nav-link:hover {
color: var(--primary);
}
.btn-download-small {
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: white;
padding: 0.5rem 1.5rem;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-download-small:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}
/* Hero Section */
.hero {
padding: 120px 0 80px;
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
overflow: hidden;
}
.hero-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
align-items: center;
}
.hero-title {
font-size: 3.5rem;
font-weight: 800;
line-height: 1.2;
margin-bottom: 1.5rem;
color: var(--text-primary);
}
.gradient-text {
background: linear-gradient(135deg, var(--primary), var(--secondary));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-description {
font-size: 1.25rem;
color: var(--text-secondary);
margin-bottom: 2rem;
line-height: 1.7;
}
.hero-buttons {
display: flex;
gap: 1rem;
margin-bottom: 3rem;
flex-wrap: wrap;
}
.btn-primary {
display: inline-flex;
align-items: center;
gap: 10px;
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: white;
padding: 1rem 2rem;
border-radius: 12px;
text-decoration: none;
font-weight: 600;
font-size: 1rem;
transition: transform 0.3s ease, box-shadow 0.3s ease;
box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}
.btn-primary:hover {
transform: translateY(-3px);
box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}
.btn-primary.btn-large {
padding: 1.25rem 2.5rem;
font-size: 1.1rem;
}
.btn-secondary {
display: inline-flex;
align-items: center;
gap: 10px;
background: white;
color: var(--text-primary);
padding: 1rem 2rem;
border-radius: 12px;
text-decoration: none;
font-weight: 600;
border: 2px solid var(--border);
transition: all 0.3s ease;
}
.btn-secondary:hover {
border-color: var(--primary);
color: var(--primary);
transform: translateY(-3px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.apple-icon,
.github-icon {
width: 20px;
height: 20px;
}
.stats {
display: flex;
gap: 3rem;
}
.stat-item {
text-align: left;
}
.stat-number {
font-size: 1.75rem;
font-weight: 700;
color: var(--primary);
}
.stat-label {
font-size: 0.875rem;
color: var(--text-light);
text-transform: uppercase;
letter-spacing: 0.5px;
}
/* iPhone Mockup */
.hero-mockup {
position: relative;
display: flex;
justify-content: center;
align-items: center;
height: 600px;
}
.iphone-mockup {
position: relative;
z-index: 2;
}
.iphone-mockup.iphone-offset {
position: absolute;
right: -50px;
top: 80px;
z-index: 1;
opacity: 0.7;
}
.iphone-frame {
width: 280px;
height: 570px;
background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
border-radius: 40px;
padding: 12px;
box-shadow:
0 30px 60px rgba(0, 0, 0, 0.3),
inset 0 0 0 1px rgba(255, 255, 255, 0.1);
position: relative;
}
.iphone-notch {
position: absolute;
top: 12px;
left: 50%;
transform: translateX(-50%);
width: 120px;
height: 25px;
background: #1a1a1a;
border-radius: 0 0 15px 15px;
z-index: 10;
}
.iphone-screen {
width: 100%;
height: 100%;
background: white;
border-radius: 32px;
overflow: hidden;
position: relative;
}
.mockup-content {
padding: 20px 15px;
height: 100%;
display: flex;
flex-direction: column;
}
.status-bar {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 11px;
font-weight: 600;
margin-bottom: 15px;
padding: 0 10px;
}
.screen-header {
margin-bottom: 20px;
}
.screen-header h2 {
font-size: 28px;
font-weight: 700;
}
/* Connection List Mockup */
.connection-list {
display: flex;
flex-direction: column;
gap: 12px;
}
.connection-item {
background: #f7fafc;
padding: 12px;
border-radius: 12px;
display: flex;
align-items: center;
gap: 12px;
border: 2px solid transparent;
transition: all 0.3s ease;
}
.connection-item.active {
background: #edf2f7;
border-color: var(--primary);
}
.connection-icon {
font-size: 24px;
}
.connection-info {
flex: 1;
}
.connection-name {
font-weight: 600;
font-size: 14px;
margin-bottom: 2px;
}
.connection-url {
font-size: 11px;
color: var(--text-light);
font-family: 'Monaco', monospace;
}
.connection-status {
width: 10px;
height: 10px;
border-radius: 50%;
background: #cbd5e0;
}
.connection-status.connected {
background: var(--success);
box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.2);
}
/* Query Editor Mockup */
.query-editor {
background: #1a202c;
padding: 15px;
border-radius: 8px;
font-family: 'Monaco', 'Courier New', monospace;
font-size: 12px;
margin-bottom: 15px;
}
.code-line {
color: #e2e8f0;
line-height: 1.8;
}
.keyword {
color: #667eea;
font-weight: 600;
}
.number {
color: #48bb78;
}
.query-results {
flex: 1;
display: flex;
flex-direction: column;
gap: 8px;
}
.result-row {
background: #f7fafc;
padding: 10px;
border-radius: 8px;
display: flex;
align-items: center;
gap: 10px;
font-size: 12px;
}
.node {
background: var(--primary);
color: white;
padding: 4px 10px;
border-radius: 12px;
font-size: 10px;
font-weight: 600;
}
/* Features Section */
.features {
padding: 100px 0;
background: white;
}
.section-header {
text-align: center;
margin-bottom: 60px;
}
.section-title {
font-size: 2.5rem;
font-weight: 800;
margin-bottom: 1rem;
}
.section-subtitle {
font-size: 1.25rem;
color: var(--text-secondary);
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}
.feature-card {
background: var(--bg-gray);
padding: 40px 30px;
border-radius: 20px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
border: 1px solid var(--border);
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.feature-icon {
font-size: 3rem;
margin-bottom: 20px;
}
.feature-title {
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 15px;
}
.feature-description {
color: var(--text-secondary);
line-height: 1.7;
}
/* Screenshots Section */
.screenshots {
padding: 100px 0;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}
.screenshots .section-title,
.screenshots .section-subtitle {
color: white;
}
.screenshot-showcase {
display: flex;
justify-content: center;
gap: 40px;
flex-wrap: wrap;
}
.showcase-item {
text-align: center;
}
.showcase-item h4 {
margin-top: 20px;
font-size: 1.1rem;
font-weight: 600;
}
.iphone-mini {
width: 200px;
}
.iphone-frame-mini {
background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
border-radius: 30px;
padding: 10px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.iphone-screen-mini {
width: 100%;
height: 380px;
background: white;
border-radius: 24px;
overflow: hidden;
position: relative;
padding: 15px;
}
/* Graph View */
.graph-view {
background: #1a202c;
}
.graph-nodes {
position: relative;
width: 100%;
height: 100%;
}
.graph-node {
position: absolute;
width: 40px;
height: 40px;
background: linear-gradient(135deg, var(--primary), var(--secondary));
border-radius: 50%;
box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}
.graph-edges {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
/* Table View */
.table-view {
padding: 10px;
}
.table-header {
display: grid;
grid-template-columns: 1fr 1fr;
background: var(--primary);
color: white;
padding: 10px;
border-radius: 8px 8px 0 0;
font-weight: 600;
font-size: 12px;
}
.table-row {
display: grid;
grid-template-columns: 1fr 1fr;
padding: 10px;
border-bottom: 1px solid var(--border);
font-size: 12px;
}
.table-cell {
padding: 5px;
}
/* Settings View */
.settings-view {
padding: 10px;
}
.settings-group {
background: white;
border-radius: 12px;
overflow: hidden;
}
.settings-item {
display: flex;
align-items: center;
gap: 12px;
padding: 15px;
border-bottom: 1px solid var(--border);
font-size: 14px;
}
.settings-item:last-child {
border-bottom: none;
}
.settings-item span:first-child {
font-size: 20px;
}
.settings-item span:nth-child(2) {
flex: 1;
}
.toggle {
width: 40px;
height: 24px;
background: #cbd5e0;
border-radius: 12px;
position: relative;
transition: background 0.3s ease;
}
.toggle::after {
content: '';
position: absolute;
width: 20px;
height: 20px;
background: white;
border-radius: 50%;
top: 2px;
left: 2px;
transition: transform 0.3s ease;
}
.toggle.on {
background: var(--primary);
}
.toggle.on::after {
transform: translateX(16px);
}
.arrow {
color: var(--text-light);
font-size: 20px;
}
/* CTA Section */
.cta {
padding: 100px 0;
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
text-align: center;
}
.cta-content {
max-width: 700px;
margin: 0 auto;
}
.cta-title {
font-size: 3rem;
font-weight: 800;
margin-bottom: 1.5rem;
}
.cta-description {
font-size: 1.25rem;
color: var(--text-secondary);
margin-bottom: 2.5rem;
}
.cta-note {
margin-top: 1.5rem;
color: var(--text-light);
font-size: 0.875rem;
}
/* About Section */
.about {
padding: 100px 0;
background: white;
}
.about-content {
display: grid;
grid-template-columns: 1.5fr 1fr;
gap: 60px;
align-items: start;
}
.about-text p {
font-size: 1.125rem;
color: var(--text-secondary);
line-height: 1.8;
margin-bottom: 1.5rem;
}
.about-logo {
margin-top: 2rem;
}
.resoftware-logo {
max-width: 250px;
height: auto;
}
.tech-stack h3 {
font-size: 1.5rem;
margin-bottom: 1.5rem;
}
.tech-tags {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.tech-tag {
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: white;
padding: 8px 16px;
border-radius: 20px;
font-size: 0.875rem;
font-weight: 600;
}
/* Footer */
.footer {
background: var(--bg-dark);
color: white;
padding: 60px 0 30px;
}
.footer-content {
display: flex;
flex-direction: column;
align-items: center;
gap: 30px;
text-align: center;
}
.footer-logo {
display: flex;
align-items: center;
gap: 12px;
font-size: 1.5rem;
font-weight: 700;
}
.footer-logo-img {
width: 40px;
height: 40px;
object-fit: contain;
}
.footer-links {
display: flex;
gap: 30px;
}
.footer-link {
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
transition: color 0.3s ease;
}
.footer-link:hover {
color: white;
}
.footer-note {
color: rgba(255, 255, 255, 0.6);
font-size: 0.875rem;
}
.footer-note p {
margin: 5px 0;
}
/* Responsive Design */
@media (max-width: 968px) {
.hero-content {
grid-template-columns: 1fr;
text-align: center;
}
.hero-title {
font-size: 2.5rem;
}
.hero-mockup {
justify-content: center;
height: 500px;
}
.iphone-mockup.iphone-offset {
display: none;
}
.hero-buttons {
justify-content: center;
}
.stats {
justify-content: center;
}
.about-content {
grid-template-columns: 1fr;
}
.nav-links {
gap: 1rem;
}
.nav-link {
display: none;
}
}
@media (max-width: 640px) {
.hero-title {
font-size: 2rem;
}
.hero-description {
font-size: 1rem;
}
.section-title {
font-size: 2rem;
}
.cta-title {
font-size: 2rem;
}
.features-grid {
grid-template-columns: 1fr;
}
.screenshot-showcase {
flex-direction: column;
align-items: center;
}
.hero-buttons {
flex-direction: column;
width: 100%;
}
.btn-primary,
.btn-secondary {
width: 100%;
justify-content: center;
}
.stats {
gap: 1.5rem;
}
.iphone-frame {
width: 240px;
height: 490px;
}
.hero-mockup {
height: 450px;
}
}