fix: table tr background color

This commit is contained in:
changjun
2023-08-10 07:38:33 +08:00
parent a6a3737754
commit 7d0d2d9357
4 changed files with 9 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
export default { export default {
fontSans: ['LXGWWenKaiGBScreen'], fontSans: ['Inter', 'LXGWWenKaiGBScreen'],
fontMono: ['JetBrainsMono-Regular'], fontMono: ['JetBrainsMono'],
} }

View File

@@ -18,7 +18,7 @@
@media(prefers-color-scheme: dark) { @media(prefers-color-scheme: dark) {
:root { :root {
--c-bg-base: rgb(17 17 17); --c-bg-base: #09090B;
--c-text-base: #fff; --c-text-base: #fff;
--c-text-secondary: #a1a1a1; --c-text-secondary: #a1a1a1;
--c-blockquote: #a1a1a1; --c-blockquote: #a1a1a1;
@@ -36,6 +36,6 @@
/* var end */ /* var end */
html,body{ html,body{
background-color: var(--c-bg-base); background: var(--c-bg-base);
color: var(--c-text-base); color: var(--c-text-base);
} }

View File

@@ -129,6 +129,10 @@ export default defineConfig({
'figure,picture': { 'figure,picture': {
margin: '1em 0', margin: '1em 0',
}, },
'tr:nth-child(2n)': {
background: 'none',
},
}, },
}), }),
], ],