MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Transfusionshandbuch
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(63 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 9: Zeile 9:
}
}


/* Container für mehrere Boxen */
.tile-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Legt eine flexible Spaltenstruktur fest */
    gap: 20px; /* Abstand zwischen den Boxen */
   
   
}
/* Einzelne Box */
.custom-window-frame {
.custom-window-frame {
     position: relative;
     /* display: flex; */
     top: 1em;
     /* flex-direction: column; */
     bottom: 1em;
  /* align-items: center; */
     max-height: calc(100% - 2em);
     width: 100%; /* Breite jeder Box */
     border: 1px solid #a2a9b1;
     height: 250px; /* Einheitliche Höhe der Boxen */
     border-radius: 2px;
    text-align: center;
     box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.25);
     border: none;
     padding: 1em;
    overflow: hidden;
     padding: 10px;
     box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
     text-decoration: none; /* Link-Dekoration entfernen */
    color: inherit;
     background-color: #fff;
     background-color: #fff;
    border-radius: 8px;
}
}


.tile-top.tile-image img {
/* Bildbereich festlegen und skalieren */
    display: block;
.tile-top.tile-image {
     width: 100%;
     width: 100%;
     height: auto;
     /* height: 100%; */
     border: none;
     overflow: hidden;
    margin: 0;
    padding: 0;
}
}


.tile-bottom.link-button {
.tile-bottom.link-button {
     background-color: #ffffff;
    border: none; /* Entfernt eventuelle Ränder */
     padding: 10px;
    box-shadow: none; /* Entfernt Schatten oder Linien */
     background: transparent; /* Stellt sicher, dass keine Hintergrundfarbe das Element beeinflusst */
    height: 130px; /* Festgelegte Höhe für Einheitlichkeit */
    padding-top: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
     justify-content: center;
}
}


.tile-bottom h2 {
.tile-bottom h2 {
     margin: 0;
    border: none; /* Entfernt eventuelle untere Linien im h2-Tag */
     font-size: 1.2em;
     margin: 0px; /* Stellt sicher, dass keine unerwünschten Abstände vorhanden sind */
     font-size: 1.5em;
   
    text-decoration: none; /* Entfernt eventuelle Unterstreichung *
}
 
.custom-window-frame .tile-bottom h2 a:visited {
    color: black; /* Farbe für besuchte Links */
}
 
.custom-window-frame .tile-bottom h2 a:hover {
    color: darkgray; /* Optionale Farbe bei Hover */
}
 
.custom-window-frame .tile-bottom h2 a:active {
    color: black; /* Farbe, wenn der Link aktiv ist */
}
 
 
 
.custom-window-frame .tile-top.tile-image {
    cursor: pointer;
}
}

Aktuelle Version vom 30. Oktober 2024, 13:45 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */

body.page-Hauptseite #firstHeading {
    display: none;
}

#p-personal .minerva-logo {
    display: none;
}

/* Container für mehrere Boxen */
.tile-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Legt eine flexible Spaltenstruktur fest */
    gap: 20px; /* Abstand zwischen den Boxen */
    
    
}

/* Einzelne Box */
.custom-window-frame {
    /* display: flex; */
    /* flex-direction: column; */
   /* align-items: center; */
    width: 100%; /* Breite jeder Box */
    height: 250px; /* Einheitliche Höhe der Boxen */
    text-align: center;
    border: none;
    overflow: hidden;
    padding: 10px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
    text-decoration: none; /* Link-Dekoration entfernen */
    color: inherit;
    background-color: #fff;
    border-radius: 8px;
}

/* Bildbereich festlegen und skalieren */
.tile-top.tile-image {
    width: 100%;
    /* height: 100%; */
    overflow: hidden;
}

.tile-bottom.link-button {
    border: none; /* Entfernt eventuelle Ränder */
    box-shadow: none; /* Entfernt Schatten oder Linien */
    background: transparent; /* Stellt sicher, dass keine Hintergrundfarbe das Element beeinflusst */
    height: 130px; /* Festgelegte Höhe für Einheitlichkeit */
    padding-top: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tile-bottom h2 {
    border: none; /* Entfernt eventuelle untere Linien im h2-Tag */
    margin: 0px; /* Stellt sicher, dass keine unerwünschten Abstände vorhanden sind */
    font-size: 1.5em;
    
    text-decoration: none; /* Entfernt eventuelle Unterstreichung *
}

.custom-window-frame .tile-bottom h2 a:visited {
     color: black; /* Farbe für besuchte Links */
}

.custom-window-frame .tile-bottom h2 a:hover {
    color: darkgray; /* Optionale Farbe bei Hover */
}

.custom-window-frame .tile-bottom h2 a:active {
    color: black; /* Farbe, wenn der Link aktiv ist */
}



.custom-window-frame .tile-top.tile-image {
    cursor: pointer;
}