MediaWiki:Mobile.css: Unterschied zwischen den Versionen

Aus /dev/null
Wechseln zu: Navigation, Suche
Zeile 31: Zeile 31:
 
   vertical-align:top;
 
   vertical-align:top;
 
   max-width: 50%;
 
   max-width: 50%;
 +
  min-width: 20% !important;
 
   width: initial !important;
 
   width: initial !important;
 
}
 
}

Version vom 22. August 2017, 12:20 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;
  max-width: 50%;
  min-width: 20% !important;
  width: initial !important;
}
.santoTable tr td:nth-child(2) i {
  float: right;
  color: #aaa;
}
.santoTable tr td:nth-child(2) p:first-child {
  margin-top: 0;
}