bigpappic's picture
I want this to have cursive font I want the font color to be emerald green and I want the background to be dark theme black
67c755a verified
class CustomFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
footer {
background: rgba(0, 0, 0, 0.98);
color: #10b981;
padding: 2rem 1rem;
text-align: center;
border-top: 1px solid #10b981;
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
text-align: left;
}
.footer-section h3 {
font-weight: 600;
margin-bottom: 1rem;
color: #10b981;
}
.footer-section ul {
list-style: none;
padding: 0;
margin: 0;
}
.footer-section li {
margin-bottom: 0.5rem;
}
.footer-section a {
color: #10b981;
text-decoration: none;
transition: color 0.2s;
}
.footer-section a:hover {
color: #34d399;
}
.social-links {
display: flex;
gap: 1rem;
justify-content: center;
margin-top: 2rem;
}
.social-links a {
color: #10b981;
transition: color 0.2s;
}
.social-links a:hover {
color: #34d399;
}
.copyright {
margin-top: 2rem;
padding-top: 1rem;
border-top: 1px solid #10b981;
font-size: 0.875rem;
}
@media (max-width: 768px) {
.footer-content {
grid-template-columns: 1fr;
text-align: center;
}
.social-links {
justify-content: center;
}
}
</style>
<footer>
<div class="footer-content">
<div class="footer-section">
<h3>Mrs T's Funhouse</h3>
<p>A world of fun and creativity!</p>
</div>
<div class="footer-section">
<h3>Quick Links</h3>
<ul>
<li><a href="/create.html">New Project</a></li>
<li><a href="/projects.html">Recent Projects</a></li>
<li><a href="/help.html">Help Center</a></li>
<li><a href="/download.html">Download App</a></li>
</ul>
</div>
</div>
<div class="social-links">
<a href="#"><i data-feather="twitter"></i></a>
<a href="#"><i data-feather="instagram"></i></a>
<a href="#"><i data-feather="facebook"></i></a>
<a href="#"><i data-feather="github"></i></a>
<a href="#"><i data-feather="linkedin"></i></a>
</div>
<div class="copyright">
&copy; ${new Date().getFullYear()} Mrs T's Funhouse. All rights reserved.
</div>
</footer>
`;
}
}
customElements.define('custom-footer', CustomFooter);