Update ePUB table styles

This commit is contained in:
Tetrakern 2023-01-27 10:28:36 +01:00
parent 5079577b07
commit e03d84c26f
2 changed files with 9 additions and 9 deletions

View File

@ -338,6 +338,9 @@ ol ol {
font-weight: 700;
vertical-align: bottom;
}
.wp-block-table th, .wp-block-table td {
padding: 6px 9px;
}
.wp-block-table tfoot td {
font-size: 87.5%;
font-weight: 700;
@ -346,16 +349,13 @@ ol ol {
.wp-block-table.is-style-regular table {
border-color: currentColor;
}
.wp-block-table.is-style-regular th, .wp-block-table.is-style-regular td {
padding: 8px 12px;
}
.wp-block-table.is-style-stripes table {
border: none;
}
.wp-block-table.is-style-stripes th, .wp-block-table.is-style-stripes td {
position: relative;
z-index: 1;
padding: 10px 16px;
padding: 8px 12px;
}
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) th::before,
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) td::before {

View File

@ -415,6 +415,10 @@ ol {
vertical-align: bottom;
}
th, td {
padding: 6px 9px;
}
tfoot {
td {
font-size: 87.5%;
@ -427,10 +431,6 @@ ol {
table {
border-color: currentColor;
}
th, td {
padding: 8px 12px;
}
}
&.is-style-stripes {
@ -441,7 +441,7 @@ ol {
th, td {
position: relative;
z-index: 1;
padding: 10px 16px;
padding: 8px 12px;
}
tbody {