MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus Dunkelherzen Wiki
DRP (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
DRP (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 37: | Zeile 37: | ||
object-fit: cover; | object-fit: cover; | ||
border-radius: 4px; | border-radius: 4px; | ||
} | |||
.charakter-name { | |||
font-weight: bold; | |||
margin-top: 8px; | |||
font-size: 1em; | |||
color: #3366cc; | |||
} | } | ||
Version vom 15. Juli 2025, 19:22 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
#p-logo a {
background-size: contain !important;
background-repeat: no-repeat;
background-position: center center;
height: 160px; /* gewünschte Höhe */
}
.page-Kategorie_Charaktere h1.firstHeading {
display: none;
}
.charakter-grid {
display: flex;
flex-wrap: wrap;
gap: 12px;
justify-content: flex-start;
align-items: flex-start;
margin-top: 1em;
}
.charakter-card {
width: 170px;
text-align: center;
background: #f9f9f9;
border: 1px solid #ddd;
border-radius: 8px;
padding: 8px;
box-shadow: 1px 1px 4px rgba(0,0,0,0.1);
transition: transform 0.2s;
}
.charakter-card:hover {
transform: scale(1.02);
}
.charakter-image img {
width: 160px;
height: 160px;
object-fit: cover;
border-radius: 4px;
}
.charakter-name {
font-weight: bold;
margin-top: 8px;
font-size: 1em;
color: #3366cc;
}
