- Change file mode from 644 to 755 for all project files - Add chain_id parameter to get_balance RPC endpoint with default "ait-devnet" - Rename Miner.extra_meta_data to extra_metadata for consistency
517 lines
13 KiB
CSS
Executable File
517 lines
13 KiB
CSS
Executable File
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
:root {
|
|
--primary-color: #2563eb;
|
|
--secondary-color: #7c3aed;
|
|
--accent-color: #0ea5e9;
|
|
--success-color: #10b981;
|
|
--warning-color: #f59e0b;
|
|
--danger-color: #ef4444;
|
|
--text-dark: #1f2937;
|
|
--text-light: #6b7280;
|
|
--bg-light: #f9fafb;
|
|
--bg-white: #ffffff;
|
|
--gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
|
|
}
|
|
|
|
[data-theme="dark"] {
|
|
--primary-color: #60a5fa;
|
|
--secondary-color: #a855f7;
|
|
--accent-color: #38bdf8;
|
|
--text-dark: #f9fafb;
|
|
--text-light: #d1d5db;
|
|
--bg-light: #111827;
|
|
--bg-white: #1f2937;
|
|
--gradient: linear-gradient(135deg, #1d4ed8 0%, #7c3aed 100%);
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
|
line-height: 1.6;
|
|
color: var(--text-dark);
|
|
background-color: var(--bg-light);
|
|
transition: background-color 0.3s ease, color 0.3s ease;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
/* Header */
|
|
header {
|
|
background: var(--bg-white);
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
|
position: fixed;
|
|
width: 100%;
|
|
top: 0;
|
|
z-index: 1000;
|
|
}
|
|
|
|
nav {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
.logo {
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
color: var(--primary-color);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
gap: 2rem;
|
|
list-style: none;
|
|
}
|
|
|
|
.nav-links a {
|
|
color: var(--text-dark);
|
|
text-decoration: none;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.nav-links a:hover {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.dark-mode-toggle {
|
|
background: none;
|
|
border: 1px solid var(--text-light);
|
|
color: var(--text-dark);
|
|
cursor: pointer;
|
|
font-size: 1.2rem;
|
|
transition: color 0.3s, border-color 0.3s;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 0.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.dark-mode-toggle:hover {
|
|
color: var(--primary-color);
|
|
background: rgba(59, 130, 246, 0.1);
|
|
}
|
|
|
|
/* Hero Section */
|
|
.hero {
|
|
background: var(--gradient);
|
|
color: white;
|
|
padding: 100px 0 80px;
|
|
text-align: center;
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: 3.5rem;
|
|
margin-bottom: 1rem;
|
|
animation: fadeInUp 0.8s ease;
|
|
}
|
|
|
|
.hero p {
|
|
font-size: 1.25rem;
|
|
margin-bottom: 2rem;
|
|
opacity: 0.9;
|
|
animation: fadeInUp 0.8s ease 0.2s both;
|
|
}
|
|
|
|
.cta-button {
|
|
display: inline-block;
|
|
padding: 12px 30px;
|
|
background: var(--bg-white);
|
|
color: var(--primary-color);
|
|
text-decoration: none;
|
|
border-radius: 5px;
|
|
font-weight: 600;
|
|
transition: transform 0.3s, box-shadow 0.3s;
|
|
animation: fadeInUp 0.8s ease 0.4s both;
|
|
}
|
|
|
|
.cta-button:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
/* Features Section */
|
|
.features {
|
|
padding: 80px 0;
|
|
background: var(--bg-light);
|
|
}
|
|
|
|
.section-title {
|
|
text-align: center;
|
|
font-size: 2.5rem;
|
|
margin-bottom: 3rem;
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
.features-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 2rem;
|
|
}
|
|
|
|
.feature-card {
|
|
background: var(--bg-white);
|
|
padding: 2rem;
|
|
border-radius: 10px;
|
|
box-shadow: 0 5px 15px rgba(0,0,0,0.08);
|
|
transition: transform 0.3s;
|
|
}
|
|
|
|
.feature-card:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
.feature-icon {
|
|
font-size: 3rem;
|
|
color: var(--primary-color);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.feature-card h3 {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 1rem;
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
.feature-card p {
|
|
color: var(--text-light);
|
|
line-height: 1.8;
|
|
margin-bottom: 1.5rem;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.feature-link {
|
|
color: var(--primary-color);
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.feature-link:hover {
|
|
color: var(--secondary-color);
|
|
transform: translateX(5px);
|
|
}
|
|
|
|
/* Architecture Section */
|
|
.architecture {
|
|
padding: 80px 0;
|
|
background: var(--bg-white);
|
|
}
|
|
|
|
/* Header styles matching Exchange */
|
|
.gradient-bg {
|
|
background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
|
|
}
|
|
|
|
.nav-button {
|
|
background: transparent !important;
|
|
color: white !important;
|
|
padding: 0.5rem 0.75rem;
|
|
border-radius: 0.5rem;
|
|
font-weight: 500;
|
|
transition: all 0.2s ease;
|
|
text-decoration: none;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.nav-button:hover {
|
|
background: rgba(59, 130, 246, 0.1) !important;
|
|
color: var(--primary-color) !important;
|
|
}
|
|
|
|
.nav-button:focus {
|
|
outline: none;
|
|
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
|
|
}
|
|
|
|
.architecture-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: 2rem;
|
|
margin-top: 3rem;
|
|
}
|
|
|
|
.arch-component {
|
|
text-align: center;
|
|
padding: 1.5rem;
|
|
border: 2px solid var(--text-light);
|
|
border-radius: 10px;
|
|
background: var(--bg-white);
|
|
transition: border-color 0.3s;
|
|
}
|
|
|
|
.arch-component:hover {
|
|
border-color: var(--primary-color);
|
|
}
|
|
|
|
.arch-component i {
|
|
font-size: 2.5rem;
|
|
color: var(--primary-color);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
/* Stats Section */
|
|
.stats {
|
|
padding: 60px 0;
|
|
background: var(--gradient);
|
|
color: white;
|
|
}
|
|
|
|
.stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 2rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.stat-item h3 {
|
|
font-size: 2.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.stat-item p {
|
|
font-size: 1.1rem;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* Documentation Section */
|
|
.documentation {
|
|
padding: 80px 0;
|
|
background: var(--bg-light);
|
|
}
|
|
|
|
.section-subtitle {
|
|
text-align: center;
|
|
font-size: 1.2rem;
|
|
color: var(--text-light);
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.docs-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 2rem;
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.doc-card {
|
|
background: var(--bg-white);
|
|
padding: 2.5rem;
|
|
border-radius: 15px;
|
|
text-align: center;
|
|
box-shadow: 0 4px 20px rgba(0,0,0,0.08);
|
|
transition: all 0.3s;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.doc-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 4px;
|
|
}
|
|
|
|
.doc-card:nth-child(1)::before {
|
|
background: var(--primary-color);
|
|
}
|
|
|
|
.doc-card:nth-child(2)::before {
|
|
background: var(--success-color);
|
|
}
|
|
|
|
.doc-card:nth-child(3)::before {
|
|
background: var(--warning-color);
|
|
}
|
|
|
|
.doc-card:hover {
|
|
transform: translateY(-10px);
|
|
box-shadow: 0 8px 30px rgba(0,0,0,0.12);
|
|
}
|
|
|
|
.doc-icon {
|
|
width: 70px;
|
|
height: 70px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.8rem;
|
|
color: white;
|
|
margin: 0 auto 1.5rem;
|
|
}
|
|
|
|
.doc-card:nth-child(1) .doc-icon {
|
|
background: var(--primary-color);
|
|
}
|
|
|
|
.doc-card:nth-child(2) .doc-icon {
|
|
background: var(--success-color);
|
|
}
|
|
|
|
.doc-card:nth-child(3) .doc-icon {
|
|
background: var(--warning-color);
|
|
}
|
|
|
|
.doc-card h3 {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 1rem;
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
.doc-card p {
|
|
color: var(--text-light);
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.doc-link {
|
|
gap: 0.5rem;
|
|
color: var(--text-dark);
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.doc-card:nth-child(1) .doc-link:hover {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.doc-card:nth-child(2) .doc-link:hover {
|
|
color: var(--success-color);
|
|
}
|
|
|
|
.doc-card:nth-child(3) .doc-link:hover {
|
|
color: var(--warning-color);
|
|
}
|
|
|
|
.docs-cta {
|
|
text-align: center;
|
|
}
|
|
|
|
/* Roadmap Section */
|
|
.roadmap {
|
|
padding: 80px 0;
|
|
background: var(--bg-light);
|
|
}
|
|
|
|
.roadmap-timeline {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
position: relative;
|
|
}
|
|
|
|
.roadmap-item {
|
|
display: flex;
|
|
margin-bottom: 3rem;
|
|
position: relative;
|
|
}
|
|
|
|
.roadmap-item::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 20px;
|
|
top: 30px;
|
|
bottom: -30px;
|
|
width: 2px;
|
|
background: var(--primary-color);
|
|
}
|
|
|
|
.roadmap-item:last-child::before {
|
|
display: none;
|
|
}
|
|
|
|
.roadmap-marker {
|
|
width: 40px;
|
|
height: 40px;
|
|
background: var(--primary-color);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
font-weight: bold;
|
|
margin-right: 2rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.roadmap-content {
|
|
background: var(--bg-white);
|
|
padding: 1.5rem;
|
|
border-radius: 10px;
|
|
box-shadow: 0 3px 10px rgba(0,0,0,0.1);
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.roadmap-content h4 {
|
|
color: var(--primary-color);
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
/* Footer */
|
|
footer {
|
|
background: var(--text-dark);
|
|
color: white;
|
|
padding: 40px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.footer-links {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 2rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.footer-links a {
|
|
color: white;
|
|
text-decoration: none;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.footer-links a:hover {
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
/* Animations */
|
|
@keyframes fadeInUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(30px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.nav-links {
|
|
display: none;
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
.features-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|