Vorlage:Infobox/style.css

Aus Green Campus Wiki
Version vom 28. November 2023, 14:01 Uhr von Ferdinand (Diskussion | Beiträge)
(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 .center {
  text-align: center;
}

.infobox .right {
  text-align: right;
}

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