no message
This commit is contained in:
@@ -35,11 +35,16 @@
|
|||||||
0 0 25px color-mix(in srgb, var(--ci-gold) 40%, transparent),
|
0 0 25px color-mix(in srgb, var(--ci-gold) 40%, transparent),
|
||||||
inset 0 0 10px rgba(255, 255, 255, 0.4);
|
inset 0 0 10px rgba(255, 255, 255, 0.4);
|
||||||
|
|
||||||
width: min(90vw, 1800px);
|
/* neue, ausgewogenere Breite */
|
||||||
|
width: min(95vw, 2000px);
|
||||||
max-height: 90vh;
|
max-height: 90vh;
|
||||||
|
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
padding: clamp(1.5rem, 2vw, 3rem);
|
|
||||||
|
/* leicht reduziertes Padding */
|
||||||
|
padding: clamp(1rem, 1.5vw, 2rem);
|
||||||
|
|
||||||
color: #333;
|
color: #333;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
@@ -49,6 +54,14 @@
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ab sehr großen Bildschirmen: mehr Weite, weniger Rahmen */
|
||||||
|
@media (min-width: 1800px) {
|
||||||
|
#popup-box {
|
||||||
|
width: 85vw;
|
||||||
|
padding: 1.2rem 2rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* === Grundlayout für Inhalte === */
|
/* === Grundlayout für Inhalte === */
|
||||||
#popup-content {
|
#popup-content {
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ function openPopup(day) {
|
|||||||
.then(res => res.ok ? res.text() : Promise.reject("Inhalt nicht gefunden"))
|
.then(res => res.ok ? res.text() : Promise.reject("Inhalt nicht gefunden"))
|
||||||
.then(html => {
|
.then(html => {
|
||||||
activeDay = day;
|
activeDay = day;
|
||||||
popupContent.innerHTML = `<h2>${data.title}</h2>${html}`;
|
popupContent.innerHTML = `${html}`;
|
||||||
popupOverlay.classList.add("active");
|
popupOverlay.classList.add("active");
|
||||||
|
|
||||||
// === Event für background.js (nach DOM-Initialisierung) ===
|
// === Event für background.js (nach DOM-Initialisierung) ===
|
||||||
|
|||||||
Reference in New Issue
Block a user