Custom font
This commit is contained in:
parent
e96edf6ed8
commit
36243362b0
BIN
content/.vitepress/theme/DMSerifDisplay.ttf
Normal file
BIN
content/.vitepress/theme/DMSerifDisplay.ttf
Normal file
Binary file not shown.
@ -1,3 +1,20 @@
|
|||||||
|
@font-face {
|
||||||
|
font-family: 'DMSerifDisplay';
|
||||||
|
src: url('./DMSerifDisplay.ttf') format('truetype');
|
||||||
|
}
|
||||||
|
|
||||||
|
.vp-doc {
|
||||||
|
font-family: Georgia, 'Times New Roman', Times, serif
|
||||||
|
}
|
||||||
|
|
||||||
|
.vp-doc h1, .vp-doc h2, .vp-doc h3, .vp-doc h4, .vp-doc h5, .vp-doc h6, .custom-block-title {
|
||||||
|
font-family: 'DMSerifDisplay';
|
||||||
|
}
|
||||||
|
|
||||||
|
.VPBadge, .vp-doc table {
|
||||||
|
font-family: var(--vp-font-family-base);
|
||||||
|
}
|
||||||
|
|
||||||
.VPLink.pager-link.next {
|
.VPLink.pager-link.next {
|
||||||
background-color: var(--vp-c-brand-2);
|
background-color: var(--vp-c-brand-2);
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import DefaultTheme from 'vitepress/theme';
|
import DefaultTheme from 'vitepress/theme-without-fonts';
|
||||||
import './custom.css';
|
import './custom.css';
|
||||||
|
|
||||||
/** @type {import('vitepress').Theme} */
|
/** @type {import('vitepress').Theme} */
|
||||||
|
Loading…
Reference in New Issue
Block a user