Difference between revisions of "Template:TU Dresden/CSS"

Line 1,082: Line 1,082:
 
     92% { transform: translateY(-12px);}
 
     92% { transform: translateY(-12px);}
 
     55%, 75%, 87%, 97%, 100% { transform: translateY(0px);}
 
     55%, 75%, 87%, 97%, 100% { transform: translateY(0px);}
 +
}
 +
 +
@media screen and (max-width: 600px) {
 +
table {width:100%;}
 +
thead {display: none;}
 +
tr:nth-of-type(2n) {background-color: inherit;}
 +
tr td:first-child {background: #f0f0f0; font-weight:bold;font-size:1.3em;}
 +
tbody td {display: block;  text-align:center;}
 +
tbody td:before {
 +
    content: attr(data-th);
 +
    display: block;
 +
    text-align:center; 
 +
  }
 
}
 
}
  
 
</style>
 
</style>
 
</html>
 
</html>

Revision as of 17:39, 1 November 2017