make scewwnsaver
Browse files- README.md +7 -4
- components/footer.js +72 -0
- components/navbar.js +81 -0
- index.html +109 -19
- script.js +33 -0
- style.css +32 -18
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji: π
|
| 4 |
colorFrom: blue
|
| 5 |
-
colorTo:
|
|
|
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: CrimsonFuchsia NoirScape π¨
|
|
|
|
| 3 |
colorFrom: blue
|
| 4 |
+
colorTo: green
|
| 5 |
+
emoji: π³
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite-v3
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Welcome to your new DeepSite project!
|
| 13 |
+
This project was created with [DeepSite](https://huggingface.co/deepsite).
|
components/footer.js
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomFooter extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
footer {
|
| 7 |
+
background: linear-gradient(to right, #111827, #1f2937);
|
| 8 |
+
}
|
| 9 |
+
.social-icon {
|
| 10 |
+
transition: all 0.3s ease;
|
| 11 |
+
}
|
| 12 |
+
.social-icon:hover {
|
| 13 |
+
transform: translateY(-3px);
|
| 14 |
+
}
|
| 15 |
+
.footer-link:hover {
|
| 16 |
+
color: white;
|
| 17 |
+
}
|
| 18 |
+
</style>
|
| 19 |
+
<footer class="border-t border-gray-800">
|
| 20 |
+
<div class="container mx-auto px-4 py-12">
|
| 21 |
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
|
| 22 |
+
<div class="md:col-span-2">
|
| 23 |
+
<h3 class="text-xl font-bold mb-4 bg-clip-text text-transparent bg-gradient-to-r from-primary to-secondary">
|
| 24 |
+
CrimsonFuchsia NoirScape
|
| 25 |
+
</h3>
|
| 26 |
+
<p class="text-gray-400 mb-4">
|
| 27 |
+
A beautiful dark-themed UI with red and fuchsia accents, designed for modern web experiences.
|
| 28 |
+
</p>
|
| 29 |
+
<div class="flex space-x-4">
|
| 30 |
+
<a href="#" class="social-icon w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center text-gray-300 hover:bg-gray-700">
|
| 31 |
+
<i data-feather="twitter"></i>
|
| 32 |
+
</a>
|
| 33 |
+
<a href="#" class="social-icon w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center text-gray-300 hover:bg-gray-700">
|
| 34 |
+
<i data-feather="github"></i>
|
| 35 |
+
</a>
|
| 36 |
+
<a href="#" class="social-icon w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center text-gray-300 hover:bg-gray-700">
|
| 37 |
+
<i data-feather="linkedin"></i>
|
| 38 |
+
</a>
|
| 39 |
+
</div>
|
| 40 |
+
</div>
|
| 41 |
+
|
| 42 |
+
<div>
|
| 43 |
+
<h4 class="text-lg font-semibold mb-4">Resources</h4>
|
| 44 |
+
<ul class="space-y-2">
|
| 45 |
+
<li><a href="#" class="footer-link text-gray-400 hover:text-white transition">Documentation</a></li>
|
| 46 |
+
<li><a href="#" class="footer-link text-gray-400 hover:text-white transition">Tutorials</a></li>
|
| 47 |
+
<li><a href="#" class="footer-link text-gray-400 hover:text-white transition">API Reference</a></li>
|
| 48 |
+
<li><a href="#" class="footer-link text-gray-400 hover:text-white transition">Community</a></li>
|
| 49 |
+
</ul>
|
| 50 |
+
</div>
|
| 51 |
+
|
| 52 |
+
<div>
|
| 53 |
+
<h4 class="text-lg font-semibold mb-4">Company</h4>
|
| 54 |
+
<ul class="space-y-2">
|
| 55 |
+
<li><a href="#" class="footer-link text-gray-400 hover:text-white transition">About Us</a></li>
|
| 56 |
+
<li><a href="#" class="footer-link text-gray-400 hover:text-white transition">Careers</a></li>
|
| 57 |
+
<li><a href="#" class="footer-link text-gray-400 hover:text-white transition">Privacy Policy</a></li>
|
| 58 |
+
<li><a href="#" class="footer-link text-gray-400 hover:text-white transition">Contact</a></li>
|
| 59 |
+
</ul>
|
| 60 |
+
</div>
|
| 61 |
+
</div>
|
| 62 |
+
|
| 63 |
+
<div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400">
|
| 64 |
+
<p>Β© ${new Date().getFullYear()} CrimsonFuchsia NoirScape. All rights reserved.</p>
|
| 65 |
+
</div>
|
| 66 |
+
</div>
|
| 67 |
+
</footer>
|
| 68 |
+
`;
|
| 69 |
+
}
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
customElements.define('custom-footer', CustomFooter);
|
components/navbar.js
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomNavbar extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
nav {
|
| 7 |
+
background-color: rgba(17, 24, 39, 0.8);
|
| 8 |
+
backdrop-filter: blur(8px);
|
| 9 |
+
-webkit-backdrop-filter: blur(8px);
|
| 10 |
+
}
|
| 11 |
+
.nav-link {
|
| 12 |
+
position: relative;
|
| 13 |
+
}
|
| 14 |
+
.nav-link::after {
|
| 15 |
+
content: '';
|
| 16 |
+
position: absolute;
|
| 17 |
+
bottom: -2px;
|
| 18 |
+
left: 0;
|
| 19 |
+
width: 0;
|
| 20 |
+
height: 2px;
|
| 21 |
+
background: linear-gradient(to right, #ef4444, #d946ef);
|
| 22 |
+
transition: width 0.3s ease;
|
| 23 |
+
}
|
| 24 |
+
.nav-link:hover::after {
|
| 25 |
+
width: 100%;
|
| 26 |
+
}
|
| 27 |
+
.theme-toggle {
|
| 28 |
+
transition: all 0.3s ease;
|
| 29 |
+
}
|
| 30 |
+
.theme-toggle:hover {
|
| 31 |
+
transform: rotate(30deg);
|
| 32 |
+
}
|
| 33 |
+
</style>
|
| 34 |
+
<nav class="fixed w-full z-50 border-b border-gray-800">
|
| 35 |
+
<div class="container mx-auto px-4">
|
| 36 |
+
<div class="flex items-center justify-between h-16">
|
| 37 |
+
<a href="#" class="flex items-center">
|
| 38 |
+
<span class="text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-primary to-secondary">
|
| 39 |
+
NoirScape
|
| 40 |
+
</span>
|
| 41 |
+
</a>
|
| 42 |
+
|
| 43 |
+
<div class="hidden md:flex items-center space-x-8">
|
| 44 |
+
<a href="#" class="nav-link text-gray-300 hover:text-white">Home</a>
|
| 45 |
+
<a href="#" class="nav-link text-gray-300 hover:text-white">Features</a>
|
| 46 |
+
<a href="#" class="nav-link text-gray-300 hover:text-white">Pricing</a>
|
| 47 |
+
<a href="#" class="nav-link text-gray-300 hover:text-white">About</a>
|
| 48 |
+
</div>
|
| 49 |
+
|
| 50 |
+
<div class="flex items-center space-x-4">
|
| 51 |
+
<button class="theme-toggle p-2 rounded-full bg-gray-800 text-gray-300 hover:bg-gray-700">
|
| 52 |
+
<i data-feather="moon"></i>
|
| 53 |
+
</button>
|
| 54 |
+
<a href="#" class="px-4 py-2 rounded-full bg-gradient-to-r from-primary to-secondary text-white font-medium hover:opacity-90 transition">
|
| 55 |
+
Get Started
|
| 56 |
+
</a>
|
| 57 |
+
</div>
|
| 58 |
+
</div>
|
| 59 |
+
</div>
|
| 60 |
+
</nav>
|
| 61 |
+
`;
|
| 62 |
+
|
| 63 |
+
// Add theme toggle functionality
|
| 64 |
+
const themeToggle = this.shadowRoot.querySelector('.theme-toggle');
|
| 65 |
+
themeToggle.addEventListener('click', () => {
|
| 66 |
+
const isDark = document.documentElement.classList.contains('dark');
|
| 67 |
+
if (isDark) {
|
| 68 |
+
document.documentElement.classList.remove('dark');
|
| 69 |
+
localStorage.setItem('theme', 'light');
|
| 70 |
+
this.shadowRoot.querySelector('i[data-feather="moon"]').setAttribute('data-feather', 'sun');
|
| 71 |
+
} else {
|
| 72 |
+
document.documentElement.classList.add('dark');
|
| 73 |
+
localStorage.setItem('theme', 'dark');
|
| 74 |
+
this.shadowRoot.querySelector('i[data-feather="sun"]').setAttribute('data-feather', 'moon');
|
| 75 |
+
}
|
| 76 |
+
feather.replace();
|
| 77 |
+
});
|
| 78 |
+
}
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
customElements.define('custom-navbar', CustomNavbar);
|
index.html
CHANGED
|
@@ -1,19 +1,109 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en" class="dark">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>CrimsonFuchsia NoirScape</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script>
|
| 10 |
+
tailwind.config = {
|
| 11 |
+
darkMode: 'class',
|
| 12 |
+
theme: {
|
| 13 |
+
extend: {
|
| 14 |
+
colors: {
|
| 15 |
+
primary: '#ef4444', // red-500
|
| 16 |
+
secondary: '#d946ef' // fuchsia-500
|
| 17 |
+
}
|
| 18 |
+
}
|
| 19 |
+
}
|
| 20 |
+
}
|
| 21 |
+
</script>
|
| 22 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 23 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 24 |
+
</head>
|
| 25 |
+
<body class="bg-gray-900 text-gray-100 min-h-screen">
|
| 26 |
+
<custom-navbar></custom-navbar>
|
| 27 |
+
|
| 28 |
+
<main class="container mx-auto px-4 py-8">
|
| 29 |
+
<section class="hero bg-gradient-to-br from-gray-800 to-gray-900 rounded-2xl p-8 mb-12">
|
| 30 |
+
<div class="max-w-3xl mx-auto text-center">
|
| 31 |
+
<h1 class="text-4xl md:text-5xl font-bold mb-4 bg-clip-text text-transparent bg-gradient-to-r from-primary to-secondary">
|
| 32 |
+
Welcome to NoirScape
|
| 33 |
+
</h1>
|
| 34 |
+
<p class="text-xl text-gray-300 mb-8">
|
| 35 |
+
A dark-themed UI experience with crimson and fuchsia accents
|
| 36 |
+
</p>
|
| 37 |
+
<a href="#" class="inline-flex items-center px-6 py-3 rounded-full bg-gradient-to-r from-primary to-secondary text-white font-medium hover:opacity-90 transition">
|
| 38 |
+
Explore Now
|
| 39 |
+
<i data-feather="arrow-right" class="ml-2"></i>
|
| 40 |
+
</a>
|
| 41 |
+
</div>
|
| 42 |
+
</section>
|
| 43 |
+
|
| 44 |
+
<section class="features grid grid-cols-1 md:grid-cols-3 gap-6 mb-12">
|
| 45 |
+
<div class="feature-card bg-gray-800 rounded-xl p-6 hover:bg-gray-700 transition">
|
| 46 |
+
<div class="icon-box w-12 h-12 rounded-lg bg-red-500/20 flex items-center justify-center mb-4">
|
| 47 |
+
<i data-feather="zap" class="text-primary"></i>
|
| 48 |
+
</div>
|
| 49 |
+
<h3 class="text-xl font-bold mb-2">Fast Performance</h3>
|
| 50 |
+
<p class="text-gray-400">Optimized for speed with modern technologies</p>
|
| 51 |
+
</div>
|
| 52 |
+
<div class="feature-card bg-gray-800 rounded-xl p-6 hover:bg-gray-700 transition">
|
| 53 |
+
<div class="icon-box w-12 h-12 rounded-lg bg-fuchsia-500/20 flex items-center justify-center mb-4">
|
| 54 |
+
<i data-feather="eye" class="text-secondary"></i>
|
| 55 |
+
</div>
|
| 56 |
+
<h3 class="text-xl font-bold mb-2">Dark UI</h3>
|
| 57 |
+
<p class="text-gray-400">Easy on the eyes with beautiful dark mode</p>
|
| 58 |
+
</div>
|
| 59 |
+
<div class="feature-card bg-gray-800 rounded-xl p-6 hover:bg-gray-700 transition">
|
| 60 |
+
<div class="icon-box w-12 h-12 rounded-lg bg-gradient-to-r from-red-500/20 to-fuchsia-500/20 flex items-center justify-center mb-4">
|
| 61 |
+
<i data-feather="settings" class="text-primary"></i>
|
| 62 |
+
</div>
|
| 63 |
+
<h3 class="text-xl font-bold mb-2">Customizable</h3>
|
| 64 |
+
<p class="text-gray-400">Tailor the experience to your needs</p>
|
| 65 |
+
</div>
|
| 66 |
+
</section>
|
| 67 |
+
|
| 68 |
+
<section class="showcase bg-gray-800 rounded-2xl p-8 mb-12">
|
| 69 |
+
<div class="flex flex-col md:flex-row items-center gap-8">
|
| 70 |
+
<div class="md:w-1/2">
|
| 71 |
+
<h2 class="text-3xl font-bold mb-4">Stunning Visuals</h2>
|
| 72 |
+
<p class="text-gray-300 mb-6">Our dark theme with red and fuchsia accents creates a visually striking experience that's easy on the eyes.</p>
|
| 73 |
+
<ul class="space-y-2">
|
| 74 |
+
<li class="flex items-center">
|
| 75 |
+
<i data-feather="check" class="text-primary mr-2"></i>
|
| 76 |
+
<span>Dark mode by default</span>
|
| 77 |
+
</li>
|
| 78 |
+
<li class="flex items-center">
|
| 79 |
+
<i data-feather="check" class="text-primary mr-2"></i>
|
| 80 |
+
<span>Responsive design</span>
|
| 81 |
+
</li>
|
| 82 |
+
<li class="flex items-center">
|
| 83 |
+
<i data-feather="check" class="text-primary mr-2"></i>
|
| 84 |
+
<span>Beautiful color palette</span>
|
| 85 |
+
</li>
|
| 86 |
+
</ul>
|
| 87 |
+
</div>
|
| 88 |
+
<div class="md:w-1/2">
|
| 89 |
+
<div class="relative rounded-xl overflow-hidden aspect-video bg-gradient-to-br from-gray-700 to-gray-900">
|
| 90 |
+
<div class="absolute inset-0 flex items-center justify-center">
|
| 91 |
+
<i data-feather="image" class="w-16 h-16 text-gray-600"></i>
|
| 92 |
+
</div>
|
| 93 |
+
</div>
|
| 94 |
+
</div>
|
| 95 |
+
</div>
|
| 96 |
+
</section>
|
| 97 |
+
</main>
|
| 98 |
+
|
| 99 |
+
<custom-footer></custom-footer>
|
| 100 |
+
|
| 101 |
+
<script src="components/navbar.js"></script>
|
| 102 |
+
<script src="components/footer.js"></script>
|
| 103 |
+
<script src="script.js"></script>
|
| 104 |
+
<script>
|
| 105 |
+
feather.replace();
|
| 106 |
+
</script>
|
| 107 |
+
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
| 108 |
+
</body>
|
| 109 |
+
</html>
|
script.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Theme toggle functionality
|
| 2 |
+
document.addEventListener('DOMContentLoaded', () => {
|
| 3 |
+
// Check for saved theme preference or use dark as default
|
| 4 |
+
if (localStorage.getItem('theme') === 'light' || (!localStorage.getItem('theme') && window.matchMedia('(prefers-color-scheme: light)').matches)) {
|
| 5 |
+
document.documentElement.classList.remove('dark');
|
| 6 |
+
} else {
|
| 7 |
+
document.documentElement.classList.add('dark');
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
// Animation triggers
|
| 11 |
+
const animateOnScroll = () => {
|
| 12 |
+
const elements = document.querySelectorAll('.fade-in');
|
| 13 |
+
elements.forEach(el => {
|
| 14 |
+
const elementPosition = el.getBoundingClientRect().top;
|
| 15 |
+
const screenPosition = window.innerHeight / 1.2;
|
| 16 |
+
|
| 17 |
+
if (elementPosition < screenPosition) {
|
| 18 |
+
el.style.opacity = '1';
|
| 19 |
+
el.style.transform = 'translateY(0)';
|
| 20 |
+
}
|
| 21 |
+
});
|
| 22 |
+
};
|
| 23 |
+
|
| 24 |
+
window.addEventListener('scroll', animateOnScroll);
|
| 25 |
+
animateOnScroll(); // Run once on load
|
| 26 |
+
});
|
| 27 |
+
|
| 28 |
+
// Utility function for smooth scrolling
|
| 29 |
+
function smoothScrollTo(target) {
|
| 30 |
+
document.querySelector(target).scrollIntoView({
|
| 31 |
+
behavior: 'smooth'
|
| 32 |
+
});
|
| 33 |
+
}
|
style.css
CHANGED
|
@@ -1,28 +1,42 @@
|
|
|
|
|
|
|
|
| 1 |
body {
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
margin-top: 0;
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
}
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
}
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
|
|
|
| 28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
| 2 |
+
|
| 3 |
body {
|
| 4 |
+
font-family: 'Inter', sans-serif;
|
| 5 |
+
}
|
| 6 |
+
|
| 7 |
+
/* Custom scrollbar */
|
| 8 |
+
::-webkit-scrollbar {
|
| 9 |
+
width: 8px;
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
::-webkit-scrollbar-track {
|
| 13 |
+
background: #1f2937;
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
::-webkit-scrollbar-thumb {
|
| 17 |
+
background: #4b5563;
|
| 18 |
+
border-radius: 4px;
|
| 19 |
}
|
| 20 |
|
| 21 |
+
::-webkit-scrollbar-thumb:hover {
|
| 22 |
+
background: #6b7280;
|
|
|
|
| 23 |
}
|
| 24 |
|
| 25 |
+
/* Animation classes */
|
| 26 |
+
.fade-in {
|
| 27 |
+
animation: fadeIn 0.5s ease-in-out;
|
|
|
|
|
|
|
| 28 |
}
|
| 29 |
|
| 30 |
+
@keyframes fadeIn {
|
| 31 |
+
from { opacity: 0; transform: translateY(10px); }
|
| 32 |
+
to { opacity: 1; transform: translateY(0); }
|
|
|
|
|
|
|
|
|
|
| 33 |
}
|
| 34 |
|
| 35 |
+
/* Custom glow effect */
|
| 36 |
+
.glow-primary {
|
| 37 |
+
box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
|
| 38 |
}
|
| 39 |
+
|
| 40 |
+
.glow-secondary {
|
| 41 |
+
box-shadow: 0 0 15px rgba(217, 70, 239, 0.3);
|
| 42 |
+
}
|