Created
April 18, 2023 06:56
-
-
Save oldherl/84e6012493199ca8dd84a06962506113 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@font-face { | |
font-family: 'oldherl-songti'; | |
font-weight: bold; | |
src: local('STZhongsong'); | |
} | |
@font-face { | |
font-family: 'oldherl-songti'; | |
font-weight: 500; | |
src: local('STZhongsong'); | |
} | |
@font-face { | |
font-family: 'oldherl-songti'; | |
font-weight: regular; | |
src: local('STSong'), local('Simsun'); | |
} | |
:root{ | |
--entry-content-font-family: var(--font-family); | |
--font-family: "Source Sans Pro", "PT Sans","Lato", "DejaVu Sans", "Droid Sansx",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Zen Hei", "Droid Sans Fallback", Verdana, "Microsoft YaHei", sans-serif; | |
--serif-font-family: "Zilla Slab", "Roboto Slab", "Arvo", "Rockwell", "TypoPRO Zilla Slab", "Source Serif Pro", "PT Serif", "Noto Serif", "Droid Serif", "Cambria", "Georgia", "Source Han Serif SC", "Noto Serif CJK SC", 'Times New Roman', Times, "oldherl-songti", STKaiTi, KaiTi, SimSun, serif; | |
--entry-content-quote-font-family: var(--serif-font-family); | |
--body-color: #000; | |
--title-color: #111; | |
--entry-content-color: #000; | |
--entry-content-code-color: #000; | |
--item-status-read-title-link-color: #444; | |
--item-status-read-title-focus-color: #444; | |
} | |
textarea[name=custom_css] { | |
width: 100%; | |
height: 300px; | |
} | |
h1, h2, h3 { | |
font-family: var(--serif-font-family); | |
font-weight: 500; | |
} | |
.entry-content { | |
font-weight: 400; | |
} | |
.item-meta-info, .item-meta { | |
font-size: inherit; | |
} | |
.header a { | |
font-size: inherit; | |
} | |
.item-meta ul { | |
margin-top: 0px; | |
} | |
.item-header { | |
margin-bottom: 5px; | |
} | |
@media (min-width: 800px) { | |
body { | |
max-width: 990px; | |
} | |
} | |
挺好看的,建议增加首行缩进: .entry-content { font-weight: 400; text-indent: 2em; }
适配宽屏: @media (min-width: 800px) { body { max-width: 1200px; }
谢谢,但我不打算更改这几点。
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
挺好看的,建议增加首行缩进:
.entry-content {
font-weight: 400;
text-indent: 2em;
}
适配宽屏:
@media (min-width: 800px) {
body {
max-width: 1200px;
}