Made <th> usuable in all skins. The new policy is to use <thead>(<td>...</td>)+</thead> for horizontal headers and <th> for vertical ones.

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2062 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
cflakes
2010-07-04 17:44:03 +00:00
parent 1110d2e1ac
commit b00bbdfbec
3 changed files with 23 additions and 5 deletions

View File

@@ -252,15 +252,19 @@ table {
border-spacing: 1px;
}
td {
td, th {
padding: 5px 10px;
min-width: 50px;
}
thead td {
thead td, th {
background-color: #a0a0a0;
}
th {
text-align: left;
}
tbody td {
background-color: #cecece;
}

View File

@@ -46,11 +46,15 @@ table thead td {
padding: 6px;
}
table td {
table td, table th {
padding: 4px;
border: 1px solid #000;
}
table th {
text-align: left;
}
td.mod_name {
white-space: nowrap;
}

View File

@@ -77,7 +77,7 @@ table {
margin: 10px;
}
table td {
td {
border-left: 1px solid #000;
border-top: 1px solid #000;
padding: 4px;
@@ -89,16 +89,26 @@ table thead {
font-weight: bold;
}
th, thead td {
thead td {
font-size: 13px;
border-bottom: 1px solid #000;
min-width: 50px;
}
th {
text-align: left;
padding: 4px;
border-top: 1px solid #000;
}
tr td:first-child {
border-left: none;
}
tr:first-child th {
border-top: none;
}
table tr:first-child td {
border-top: none;
}