diff options
Diffstat (limited to 'static/css/table.css')
-rw-r--r-- | static/css/table.css | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/static/css/table.css b/static/css/table.css new file mode 100644 index 0000000..75a961d --- /dev/null +++ b/static/css/table.css @@ -0,0 +1,31 @@ +table { + width: auto; + border-collapse: collapse; + border: 1px solid var(--border-color); +} + +th, +td { + padding: 12px 20px; + text-align: left; + border-bottom: 1px solid var(--border-color); +} + +th, +thead { + background-color: var(--background-color-2); +} + +tbody tr:nth-child(odd) { + background-color: var(--background-color); + color: var(--text-color); +} + +tbody tr { + transition: background-color 0.3s ease; +} + +tbody tr:hover { + background-color: #ff47daa0; + color: #2a2a2a; +} |