theme: Fix CSS coding style.

This commit is contained in:
Michael Tremer
2014-01-08 15:07:42 +01:00
parent e9850821d4
commit 4c2910e91b

View File

@@ -16,53 +16,62 @@ html {
height: 100%;
}
/* This decorates all tables with class="table" */
/* This decorates all tables with class="tbl" */
table {
*border-collapse: collapse; /* IE7 and lower */
border-spacing: 0;
}
.tbl th{
.tbl th {
color: #000000;
font-size: 14px;
border-top: 1px solid grey;
border-bottom: 1px solid grey;
background: #cccccc;
}
.tbl th:first-child{
.tbl th:first-child {
border-left: 1px solid grey;
border-top: 1px solid grey;
border-bottom: 1px solid grey;
}
.tbl th:last-child {
border-right: 1px solid grey;
border-top: 1px solid grey;
border-bottom: 1px solid grey;
}
.tbl th:only-child{
.tbl th:only-child {
border: 1px solid grey;
}
.tbl tr td:first-child{
.tbl tr td:first-child {
border-left: 1px solid grey;
}
.tbl tr td:last-child{
.tbl tr td:last-child {
border-right: 1px solid grey;
}
.tbl tr:first-child td:only-child{
.tbl tr:first-child td:only-child {
border-top: 1px solid grey;
}
.tbl tr:last-child td:only-child{
.tbl tr:last-child td:only-child {
border-bottom: 1px solid grey;
}
.tbl tr:last-child td:first-child{
.tbl tr:last-child td:first-child {
border-bottom: 1px solid grey;
}
.tbl tr:last-child td:last-child{
.tbl tr:last-child td:last-child {
border-bottom: 1px solid grey;
}
.tbl tr:last-child td{
.tbl tr:last-child td {
border-bottom: 1px solid grey;
}