Spaces:
Running
Running
File size: 1,102 Bytes
c56b9f4 1d2d740 574e27c 1d2d740 979bd80 1d2d740 c56b9f4 979bd80 1d2d740 574e27c 1d2d740 574e27c 1d2d740 574e27c 1d2d740 574e27c 1d2d740 574e27c 1d2d740 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
/* Shared styles across all pages */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
body {
font-family: 'Inter', sans-serif;
scroll-behavior: smooth;
background: #111827;
color: #f9fafb;
}
/* Documentation section styles */
.bg-blue-50 { background-color: #1e3a8a; }
.bg-green-50 { background-color: #064e3b; }
.bg-purple-50 { background-color: #581c87; }
/* Custom scrollbar for code preview */
#code-output::-webkit-scrollbar {
width: 8px;
}
#code-output::-webkit-scrollbar-track {
background: #1f2937;
}
#code-output::-webkit-scrollbar-thumb {
background: #4b5563;
border-radius: 4px;
}
#code-output::-webkit-scrollbar-thumb:hover {
background: #6b7280;
}
/* Animation for generated code */
@keyframes codeHighlight {
0% { background-color: rgba(34, 197, 94, 0.3); }
100% { background-color: transparent; }
}
.code-highlight {
animation: codeHighlight 2s ease-in-out;
}
/* Responsive design enhancements */
@media (max-width: 768px) {
.hero-text {
font-size: 2.5rem;
}
} |