Vorlage:Infobox/style.css

Aus Green Campus Wiki
Version vom 27. November 2023, 15:50 Uhr von Ferdinand (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „.infobox { float: right; clear: right; background-color: #f8f9fa; border-color: #eaecf0; border-width: 1px 1px 0.2em; border-style: solid; box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.02); border-spacing: 3px; margin: 0 0 1.5em 2em; padding: .2em; font-size: 88%; line-height: 1.5em; width: 22em; } .infobox th { background-color: lightgrey; } .infobox td { text-align: center; } .infobox td:not(first-child) { text-align: l…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
.infobox {
  float: right;
  clear: right;

  background-color: #f8f9fa;
  border-color: #eaecf0;
  border-width: 1px 1px 0.2em;
  border-style: solid;
  box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.02);

  border-spacing: 3px;
  margin: 0 0 1.5em 2em;
  padding: .2em;

  font-size: 88%;
  line-height: 1.5em;
  width: 22em;
}

.infobox th {
  background-color: lightgrey;
}

.infobox td {
  text-align: center;
}

.infobox td:not(first-child) {
  text-align: left;
}

@media screen and ( max-width: 550px ) {
  .infobox {
    float: none;
    clear: none;
    margin-left: auto;
    margin-right: auto;
  }
}