diff --git a/content/static/style.css b/content/static/style.css index 85a180e..0ebd3fb 100644 --- a/content/static/style.css +++ b/content/static/style.css @@ -133,7 +133,7 @@ pre { } pre { - background-color: #1d1d1d; + background-color: #151515; color: #d5d5d5; padding: 1em; border-radius: 5px; @@ -241,6 +241,48 @@ small a { #footer { color: var(--main-small-text-color); } - +table { + border-collapse: collapse; + margin: 1.5rem auto; + width: 100%; + max-width: 100%; + font-size: 0.85rem; + text-align: left; /* Use center if you prefer */ +} + +th, td { + border: 1px solid var(--main-transparent); + /*border: 1px solid var(--main-bullet-color);*/ + padding: 0.4rem 0.8rem; + vertical-align: middle; +} + +thead th { + font-weight: bold; + background-color: rgba(255, 255, 255, 0.05); + color: var(--main-text-color); +} + +tbody tr:nth-child(even) { + background-color: rgba(255, 255, 255, 0.02); +} + +tbody tr:hover { + background-color: rgba(255, 255, 255, 0.05); +} + +table code { + font-family: 'Fira Code', 'Consolas', monospace; + font-size: 0.85em; + background: #1d1d1d; + padding: 0.1em 0.25em; + border-radius: 3px; +} + +caption { + margin-top: 0.5rem; + font-size: 0.8rem; + color: var(--main-small-text-color); +}