MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 24: | Zeile 24: | ||
@media (max-width: 1024px) { | @media (max-width: 1024px) { | ||
#ad-box { float:none; max-width:100%; position:static; margin:.75rem 0; } | #ad-box { float:none; max-width:100%; position:static; margin:.75rem 0; } | ||
} | |||
/* --- Adblocker-Hinweis --- */ | |||
#adblock-hinweis { | |||
display: none; | |||
position: fixed; | |||
bottom: 1rem; | |||
left: 1rem; | |||
right: 1rem; | |||
z-index: 10000; | |||
background: #fffbe5; | |||
border: 1px solid #e6cf8b; | |||
border-radius: 8px; | |||
padding: .8em 1em; | |||
box-shadow: 0 2px 6px rgba(0,0,0,.15); | |||
font-size: 90%; | |||
color: #444; | |||
} | |||
#adblock-hinweis strong { | |||
color: #b28a00; | |||
} | |||
#adblock-hinweis button { | |||
float: right; | |||
background: #b28a00; | |||
border: none; | |||
color: white; | |||
padding: 0.2em 0.7em; | |||
border-radius: 4px; | |||
cursor: pointer; | |||
} | |||
#adblock-hinweis button:hover { | |||
background: #8f7100; | |||
} | } | ||
Version vom 7. November 2025, 22:08 Uhr
/* Rechter Werbe-Block */
#ad-box {
float: right;
width: 300px;
max-width: 32%;
margin: 0 0 1rem 1rem;
background: #fffef7;
border: 1px solid #e5dfb3;
border-radius: 6px;
box-shadow: 0 1px 3px rgba(0,0,0,.06);
position: sticky;
top: 1rem;
font-size: 90%;
}
#ad-box .ad-header { display:flex; align-items:center; gap:.5em; padding:.6em .8em; border-bottom:1px solid #efe7b9; font-weight:700; }
#ad-box .ad-badge { background:#ffea9e; border:1px solid #e0c200; padding:2px 6px; border-radius:4px; text-transform:uppercase; }
#ad-box .ad-body { padding:.6em .8em; }
#ad-box ul { list-style:none; margin:.2em 0; padding:0; }
#ad-box li { margin:.35em 0; }
#ad-box a { text-decoration:none; }
#ad-box a:hover { text-decoration:underline; }
/* Auf schmalen Bildschirmen unten im Content anzeigen */
@media (max-width: 1024px) {
#ad-box { float:none; max-width:100%; position:static; margin:.75rem 0; }
}
/* --- Adblocker-Hinweis --- */
#adblock-hinweis {
display: none;
position: fixed;
bottom: 1rem;
left: 1rem;
right: 1rem;
z-index: 10000;
background: #fffbe5;
border: 1px solid #e6cf8b;
border-radius: 8px;
padding: .8em 1em;
box-shadow: 0 2px 6px rgba(0,0,0,.15);
font-size: 90%;
color: #444;
}
#adblock-hinweis strong {
color: #b28a00;
}
#adblock-hinweis button {
float: right;
background: #b28a00;
border: none;
color: white;
padding: 0.2em 0.7em;
border-radius: 4px;
cursor: pointer;
}
#adblock-hinweis button:hover {
background: #8f7100;
}