|
2 | 2 | color-scheme: dark;
|
3 | 3 |
|
4 | 4 | /* Framework color */
|
5 |
| - --main-bg: rgb(27, 27, 30); |
6 |
| - --mask-bg: rgb(68, 69, 70); |
7 |
| - --main-border-color: rgb(44, 45, 45); |
| 5 | + --main-bg: rgb(27 27 30); |
| 6 | + --mask-bg: rgb(68 69 70); |
| 7 | + --main-border-color: rgb(44 45 45); |
8 | 8 |
|
9 | 9 | /* Common color */
|
10 |
| - --text-color: rgb(175, 176, 177); |
| 10 | + --text-color: rgb(175 176 177); |
11 | 11 | --text-muted-color: #868686;
|
12 | 12 | --text-muted-highlight-color: #aeaeae;
|
13 | 13 | --heading-color: #cccccc;
|
14 | 14 | --label-color: #a7a7a7;
|
15 |
| - --blockquote-border-color: rgb(66, 66, 66); |
| 15 | + --blockquote-border-color: rgb(66 66 66); |
16 | 16 | --blockquote-text-color: #868686;
|
17 |
| - --link-color: rgb(138, 180, 248); |
18 |
| - --link-underline-color: rgb(82, 108, 150); |
| 17 | + --link-color: rgb(138 180 248); |
| 18 | + --link-underline-color: rgb(82 108 150); |
19 | 19 | --button-bg: #1e1e1e;
|
20 | 20 | --btn-border-color: #2e2f31;
|
21 | 21 | --btn-backtotop-color: var(--text-color);
|
22 | 22 | --btn-backtotop-border-color: #212122;
|
23 | 23 | --card-header-bg: #292929;
|
24 |
| - --checkbox-color: rgb(118, 120, 121); |
| 24 | + --checkbox-color: rgb(118 120 121); |
25 | 25 | --checkbox-checked-color: var(--link-color);
|
26 |
| - --img-bg: radial-gradient(circle, rgb(22, 22, 24) 0%, rgb(32, 32, 32) 100%); |
| 26 | + --img-bg: radial-gradient(circle, rgb(22 22 24) 0%, rgb(32 32 32) 100%); |
27 | 27 | --shimmer-bg: linear-gradient(
|
28 | 28 | 90deg,
|
29 |
| - rgba(255, 255, 255, 0) 0%, |
30 |
| - rgba(58, 55, 55, 0.4) 50%, |
31 |
| - rgba(255, 255, 255, 0) 100% |
| 29 | + rgb(255 255 255 / 0%) 0%, |
| 30 | + rgb(58 55 55 / 40%) 50%, |
| 31 | + rgb(255 255 255 / 0%) 100% |
32 | 32 | );
|
33 | 33 |
|
34 | 34 | /* Sidebar */
|
|
37 | 37 | --sidebar-bg: #1e1e1e;
|
38 | 38 | --sidebar-border-color: #292929;
|
39 | 39 | --sidebar-muted-color: #868686;
|
40 |
| - --sidebar-active-color: rgb(255, 255, 255, 0.95); |
| 40 | + --sidebar-active-color: rgb(255 255 255 / 95%); |
41 | 41 | --sidebar-hover-bg: #262626;
|
42 | 42 | --sidebar-btn-bg: #232328;
|
43 | 43 | --sidebar-btn-color: #787878;
|
44 |
| - --avatar-border-color: rgb(206, 206, 206, 0.9); |
| 44 | + --avatar-border-color: rgb(206 206 206 / 90%); |
45 | 45 |
|
46 | 46 | /* Topbar */
|
47 |
| - --topbar-bg: rgb(27, 27, 30, 0.64); |
| 47 | + --topbar-bg: rgb(27 27 30 / 64%); |
48 | 48 | --topbar-text-color: var(--text-color);
|
49 |
| - --search-border-color: rgb(55, 55, 55); |
50 |
| - --search-icon-color: rgb(100, 102, 105); |
51 |
| - --input-focus-border-color: rgb(112, 114, 115); |
| 49 | + --search-border-color: rgb(55 55 55); |
| 50 | + --search-icon-color: rgb(100 102 105); |
| 51 | + --input-focus-border-color: rgb(112 114 115); |
52 | 52 |
|
53 | 53 | /* Home page */
|
54 |
| - --post-list-text-color: rgb(175, 176, 177); |
| 54 | + --post-list-text-color: rgb(175 176 177); |
55 | 55 | --btn-patinator-text-color: var(--text-color);
|
56 | 56 | --btn-paginator-hover-color: #2e2e2e;
|
57 | 57 |
|
58 | 58 | /* Posts */
|
59 |
| - --toc-highlight: rgb(116, 178, 243); |
| 59 | + --toc-highlight: rgb(116 178 243); |
60 | 60 | --toc-popup-border-color: #373737;
|
61 |
| - --tag-hover: rgb(43, 56, 62); |
| 61 | + --tag-hover: rgb(43 56 62); |
62 | 62 | --tb-odd-bg: #252526; /* odd rows of the posts' table */
|
63 |
| - --tb-even-bg: rgb(31, 31, 34); /* even rows of the posts' table */ |
| 63 | + --tb-even-bg: rgb(31 31 34); /* even rows of the posts' table */ |
64 | 64 | --tb-border-color: var(--tb-odd-bg);
|
65 |
| - --footnote-target-bg: rgb(63, 81, 181); |
| 65 | + --footnote-target-bg: rgb(63 81 181); |
66 | 66 | --btn-share-color: #6c757d;
|
67 | 67 | --btn-share-hover-color: #bfc1ca;
|
68 | 68 | --card-bg: #1e1e1e;
|
69 |
| - --card-hovor-bg: #464d51; |
70 |
| - --card-shadow: rgb(21, 21, 21, 0.72) 0 6px 18px 0, |
71 |
| - rgb(137, 135, 135, 0.24) 0 0 0 1px; |
| 69 | + --card-hover-bg: #464d51; |
| 70 | + --card-shadow: rgb(21 21 21 / 72%) 0 6px 18px 0, |
| 71 | + rgb(137 135 135 / 24%) 0 0 0 1px; |
72 | 72 | --kbd-wrap-color: #6a6a6a;
|
73 | 73 | --kbd-text-color: #d3d3d3;
|
74 | 74 | --kbd-bg-color: #242424;
|
75 |
| - --prompt-text-color: rgb(216, 212, 212, 0.75); |
76 |
| - --prompt-tip-bg: rgb(22, 60, 36, 0.64); |
77 |
| - --prompt-tip-icon-color: rgb(15, 164, 15, 0.81); |
78 |
| - --prompt-info-bg: rgb(7, 59, 104, 0.8); |
| 75 | + --prompt-text-color: rgb(216 212 212 / 75%); |
| 76 | + --prompt-tip-bg: rgb(22 60 36 / 64%); |
| 77 | + --prompt-tip-icon-color: rgb(15 164 15 / 81%); |
| 78 | + --prompt-info-bg: rgb(7 59 104 / 80%); |
79 | 79 | --prompt-info-icon-color: #0075d1;
|
80 |
| - --prompt-warning-bg: rgb(90, 69, 3, 0.88); |
81 |
| - --prompt-warning-icon-color: rgb(255, 165, 0, 0.8); |
82 |
| - --prompt-danger-bg: rgb(86, 28, 8, 0.8); |
| 80 | + --prompt-warning-bg: rgb(90 69 3 / 88%); |
| 81 | + --prompt-warning-icon-color: rgb(255 165 0 / 80%); |
| 82 | + --prompt-danger-bg: rgb(86 28 8 / 80%); |
83 | 83 | --prompt-danger-icon-color: #cd0202;
|
84 | 84 |
|
85 | 85 | /* Tags */
|
86 |
| - --tag-border: rgb(59, 79, 88); |
87 |
| - --tag-shadow: rgb(32, 33, 33); |
88 |
| - --dash-color: rgb(63, 65, 68); |
| 86 | + --tag-border: rgb(59 79 88); |
| 87 | + --tag-shadow: rgb(32 33 33); |
| 88 | + --dash-color: rgb(63 65 68); |
89 | 89 | --search-tag-bg: #292828;
|
90 | 90 |
|
91 | 91 | /* Categories */
|
92 |
| - --categories-border: rgb(64, 66, 69, 0.5); |
93 |
| - --categories-hover-bg: rgb(73, 75, 76); |
| 92 | + --categories-border: rgb(64 66 69 / 50%); |
| 93 | + --categories-hover-bg: rgb(73 75 76); |
94 | 94 | --categories-icon-hover-color: white;
|
95 | 95 |
|
96 | 96 | /* Archive */
|
97 |
| - --timeline-node-bg: rgb(150, 152, 156); |
98 |
| - --timeline-color: rgb(63, 65, 68); |
| 97 | + --timeline-node-bg: rgb(150 152 156); |
| 98 | + --timeline-color: rgb(63 65 68); |
99 | 99 | --timeline-year-dot-color: var(--timeline-color);
|
100 | 100 |
|
101 | 101 | /* Code highlight colors */
|
102 | 102 | --language-border-color: #2d2d2d;
|
103 | 103 | --highlight-bg-color: #151515;
|
104 | 104 | --highlighter-rouge-color: #c9def1;
|
105 | 105 | --highlight-lineno-color: #808080;
|
106 |
| - --inline-code-bg: rgba(255, 255, 255, 0.05); |
| 106 | + --inline-code-bg: rgb(255 255 255 / 5%); |
107 | 107 | --code-color: #b0b0b0;
|
108 | 108 | --code-header-text-color: #6a6a6a;
|
109 | 109 | --code-header-muted-color: #353535;
|
|
141 | 141 | #archives li:nth-child(odd) {
|
142 | 142 | background-image: linear-gradient(
|
143 | 143 | to left,
|
144 |
| - rgb(26, 26, 30), |
145 |
| - rgb(39, 39, 45), |
146 |
| - rgb(39, 39, 45), |
147 |
| - rgb(39, 39, 45), |
148 |
| - rgb(26, 26, 30) |
| 144 | + rgb(26 26 30), |
| 145 | + rgb(39 39 45), |
| 146 | + rgb(39 39 45), |
| 147 | + rgb(39 39 45), |
| 148 | + rgb(26 26 30) |
149 | 149 | );
|
150 | 150 | }
|
151 | 151 |
|
|
0 commit comments