mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Table styles now only apply to table.rows-and-columns, refs #2420
This commit is contained in:
parent
6da8d09a14
commit
f601425015
1 changed files with 6 additions and 6 deletions
|
|
@ -450,28 +450,28 @@ h2 em {
|
||||||
.table-wrapper {
|
.table-wrapper {
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
table {
|
table.rows-and-columns {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
}
|
}
|
||||||
td {
|
table.rows-and-columns td {
|
||||||
border-top: 1px solid #aaa;
|
border-top: 1px solid #aaa;
|
||||||
border-right: 1px solid #eee;
|
border-right: 1px solid #eee;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
td.type-pk {
|
table.rows-and-columns td.type-pk {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
td em {
|
table.rows-and-columns td em {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
color: #aaa;
|
color: #aaa;
|
||||||
}
|
}
|
||||||
th {
|
table.rows-and-columns th {
|
||||||
padding-right: 1em;
|
padding-right: 1em;
|
||||||
}
|
}
|
||||||
table a:link {
|
table.rows-and-columns a:link {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
.rows-and-columns td:before {
|
.rows-and-columns td:before {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue