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,7 +16,7 @@ html {
height: 100%;
}
/* This decorates all tables with class="table" */
/* This decorates all tables with class="tbl" */
table {
*border-collapse: collapse; /* IE7 and lower */
@@ -30,16 +30,19 @@ table {
border-bottom: 1px solid grey;
background: #cccccc;
}
.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 {
border: 1px solid grey;
}
@@ -47,21 +50,27 @@ table {
.tbl tr td:first-child {
border-left: 1px solid grey;
}
.tbl tr td:last-child {
border-right: 1px solid grey;
}
.tbl tr:first-child td:only-child {
border-top: 1px solid grey;
}
.tbl tr:last-child td:only-child {
border-bottom: 1px solid grey;
}
.tbl tr:last-child td:first-child {
border-bottom: 1px solid grey;
}
.tbl tr:last-child td:last-child {
border-bottom: 1px solid grey;
}
.tbl tr:last-child td {
border-bottom: 1px solid grey;
}