MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Transfusionshandbuch
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 41: Zeile 41:
}
}


.tile-top.tile-image {
.tile-top.tile-image img {
     flex: 1;
     display: block;
    width: 100%;
    height: auto;
    border: none;
    margin: 0;
    padding: 0;
}
}



Version vom 28. Oktober 2024, 16:27 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;
}


.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 img {
    display: block;
    width: 100%;
    height: auto;
    border: none;
    margin: 0;
    padding: 0;
}

.tile-bottom.link-button {
    background-color: #f4f4f4;
    padding: 10px;
}

.tile-bottom h2 {
    margin: 0;
    font-size: 1.2em;
}