MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus LASK Wiki
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Markierung: Zurückgesetzt
Zeile 56: Zeile 56:
     max-width: 100%;
     max-width: 100%;
     height: auto;
     height: auto;
}
.kacheln {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 20px 0;
}
.kachel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 20px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 12px;
  text-decoration: none !important;
  color: #222 !important;
  font-size: 20px;
  font-weight: bold;
  transition: transform 0.2s, box-shadow 0.2s;
}
.kachel:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.kachel .icon {
  font-size: 45px;
  margin-bottom: 10px;
}
}

Version vom 3. September 2026, 09:49 Uhr

.infobox {
    float: right;
    clear: right;

    width: 300px;
    margin: 0 0 1em 1em;

    border: 1px solid var(--border-color-base);
    border-spacing: 0;

    background: transparent;
    color: inherit;

    font-size: 0.9em;
}

.infobox caption {
    padding: 0.5em;

    border-bottom: 1px solid var(--border-color-base);

    background: transparent;
    color: inherit;

    font-size: 1.15em;
    font-weight: bold;
}

.infobox th,
.infobox td {
    padding: 0.45em;

    border-top: 1px solid var(--border-color-muted);

    background: transparent;
    color: inherit;

    vertical-align: top;
}

.infobox th {
    width: 35%;
    text-align: left;
}

.infobox-bild {
    padding: 0.5em;

    border-top: 1px solid var(--border-color-muted);

    background: transparent;
    text-align: center;
}

.infobox-bild img {
    max-width: 100%;
    height: auto;
}





.kacheln {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.kachel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 20px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 12px;
  text-decoration: none !important;
  color: #222 !important;
  font-size: 20px;
  font-weight: bold;
  transition: transform 0.2s, box-shadow 0.2s;
}

.kachel:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.kachel .icon {
  font-size: 45px;
  margin-bottom: 10px;
}