mirror of
https://github.com/skoelle/moonweb-site.git
synced 2026-09-18 09:20:24 +00:00
Consolidate all moonweb.org sites under www.moonweb.org
- Migrate timecapsule (old www.moonweb.org) into monorepo as Eleventy 2.x site - Change all site URLs from subdomains to subdirectories under www.moonweb.org - Replace Cloudflare Pages deployment with IONOS SFTP - Update site-switcher, footer, and all internal links - Add merge script for combining all sites into single deployment - Update CI/CD workflow for IONOS SFTP deployment - Update stefankoelle.de references to use new URLs - Update AGENTS.md and README.md documentation
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
---
|
||||
permalink: "/timecapsule/assets/css/nav-replacement.css"
|
||||
eleventyExcludeFromCollections: true
|
||||
---
|
||||
/* Ersetzt den Bild-Hover-Tausch aus menu.js OHNE Javascript. */
|
||||
|
||||
/* Fix: inline <img> in table cells with explicit height creates 2px baseline gap */
|
||||
table.quicknav-table img { display: block; }
|
||||
|
||||
a.menu-item {
|
||||
display: inline-block;
|
||||
width: 76px;
|
||||
height: 15px;
|
||||
background-repeat: no-repeat;
|
||||
text-indent: -9999px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
{% for group in nav %}{% for item in group %}
|
||||
a.menu-{{ item }} {
|
||||
background-image: url("/timecapsule/assets/menu/{{ item }}.gif");
|
||||
}
|
||||
a.menu-{{ item }}:hover {
|
||||
background-image: url("/timecapsule/assets/menu/{{ item }}_h.gif");
|
||||
}
|
||||
a.menu-{{ item }}.active {
|
||||
background-image: url("/timecapsule/assets/menu/{{ item }}_a.gif");
|
||||
}
|
||||
{% endfor %}{% endfor %}
|
||||
|
||||
/* Mobile: Navigation als Text statt Bilder */
|
||||
@media (max-width: 768px) {
|
||||
a.menu-item {
|
||||
background-image: none !important;
|
||||
text-indent: 0 !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user