add style github for table
continuous-integration/drone/push Build is passing Details

states/02
thest1tch 1 year ago
parent 93d508794b
commit db3c88e487

@ -0,0 +1,31 @@
th, td {
border: 1px solid var(--md-typeset-table-color);
border-spacing: 0;
border-bottom: none;
border-left: none;
border-top: none;
}
.md-typeset__table {
line-height: 1;
}
.md-typeset__table table:not([class]) {
font-size: .74rem;
border-right: none;
}
.md-typeset__table table:not([class]) td,
.md-typeset__table table:not([class]) th {
padding: 9px;
}
/* light mode alternating table bg colors */
.md-typeset__table tr:nth-child(2n) {
background-color: #f8f8f8;
}
/* dark mode alternating table bg colors */
[data-md-color-scheme="slate"] .md-typeset__table tr:nth-child(2n) {
background-color: hsla(var(--md-hue),25%,25%,1)
}

@ -255,4 +255,7 @@ extra:
link: https://discord.gg/xtsgTBf link: https://discord.gg/xtsgTBf
analytics: analytics:
provider: google provider: google
property: G-E6GYT2D13K property: G-E6GYT2D13K
extra_css:
- stylesheets/extra.css
Loading…
Cancel
Save