Difference between revisions of "Template:Freiburg/CSS"

Line 341: Line 341:
 
     width: 90%;
 
     width: 90%;
 
     margin: 2em auto 0 auto;
 
     margin: 2em auto 0 auto;
 +
}
 +
 +
/* styling tables coming from dokuwiki */
 +
.content_box .table{
 +
    margin: 2em 5%;
 +
}
 +
 +
/* the element taht can be used to style the table */
 +
.content_box .table .inline{
 +
    font-size: 90%;
 +
    width: 100%;
 +
    border-collapse: collapse;
 +
}
 +
 +
/* grey background for the header line */
 +
.content_box .table th{
 +
    background-color: #DDD;
 +
}
 +
 +
/* greyish background for every second row */
 +
.content_box .table tr:nth-child(odd){
 +
    background-color: #EEE;
 +
}
 +
 +
/* move text away from cell borders */
 +
.content_box .table td,
 +
.content_box .table th{
 +
    padding: 0 10px;
 
}
 
}
  

Revision as of 13:31, 2 September 2015