Wechseln zu:Navigation, Suche
Wiki
(Lauritzl änderte das Inhaltsmodell der Seite Vorlage:Styles-test.css von „Wikitext“ nach „Bereinigtes CSS“)
Markierung: Änderung des Inhaltsmodells
KKeine Bearbeitungszusammenfassung
 
(19 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
.table-cell:nth-child(1) {background: wheat}
@media (min-width:901px) {
.table-cell:nth-child(2) {background: blue}
.table-cell:nth-child(3) {background: red}
 
@media (min-width: 40em) {
.table {  
.table {  
   display: table;
   display: table;
  border-spacing: 0.5em;
}
}
.table-row {display: table-row; }
.table-row {display: table-row; }
.table-cell {display: table-cell; }
.table-cell {display: table-cell; }
.toc {
  display: block;
  width: 48%;
  float: right;
  margin-left: 3%;
  font-size:95%;
  line-height: 125%;
  }
.description {
  display: block;
  width: 48%;
  float:left;
  }
}
@media (max-width: 900px) {
.toctitle {
  padding: 1px;
  }
.toc {
  float: none;
  background-color: yellow;
  text-align: left;
  font-size:95%;
  line-height: 125%;
  margin-bottom: 12px;
  }
span {
  text-align: left;
  }
}
}

Aktuelle Version vom 20. Mai 2019, 11:11 Uhr

@media (min-width:901px) {
.table { 
   display: table;
}
.table-row {display: table-row; }
.table-cell {display: table-cell; }

.toc {
  display: block; 
  width: 48%; 
  float: right;
  margin-left: 3%;
  font-size:95%;
  line-height: 125%;
  }

.description {
   display: block; 
   width: 48%; 
   float:left;
   }
}




@media (max-width: 900px) {

.toctitle {
  padding: 1px;
  }

.toc {
  float: none;
  background-color: yellow;
  text-align: left;
  font-size:95%;
  line-height: 125%;
  margin-bottom: 12px;
  }

span {
  text-align: left;
  }


}