mirror of
https://github.com/kuohuanhuan/x-markdown-css.git
synced 2024-11-25 06:18:19 +00:00
feat(table): use more flexible selector for thead
and tbody
This commit is contained in:
@ -8,10 +8,10 @@ table {
|
|||||||
padding: 6px 13px;
|
padding: 6px 13px;
|
||||||
border: 1.5px solid var(--xm-c-border-rev);
|
border: 1.5px solid var(--xm-c-border-rev);
|
||||||
}
|
}
|
||||||
thead > tr > th {
|
thead th {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
tbody > tr {
|
tbody tr {
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: var(--xm-c-shallowest);
|
background-color: var(--xm-c-shallowest);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user