scope styles to #content (#1217)

This commit is contained in:
Cory LaViska
2025-07-23 17:10:32 -04:00
committed by GitHub
parent d66b552962
commit 3c7bb71a59

View File

@@ -6,26 +6,33 @@ wide: true
---
<style>
p {
max-width: 90ch;
}
tbody {
& .wa-grid {
--min-column-size: 5ch;
#content {
p {
max-width: 90ch;
}
& tr th:first-of-type {
width: 20ch;
tbody {
& .wa-grid {
--min-column-size: 5ch;
}
& tr th:first-of-type {
width: 20ch;
}
& th {
vertical-align: middle;
}
& tr:hover {
background-color: color-mix(in oklch, var(--wa-color-fill-quiet), transparent 60%)
}
}
& th {
vertical-align: middle;
wa-divider {
--width: var(--wa-border-width-m);
--spacing: var(--wa-space-3xl);
}
& tr:hover {
background-color: color-mix(in oklch, var(--wa-color-fill-quiet), transparent 60%)
}
}
wa-divider {
--width: var(--wa-border-width-m);
--spacing: var(--wa-space-3xl);
}
</style>