Specify table.markdown instead of just .markdown for table styling

This commit is contained in:
BBaoVanC 2023-01-23 18:11:00 -06:00
parent 36a19a48b7
commit b854ae48e6
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
1 changed files with 7 additions and 7 deletions

View File

@ -681,27 +681,27 @@ table.markdown {
border: 2px solid var(--text-1);
}
.markdown thead {
table.markdown thead {
background-color: var(--background-2);
color: var(--text-2);
border-bottom: 2px solid var(--text-1);
}
.markdown th,
.markdown td {
table.markdown th,
table.markdown td {
padding: 8px;
}
.markdown th + th,
.markdown td + td {
table.markdown th + th,
table.markdown td + td {
border-left: 2px solid var(--text-1);
}
.markdown tbody tr:nth-child(odd) {
table.markdown tbody tr:nth-child(odd) {
background-color: var(--background-0);
color: var(--text-0);
}
.markdown tbody tr:nth-child(even) {
table.markdown tbody tr:nth-child(even) {
background-color: var(--background-1);
color: var(--text-1);
}