Vorlage:Kachel/styles.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung Markierung: Zurückgesetzt |
Keine Bearbeitungszusammenfassung |
||
| (5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 74: | Zeile 74: | ||
} | } | ||
.artikel-des-tages { | .artikel-des-tages { | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
| Zeile 85: | Zeile 82: | ||
min-height: 160px; | min-height: 160px; | ||
padding: | padding: 20px; | ||
box-sizing: border-box; | |||
text-align: center; | text-align: center; | ||
| Zeile 101: | Zeile 96: | ||
.artikel-des-tages-label { | .artikel-des-tages-label { | ||
font-size: 14px; | font-size: 14px; | ||
color: # | color: #54595d; | ||
margin-bottom: | margin-bottom: 12px; | ||
} | } | ||
| Zeile 111: | Zeile 106: | ||
.artikel-des-tages-titel a { | .artikel-des-tages-titel a { | ||
color: #36c; | |||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
Aktuelle Version vom 3. September 2026, 10:24 Uhr
/* Kachel-Raster */
.wiki-kacheln {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 20px;
margin: 25px 0;
}
/* Einzelne Kachel */
.wiki-kachel {
display: block;
width: 100%;
height: 100%;
}
/* Kachel-Link */
.wiki-kachel-link {
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 160px;
padding: 25px;
background: #f8f9fa;
border: 1px solid #c8ccd1;
border-radius: 12px;
color: #202122;
text-decoration: none;
transition:
transform 0.15s ease,
box-shadow 0.15s ease,
background-color 0.15s ease;
}
/* Hover-Effekt */
.wiki-kachel-link:hover {
transform: translateY(-4px);
background: #ffffff;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
text-decoration: none;
}
/* Icon */
.wiki-kachel-icon {
font-size: 45px;
line-height: 1;
margin-bottom: 15px;
}
/* Titel */
.wiki-kachel-title {
font-size: 20px;
font-weight: bold;
text-align: center;
}
/* Tablet */
@media (max-width: 800px) {
.wiki-kacheln {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
/* Handy */
@media (max-width: 500px) {
.wiki-kacheln {
grid-template-columns: 1fr;
}
}
.artikel-des-tages {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 160px;
padding: 20px;
box-sizing: border-box;
text-align: center;
}
.artikel-des-tages-icon {
font-size: 40px;
line-height: 1;
margin-bottom: 10px;
}
.artikel-des-tages-label {
font-size: 14px;
color: #54595d;
margin-bottom: 12px;
}
.artikel-des-tages-titel {
font-size: 21px;
font-weight: bold;
}
.artikel-des-tages-titel a {
color: #36c;
text-decoration: none;
}
.artikel-des-tages-titel a:hover {
text-decoration: underline;
}