Vorlage:Kachel/styles.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 72: | Zeile 72: | ||
grid-template-columns: 1fr; | grid-template-columns: 1fr; | ||
} | } | ||
} | |||
/* Artikel des Tages */ | |||
.artikel-des-tages { | |||
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; | |||
text-align: center; | |||
} | |||
.artikel-des-tages-icon { | |||
font-size: 40px; | |||
line-height: 1; | |||
margin-bottom: 10px; | |||
} | |||
.artikel-des-tages-label { | |||
font-size: 14px; | |||
color: #72777d; | |||
margin-bottom: 8px; | |||
} | |||
.artikel-des-tages-titel { | |||
font-size: 21px; | |||
font-weight: bold; | |||
} | |||
.artikel-des-tages-titel a { | |||
color: #202122; | |||
text-decoration: none; | |||
} | |||
.artikel-des-tages-titel a:hover { | |||
text-decoration: underline; | |||
} | } | ||
Version vom 3. September 2026, 10:09 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 */
.artikel-des-tages {
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;
text-align: center;
}
.artikel-des-tages-icon {
font-size: 40px;
line-height: 1;
margin-bottom: 10px;
}
.artikel-des-tages-label {
font-size: 14px;
color: #72777d;
margin-bottom: 8px;
}
.artikel-des-tages-titel {
font-size: 21px;
font-weight: bold;
}
.artikel-des-tages-titel a {
color: #202122;
text-decoration: none;
}
.artikel-des-tages-titel a:hover {
text-decoration: underline;
}