diff options
| Commit | 54329b70479f4dccf16e79cd5a3d0298125f5801 (patch) | |
|---|---|---|
| Author | 2022-08-20 09:39:13 +0300 | |
| Committer | 2022-08-20 09:39:13 +0300 | |
| Files | 10c564958224ed7351072f420e6abc1e4c5bfa96 /src/styles.css | |
| syndamia.com-54329b70479f4dccf16e79cd5a3d0298125f5801.tar syndamia.com-54329b70479f4dccf16e79cd5a3d0298125f5801.tar.gz syndamia.com-54329b70479f4dccf16e79cd5a3d0298125f5801.zip | ||
| Parent | f72739239a2987c6f66f942ae44f5e1bbff885dd (diff) | |
Fixed file-list tables and tweaked table formatting and coloring
1 files changed, 8 insertions, 11 deletions
| -rw-r--r-- | src/styles.css | 19 |
diff --git a/src/styles.css b/src/styles.css index e222616..972b01c 100644 --- a/src/styles.css +++ b/src/styles.css @@ -14,10 +14,9 @@ --code-bg-color: #e2e4e6; --pre-bg-color: #f6f8fa; --em-color: black; - --td-border-color: #dfe2e5; + --table-border-color: #dfe2e5; --tr-bg-color: #fff; - --tr-border-color: #c6cbd1; - --alternating-row-color: #f6f8fa; + --alternating-row-color: #eef0f2; } /* Custom scrollbar style */ @@ -253,7 +252,6 @@ pre { } table { - line-height: 25px; border-spacing: 0; border-collapse: collapse; margin-top: 10px; @@ -269,7 +267,7 @@ table td:not(:empty) { table th:not(:empty) { font-size: 1.1em; - padding: 0.25em; + padding: 0.2em; font-weight: 600; } @@ -278,9 +276,8 @@ table code { font-size: 0.7em; } -table td:not(:first-of-type), -table th:not(:first-of-type) { - border-left: 1px solid var(--td-border-color); +table td:not(:first-of-type), table th:not(:first-of-type) { + border-left: 2px dashed var(--table-border-color); } table tr:not(:first-of-type) { @@ -288,10 +285,10 @@ table tr:not(:first-of-type) { } thead tr { - border-bottom: 2px dashed var(--td-border-color); + border-bottom: 2px dashed var(--table-border-color); } -table tr:nth-child(2n) { +table tr:nth-child(2n), thead tr { background-color: var(--alternating-row-color); } @@ -483,7 +480,7 @@ dd code { } .file-list td, .file-list tr { - border: none; + border: none !important; padding: 0.2em 0.4em !important; } |