MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus EnMo_Handbuch
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 46: Zeile 46:
}
}


/* Responsive Tabellen */
.flex-table {
.responsive-wikitable {
    display: flex;
  width: 100%;
    overflow-x: auto; /* Scrollbar bei Bedarf */
  border-collapse: collapse;
    flex-wrap: nowrap; /* Kein Umbruch */
    gap: 20px;
    padding-bottom: 10px;
}
 
.flex-table-column {
    flex: 0 0 auto; /* Kein Wachsen/Schrumpfen */
    min-width: 200px;
}
}


Zeile 58: Zeile 65:
         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:29 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;
}

.flex-table {
    display: flex;
    overflow-x: auto; /* Scrollbar bei Bedarf */
    flex-wrap: nowrap; /* Kein Umbruch */
    gap: 20px;
    padding-bottom: 10px;
}

.flex-table-column {
    flex: 0 0 auto; /* Kein Wachsen/Schrumpfen */
    min-width: 200px;
}


/* Mobile Optimierung */
@media (max-width: 768px) {
    .flex-step-container {
        gap: 15px;  /* Reduzierter Abstand auf kleinen Bildschirmen */
    }
}