Vorlage:Infobox/style.css: Unterschied zwischen den Versionen

Aus Green Campus Wiki
(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…“)
 
Keine Bearbeitungszusammenfassung
 
Zeile 22: Zeile 22:
}
}


.infobox td {
.infobox .center {
   text-align: center;
   text-align: center;
}
}


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



Aktuelle Version vom 28. November 2023, 15:01 Uhr

.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;
  }
}