Skip to content

Commit

Permalink
Upgrade dev dependencies and fix some style issue (#1577)
Browse files Browse the repository at this point in the history
* Upgrade node deps

* Upgrade node deps

* Upgrade node deps
  • Loading branch information
hustcer authored Oct 5, 2024
1 parent 38bd89b commit 3b4e727
Show file tree
Hide file tree
Showing 4 changed files with 2,374 additions and 885 deletions.
2 changes: 1 addition & 1 deletion .vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import path from 'path';
import path from 'node:path';
import { defineUserConfig } from '@vuepress/cli';
import { gitPlugin } from '@vuepress/plugin-git';
import { feedPlugin } from '@vuepress/plugin-feed';
Expand Down
15 changes: 10 additions & 5 deletions .vuepress/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,26 @@
* to avoid gaps in tables rendered with box-drawing characters
*/
.theme-default-content pre,
.theme-default-content pre[class*=language-] {
line-height: 1;
.theme-default-content pre[class*='language-'] {
line-height: 1.1;
}
.theme-default-content h2.title a {
color: #adb6be;
}

/* Make sure the line numbers have the same line-height as the code lines
*/
div[class*="language-"].line-numbers-mode .line-numbers {
line-height: 1;
div[class*='language-'].line-numbers-mode .line-numbers {
line-height: 1.1;
}

/* Add DejaVu Sans Mono to the list of monospaced fonts.
* This allows tables to be rendered seamlessly with box-drawing characters.
*/
:root {
--font-family-code: Consolas, Monaco, 'Andale Mono', 'DejaVu Sans Mono', 'Ubuntu Mono', monospace;
--code-line-height: 1.1;
--font-family-code: Consolas, Monaco, 'Andale Mono', 'DejaVu Sans Mono',
'Ubuntu Mono', monospace;
}

@media screen and (min-width: 720px) and (max-width: 815px) {
Expand Down
Loading

0 comments on commit 3b4e727

Please sign in to comment.