|
11 | 11 | --md-code-fg-color: #000000; /* White for code text */ /* Changed to white */ |
12 | 12 | --md-comment-color: #4b4b4b; |
13 | 13 | --md-typeset-a-color: #ff4444; |
| 14 | + --md-table-fg: #1c1e20; |
| 15 | + --md-table-bg: #e2dada; |
14 | 16 | --md-n-color: #000000; |
15 | 17 | --md-o-color: #227a38; |
16 | 18 | --md-nn-color: #70166c; |
|
21 | 23 | --md-nb-color: #768303; |
22 | 24 | --md-kc-color: #1c2599; |
23 | 25 | --md-s-color: #186415; |
| 26 | + --table-header-bg: #acb2bd; |
| 27 | + --table-header-color: #1d1e20; |
| 28 | + --table-header-border-color: #282529; |
| 29 | + --table-cell-bg: #f3eaea; |
| 30 | + --table-cell-color: #1f1c1c; |
| 31 | + --table-cell-border-color: #d6bfbe; |
| 32 | + --table-hover-bg: #7283ce; |
| 33 | + --table-zebra-bg: #418cd6; |
| 34 | + --table-header-bg: #88a9df; |
| 35 | + --table-header-fg: #0b1f46; |
| 36 | + --table-header-border: #3a68b3; |
24 | 37 | } |
25 | 38 |
|
26 | 39 | [data-md-color-scheme="mydark"] { |
|
36 | 49 | --md-code-fg-color: #ffffff; /* White for code text */ /* Changed to white */ |
37 | 50 | --md-comment-color: #cfcfcf; |
38 | 51 | --md-typeset-a-color: #ff4444; |
| 52 | + --md-table-fg: #d5d9dd; |
| 53 | + --md-table-bg: #1f1d1d; |
39 | 54 | --md-n-color: #8dc9ec; |
40 | 55 | --md-o-color: #92f08f; |
41 | 56 | --md-nn-color: #1e8694; |
|
48 | 63 | --md-nt-color: #d5df4b; |
49 | 64 | --md-na-color: #ffffff; |
50 | 65 | --md-s-color: #93e290; |
| 66 | + --table-header-bg: #27292c; |
| 67 | + --table-header-color: #c7ced8; |
| 68 | + --table-header-border-color: #a991af; |
| 69 | + --table-cell-bg: #222020; |
| 70 | + --table-cell-color: #e9e0e0; |
| 71 | + --table-cell-border-color: #2b1514; |
| 72 | + --table-hover-bg: #668eda; |
| 73 | + --table-zebra-bg: #418cd6; |
| 74 | + --table-header-bg: #16376b; |
| 75 | + --table-header-fg: #dbe0e9; |
| 76 | + --table-header-border: #051b3f; |
51 | 77 | } |
52 | 78 |
|
| 79 | +/********************************************************************************************/ |
| 80 | + |
| 81 | +.md-typeset table:not([class]) th { |
| 82 | + /* Background */ |
| 83 | + background-color: var(--table-header-bg); |
| 84 | + |
| 85 | + /* Text */ |
| 86 | + color: var(--table-header-color); |
| 87 | + |
| 88 | + /* Borders */ |
| 89 | + border-color: var(--table-header-border-color); |
| 90 | + |
| 91 | + /* Additional */ |
| 92 | + text-transform: var(--table-header-text-transform); |
| 93 | + } |
| 94 | + |
| 95 | + |
| 96 | +.md-typeset table:not([class]) td { |
| 97 | + /* Background */ |
| 98 | + background-color: var(--table-cell-bg); |
| 99 | + |
| 100 | + /* Text */ |
| 101 | + color: var(--table-cell-color); |
| 102 | + |
| 103 | + /* Borders */ |
| 104 | + border-color: var(--table-cell-border-color); |
| 105 | + border-width: var(--table-border-width); |
| 106 | +} |
| 107 | + |
| 108 | +/* Zebra striping */ |
| 109 | +.md-typeset table:not([class]) tr:nth-child(even) td { |
| 110 | + background-color: var(--table-zebra-bg); |
| 111 | + } |
| 112 | + |
| 113 | + /* Hover effects */ |
| 114 | + .md-typeset table:not([class]) tr:hover td { |
| 115 | + background-color: var(--table-hover-bg); |
| 116 | + |
| 117 | + --table-hover-color: inherit; |
| 118 | + color: var(--table-hover-color); |
| 119 | +} |
| 120 | + |
| 121 | + |
| 122 | + |
| 123 | +/* Force header background color */ |
| 124 | +.md-typeset table:not([class]) thead tr th { |
| 125 | + background-color: var(--table-header-bg) !important; |
| 126 | + color: var(--table-header-fg) !important; |
| 127 | + border-color: var(--table-header-border) !important; |
| 128 | + } |
| 129 | + |
| 130 | + /* Remove any gradient effects */ |
| 131 | +.md-typeset table:not([class]) thead tr th { |
| 132 | + background-image: none !important; |
| 133 | +} |
| 134 | + |
| 135 | +/***************************************************************************************/ |
| 136 | + |
| 137 | +/* Back To Top Button Fix*/ |
| 138 | + |
| 139 | +/***************************************************************************************/ |
| 140 | + |
53 | 141 |
|
54 | 142 | html { |
55 | 143 | scroll-behavior: smooth; |
|
0 commit comments