diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-11-19 03:57:26 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-11-19 03:57:26 +0530 |
commit | 28720fde8014886f62e93378864ea2a992dadd73 (patch) | |
tree | 127ae00d580958bcd69b9139430edb1629d9a9d6 /static | |
parent | 9e48353458367b0c383687c53349d93b5c3d19ba (diff) |
added table styling
Diffstat (limited to 'static')
-rw-r--r-- | static/css/styles.css | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/static/css/styles.css b/static/css/styles.css index dd9b9f1..cd9a32d 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -14,6 +14,12 @@ --codeblock-bg: #303132; --codeblock-fg: #ffffff; + + --th-bg: #494e54; + --th-fg: var(--fg-alt); + + --td-bg-alt: #aaa; + --td-fg-alt: var(--fg); } @media (prefers-color-scheme: dark) { @@ -30,6 +36,10 @@ --nav-fg: #74a8e4; --link-fg: #3c76bb; + + --th-bg: #303132; + + --td-bg-alt: #27292b; } } @@ -122,8 +132,8 @@ nav a.active { } .headline-hash { - display: none; - text-decoration: none; + display: none; + text-decoration: none; } h1:hover .headline-hash, @@ -132,7 +142,19 @@ h3:hover .headline-hash, h4:hover .headline-hash, h5:hover .headline-hash, h6:hover .headline-hash { - display: inline; + display: inline; +} + +th { + text-align: left; + min-width: 10rem; + background-color: var(--th-bg); + color: var(--th-fg); +} + +tr:nth-child(even) { + background-color: var(--td-bg-alt); + color: var(--td-fg-alt); } .release { |