Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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