MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
/* === PnP Grid Layout === */ | /* === PnP Grid Layout === */ | ||
| Zeile 22: | Zeile 20: | ||
} | } | ||
/* === Bild Styling (normale Proportionen, Hover-Zoom) === */ | |||
.pnp-card-image { | |||
width: 100%; | |||
overflow: hidden; | |||
border-radius: 14px; | |||
box-shadow: 0 6px 18px rgba(0,0,0,0.35); | |||
} | |||
.pnp-card-image img { | |||
width: 100%; | |||
height: auto; | |||
transition: transform 0.4s ease; | |||
} | |||
.pnp-card:hover .pnp-card-image img { | |||
transform: scale(1.08); | |||
} | |||
/* === Titel Styling === */ | /* === Titel Styling === */ | ||
Version vom 13. Februar 2026, 20:58 Uhr
/* === PnP Grid Layout === */
.pnp-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 28px;
max-width: 1300px;
margin: 40px auto;
}
/* === Card Styling === */
.pnp-card {
text-align: center;
transition: transform 0.25s ease;
}
.pnp-card:hover {
transform: scale(1.05);
}
/* === Bild Styling (normale Proportionen, Hover-Zoom) === */
.pnp-card-image {
width: 100%;
overflow: hidden;
border-radius: 14px;
box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.pnp-card-image img {
width: 100%;
height: auto;
transition: transform 0.4s ease;
}
.pnp-card:hover .pnp-card-image img {
transform: scale(1.08);
}
/* === Titel Styling === */
.pnp-card-title {
margin-top: 10px;
font-weight: bold;
font-size: 1.05em;
}