mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
theme: Fix CSS coding style.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user