MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus Transfusionshandbuch
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 39: | Zeile 39: | ||
margin: 10px; | margin: 10px; | ||
text-align: center; | text-align: center; | ||
} | |||
.custom-window-frame { | |||
position: relative; | |||
top: 1em; | |||
bottom: 1em; | |||
max-height: calc(100% - 2em); | |||
border: 1px solid #a2a9b1; | |||
border-radius: 2px; | |||
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.25); | |||
padding: 1em; | |||
background-color: #fff; | |||
} | } | ||
Version vom 30. Oktober 2024, 08:20 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;
}
.custom-window-frame {
position: relative;
top: 1em;
bottom: 1em;
max-height: calc(100% - 2em);
border: 1px solid #a2a9b1;
border-radius: 2px;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.25);
padding: 1em;
background-color: #fff;
}
.tile-top.tile-image img {
display: block;
width: 100%;
height: auto;
border: none;
margin: 0;
padding: 0;
}
.tile-bottom.link-button {
background-color: #ffffff;
padding: 10px;
}
.tile-bottom h2 {
margin: 0;
font-size: 1.2em;
}
