Skip to content

Commit 3b4e727

Browse files
authored
Upgrade dev dependencies and fix some style issue (#1577)
* Upgrade node deps * Upgrade node deps * Upgrade node deps
1 parent 38bd89b commit 3b4e727

File tree

4 files changed

+2374
-885
lines changed

4 files changed

+2374
-885
lines changed

.vuepress/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import path from 'path';
1+
import path from 'node:path';
22
import { defineUserConfig } from '@vuepress/cli';
33
import { gitPlugin } from '@vuepress/plugin-git';
44
import { feedPlugin } from '@vuepress/plugin-feed';

.vuepress/styles/index.scss

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,26 @@
1111
* to avoid gaps in tables rendered with box-drawing characters
1212
*/
1313
.theme-default-content pre,
14-
.theme-default-content pre[class*=language-] {
15-
line-height: 1;
14+
.theme-default-content pre[class*='language-'] {
15+
line-height: 1.1;
16+
}
17+
.theme-default-content h2.title a {
18+
color: #adb6be;
1619
}
1720

1821
/* Make sure the line numbers have the same line-height as the code lines
1922
*/
20-
div[class*="language-"].line-numbers-mode .line-numbers {
21-
line-height: 1;
23+
div[class*='language-'].line-numbers-mode .line-numbers {
24+
line-height: 1.1;
2225
}
2326

2427
/* Add DejaVu Sans Mono to the list of monospaced fonts.
2528
* This allows tables to be rendered seamlessly with box-drawing characters.
2629
*/
2730
:root {
28-
--font-family-code: Consolas, Monaco, 'Andale Mono', 'DejaVu Sans Mono', 'Ubuntu Mono', monospace;
31+
--code-line-height: 1.1;
32+
--font-family-code: Consolas, Monaco, 'Andale Mono', 'DejaVu Sans Mono',
33+
'Ubuntu Mono', monospace;
2934
}
3035

3136
@media screen and (min-width: 720px) and (max-width: 815px) {

0 commit comments

Comments
 (0)