diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index 80d6ac15f..e80c0711a 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -3,13 +3,10 @@ --md-footer-bg-color: hsla(232, 54%, 41%, 1); --md-footer-bg-color--dark: hsla(0, 0%, 0%, 0.32); } - /*Change footnotes font size */ .md-typeset .footnote { font-size: 12px; } - - th { color:white !important; background-color:hsla(232, 54%, 41%, 1) !important; @@ -17,20 +14,51 @@ th { } /* td a { color: white !important; -} */ +} +*/ td a:hover { color: red !important; } - +/* .md-content { --md-typeset-a-color: #1372EB; } - +*/ footer.sponsorship { text-align: center; - hr { - display: inline-block; - vertical-align: middle; + display: inline-block; + vertical-align: middle; } -} \ No newline at end of file +} +/*Better table view */ +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 { + width: 100%; + line-height: 1; +} +.md-typeset__table table:not([class]) { + display: table; + 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) +} +[data-md-color-scheme="slate"] .md-content { + --md-typeset-a-color: #f8f8f8; +} diff --git a/overrides/css/custom.css b/overrides/css/custom.css index 5d51a0920..5d6d8a7a4 100644 --- a/overrides/css/custom.css +++ b/overrides/css/custom.css @@ -1,3 +1,3 @@ body { margin-left: 1em; -} \ No newline at end of file +}