MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 46: | Zeile 46: | ||
} | } | ||
/* Responsive Tabellen */ | |||
.responsive-wikitable { | |||
width: 100%; | |||
border-collapse: collapse; | |||
} | |||
| Zeile 53: | Zeile 58: | ||
gap: 15px; /* Reduzierter Abstand auf kleinen Bildschirmen */ | gap: 15px; /* Reduzierter Abstand auf kleinen Bildschirmen */ | ||
} | } | ||
.responsive-wikitable, | |||
.responsive-wikitable tbody, | |||
.responsive-wikitable tr, | |||
.responsive-wikitable td { | |||
display: block; | |||
width: 100% !important; | |||
} | |||
.responsive-wikitable td { | |||
border: none; | |||
border-bottom: 1px solid #ccc; | |||
position: relative; | |||
padding-left: 50%; | |||
} | |||
.responsive-wikitable td:before { | |||
content: attr(data-label); | |||
position: absolute; | |||
left: 10px; | |||
font-weight: bold; | |||
} | |||
} | } | ||
Version vom 11. April 2025, 16:17 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
a:hover {
color: #15a2d6;
}
a.external:hover {
color: #15a2d6;
}
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;600;700&display=swap');
body {
font-family: 'Titillium Web', sans-serif;
}
h1,h2,h3,h4 {
font-family: 'Titillium Web', sans-serif !important;
}
/* Bilder responsive machen*/
.mw-file-element {
max-width: 100% !important;
height: auto !important;
width: auto !important;
}
/* iPhone images */
.img-iphone-style {
float: left !important;
width: 200px !important;
background: none !important;
padding: 1rem !important;
border: 0 !important;
}
/* Container für iphone img mit text */
.flex-step-container {
display: flex;
flex-wrap: wrap;
gap: 30px;
align-items: center;
margin-bottom: 0;
}
/* Responsive Tabellen */
.responsive-wikitable {
width: 100%;
border-collapse: collapse;
}
/* Mobile Optimierung */
@media (max-width: 768px) {
.flex-step-container {
gap: 15px; /* Reduzierter Abstand auf kleinen Bildschirmen */
}
.responsive-wikitable,
.responsive-wikitable tbody,
.responsive-wikitable tr,
.responsive-wikitable td {
display: block;
width: 100% !important;
}
.responsive-wikitable td {
border: none;
border-bottom: 1px solid #ccc;
position: relative;
padding-left: 50%;
}
.responsive-wikitable td:before {
content: attr(data-label);
position: absolute;
left: 10px;
font-weight: bold;
}
}