MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus Transfusionshandbuch
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 27: | Zeile 27: | ||
.custom-box .text { | .custom-box .text { | ||
flex: 1; | flex: 1; | ||
} | |||
.contents.tile-box { | |||
display: flex; | |||
flex-direction: column; | |||
border: 1px solid #ccc; | |||
border-radius: 8px; | |||
overflow: hidden; | |||
max-width: 350px; | |||
margin: 10px; | |||
text-align: center; | |||
} | |||
.tile-top.tile-image { | |||
flex: 1; | |||
} | |||
.tile-bottom.link-button { | |||
background-color: #f4f4f4; | |||
padding: 10px; | |||
} | |||
.tile-bottom h2 { | |||
margin: 0; | |||
font-size: 1.2em; | |||
} | } | ||
Version vom 28. Oktober 2024, 15:09 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
body.page-Hauptseite #firstHeading {
display: none;
}
#p-personal .minerva-logo {
display: none;
}
.custom-box {
display: flex;
align-items: center;
border: 1px solid #ccc;
border-radius: 8px;
padding: 10px;
margin: 10px 0;
background-color: #f9f9f9;
}
.custom-box img {
max-width: 50%; /* Bild nimmt die Hälfte der Box ein */
border-radius: 8px;
margin-right: 10px;
}
.custom-box .text {
flex: 1;
}
.contents.tile-box {
display: flex;
flex-direction: column;
border: 1px solid #ccc;
border-radius: 8px;
overflow: hidden;
max-width: 350px;
margin: 10px;
text-align: center;
}
.tile-top.tile-image {
flex: 1;
}
.tile-bottom.link-button {
background-color: #f4f4f4;
padding: 10px;
}
.tile-bottom h2 {
margin: 0;
font-size: 1.2em;
}
