Difference between revisions of "Template:Cologne-Duesseldorf/css"

Line 496: Line 496:
 
     border-radius: 0
 
     border-radius: 0
 
}
 
}
#container table thead, table tbody, table tfoot {
+
 
 +
#container table thead{
 
     border: 1px solid #f1f1f1;
 
     border: 1px solid #f1f1f1;
     background-color: #fefefe
+
     background-color: inherit;
}
+
     background: rgba(20, 147, 117, 0.2);
#container table caption {
+
    padding: .5rem .625rem .625rem;
+
    font-weight: bold
+
}
+
#container table thead {
+
     background: rgba(20, 147, 117, 0.2);
+
 
     color: #263238
 
     color: #263238
 
}
 
}
#container table tfoot {
+
#container table thead tr {
    background: #d8d8d8;
+
background:inherit;
    color: #263238
+
 
}
 
}
#container table thead tr, table tfoot tr {
+
#container table thead th {
    background: transparent
+
}
+
#container table thead th,table thead td,table tfoot th,table tfoot td {
+
    padding: .5rem .625rem .625rem;
+
    font-weight: bold;
+
    text-align: left
+
}
+
#container table tbody th,
+
#container table tbody td {
+
 
     padding: .5rem .625rem .625rem
 
     padding: .5rem .625rem .625rem
 +
}
 +
#container table thead td {
 +
    padding: .5rem .625rem .625rem
 +
}
 +
 +
 +
#container table tbody {
 +
    border: 1px solid #f1f1f1;
 +
    background-color: inherit;
 +
}
 +
#container table tbody tr {
 +
background:inherit;
 
}
 
}
 
#container table tbody tr:nth-child(even) {
 
#container table tbody tr:nth-child(even) {
    border-bottom: 0;
 
 
     background-color: rgba(20, 147, 117, 0.08)
 
     background-color: rgba(20, 147, 117, 0.08)
 
}
 
}
 +
#container table tbody th {
 +
    padding: .5rem .625rem .625rem
 +
}
 +
#container table tbody td {
 +
    padding: .5rem .625rem .625rem
 +
}
  
 
#container table.hover thead tr:hover {
 
#container table.hover thead tr:hover {
     background-color: rgba(17, 125, 99, 0.2)
+
     background-color: rgba(17, 125, 99, 0.2);
}
+
#container table.hover tfoot tr:hover {
+
    background-color: #cbcbcb
+
 
}
 
}
 
#container table.hover tbody tr:hover {
 
#container table.hover tbody tr:hover {
    background-color: #f1f1f1
+
     background-color: rgba(17, 125, 99, 0.2);
}
+
#container table.hover:not(.unstriped) tr:nth-of-type(even):hover {
+
     background-color: rgba(17, 125, 99, 0.2)
+
 
}
 
}
  

Revision as of 14:04, 4 May 2017