MediaWiki:Common.css: Unterschied zwischen den Versionen
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 15: | Zeile 15: | ||
transform: translate(-50%, -50%); | transform: translate(-50%, -50%); | ||
background: #fff; | background: #fff; | ||
max-width: 90% | max-width: 95%; /* vorher 90% → mehr Breite erlaubt */ | ||
width: 520px | width: 600px; /* vorher 520px → breiter */ | ||
padding: | padding: 50px 30px 30px; /* oben & seitlich mehr Platz */ | ||
border-radius: 10px; | border-radius: 10px; | ||
z-index: 10001; | z-index: 10001; | ||
text-align: center; | text-align: center; | ||
box-shadow: 0 6px 20px rgba(0,0,0,0.3); | box-shadow: 0 6px 20px rgba(0,0,0,0.3); | ||
max-height: | max-height: 92vh; /* leicht größer als vorher */ | ||
overflow-y: auto; | overflow-y: auto; /* Scrollbar, falls sehr viel Text */ | ||
} | } | ||
| Zeile 33: | Zeile 33: | ||
} | } | ||
.mw-popup-logo img { | .mw-popup-logo img { | ||
max-width: | max-width: 110px; /* Logo leicht größer */ | ||
position: relative; | position: relative; | ||
z-index: 2; | z-index: 2; | ||
} | } | ||
/* ===== Herz-Hintergrund – Desktop ===== */ | /* ===== Herz-Hintergrund – Desktop ===== */ | ||
.mw-popup-heart { | .mw-popup-heart { | ||
position: absolute; | position: absolute; | ||
top: | top: 22%; /* höher positioniert */ | ||
left: 50%; | left: 50%; | ||
width: 120px; | width: 120px; | ||
| Zeile 73: | Zeile 72: | ||
.mw-popup-modal h2 { | .mw-popup-modal h2 { | ||
margin: 6px 0 10px; | margin: 6px 0 10px; | ||
font-size: 1. | font-size: 1.35em; /* leicht größer */ | ||
} | } | ||
.mw-popup-content p { | .mw-popup-content p { | ||
margin: 0.6em 0; | margin: 0.6em 0; | ||
font-size: 1. | font-size: 1.08em; | ||
line-height: 1. | line-height: 1.55; | ||
text-align: center; | text-align: center; | ||
} | } | ||
| Zeile 85: | Zeile 84: | ||
.mw-popup-close { | .mw-popup-close { | ||
margin-top: 1em; | margin-top: 1em; | ||
padding: | padding: 10px 16px; | ||
border: none; | border: none; | ||
background: #36c; | background: #36c; | ||
| Zeile 91: | Zeile 90: | ||
border-radius: 6px; | border-radius: 6px; | ||
cursor: pointer; | cursor: pointer; | ||
font-size: 1em; | |||
} | } | ||
.mw-popup-close:hover { background: #258; } | .mw-popup-close:hover { background: #258; } | ||
| Zeile 97: | Zeile 97: | ||
@media (max-width: 480px) { | @media (max-width: 480px) { | ||
.mw-popup-modal { | .mw-popup-modal { | ||
width: calc(100% - | width: calc(100% - 20px); | ||
padding: | padding: 40px 16px 16px; /* oben mehr Platz als vorher */ | ||
} | } | ||
.mw-popup-logo img { | .mw-popup-logo img { | ||
max-width: | max-width: 90px; | ||
} | } | ||
.mw-popup-heart { | .mw-popup-heart { | ||
top: | top: 18%; | ||
width: | width: 90px; | ||
height: | height: 90px; | ||
} | } | ||
.mw-popup-heart::before, | .mw-popup-heart::before, | ||
.mw-popup-heart::after { | .mw-popup-heart::after { | ||
width: | width: 90px; | ||
height: | height: 90px; | ||
} | } | ||
.mw-popup-heart::before { top: - | .mw-popup-heart::before { top: -45px; } | ||
.mw-popup-heart::after { left: | .mw-popup-heart::after { left: 45px; } | ||
} | } | ||