mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 04:13:17 -06:00
Specify table.markdown instead of just .markdown for table styling
This commit is contained in:
parent
36a19a48b7
commit
b854ae48e6
@ -681,27 +681,27 @@ table.markdown {
|
|||||||
border: 2px solid var(--text-1);
|
border: 2px solid var(--text-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown thead {
|
table.markdown thead {
|
||||||
background-color: var(--background-2);
|
background-color: var(--background-2);
|
||||||
color: var(--text-2);
|
color: var(--text-2);
|
||||||
border-bottom: 2px solid var(--text-1);
|
border-bottom: 2px solid var(--text-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown th,
|
table.markdown th,
|
||||||
.markdown td {
|
table.markdown td {
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown th + th,
|
table.markdown th + th,
|
||||||
.markdown td + td {
|
table.markdown td + td {
|
||||||
border-left: 2px solid var(--text-1);
|
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);
|
background-color: var(--background-0);
|
||||||
color: var(--text-0);
|
color: var(--text-0);
|
||||||
}
|
}
|
||||||
.markdown tbody tr:nth-child(even) {
|
table.markdown tbody tr:nth-child(even) {
|
||||||
background-color: var(--background-1);
|
background-color: var(--background-1);
|
||||||
color: var(--text-1);
|
color: var(--text-1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user