MediaWiki:Mobile.css: Unterschied zwischen den Versionen
Zeile 29: | Zeile 29: | ||
.santoTable tr td:first-child { | .santoTable tr td:first-child { | ||
− | + | vertical-align:top; | |
− | max-width: 50% | + | max-width: 50%; |
+ | } | ||
+ | .santoTable tr td:nth-child(2) i { | ||
+ | float: right; | ||
+ | color: #aaa; | ||
+ | } | ||
+ | .santoTable tr td:nth-child(2) p:first-child { | ||
+ | margin-top: 0; | ||
} | } |
Version vom 22. August 2017, 12:18 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%; } .santoTable tr td:nth-child(2) i { float: right; color: #aaa; } .santoTable tr td:nth-child(2) p:first-child { margin-top: 0; }