MediaWiki:Mobile.css: Unterschied zwischen den Versionen

Aus /dev/null
Wechseln zu: Navigation, Suche
Zeile 30: Zeile 30:
 
.santoTable tr td:first-child {
 
.santoTable tr td:first-child {
 
   vertical-align:top;
 
   vertical-align:top;
   max-width: 50%;
+
   width: 35% !important;
  min-width: 25% !important;
 
  width: initial !important;
 
 
}
 
}
 
.santoTable tr td:nth-child(2) i {
 
.santoTable tr td:nth-child(2) i {

Version vom 22. August 2017, 14:22 Uhr

/* Das folgende CSS wird für alle Nutzer der mobilen Version geladen. */
body .content table.templateTable {
   display: table;
}

.content table td, .content table th {
   border: 0;
   width: 100%;
}

table, table tr, table tr td {
  width: 100%;
}

.listTable {
  width: 100%;
  border: solid 1px #ccc;
  border-collapse: collapse;

}
.listTable tr:nth-child(2n+1) {
  background-color: #dedede;
}
.listTable td {
  padding: 5px;
  margin: 0;
  border: solid 1px #ccc;
}

.santoTable tr td:first-child {
  vertical-align:top;
  width: 35% !important;
}
.santoTable tr td:nth-child(2) i {
  float: right;
  color: #aaa;
}
.santoTable tr td:nth-child(2) p:first-child {
  margin-top: 0;
}