关于Typora-Drake主题的小调整
下载安装
下载地址:Drake (typora.io)
-
点击下载跳转GitHub,下载该主题
-
下载完成安装主题
打开主题文件夹,把下载的zip全部加压丢进去重启Typora
Drake主题样式小调整
打开主题文件夹,找到Drake.css文件,记事本打开Drake.css文件
针对字体调整
- 字体下载地址:https://www.hanyi.com.cn/productdetail?id=2915
- 下载字体后再电脑设置中搜索"字体"安装下载字体即可
-
替换原本的Dreak.css
:root { --side-bar-bg-color: #fff; --control-text-color: #777; --active-file-border-color: var(--drake-accent); --drake-accent: #e95f59; --drake-highlight: #d63200; } html { font-size: 15px; } body { font-family: "JetBrains Mono", Menlo, "HYZhengYuan" !important; color: #333333; -webkit-font-smoothing: auto; line-height: 1.6rem; letter-spacing: 0; margin: 0; overflow-x: hidden; } img { border-radius: 2px; } #write { max-width: 1200px; margin: 0 auto; padding: 20px 30px 100px; } #write p { line-height: 1.6rem; word-spacing: .05rem; } #write > ul:first-child, #write > ol:first-child { margin-top: 30px; } body > *:first-child { margin-top: 0 !important; } body > *:last-child { margin-bottom: 0 !important; } a { color: var(--drake-highlight); padding: 0 2px; } h1, h2, h3, h4, h5, h6 { position: relative; margin-top: 3rem; margin-bottom: 1rem; font-weight: bold; line-height: 1.4; cursor: text; color: #273849; } h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor, h5:hover a.anchor, h6:h