Skip to content

Instantly share code, notes, and snippets.

@oldherl
Created April 18, 2023 06:56
Show Gist options
  • Save oldherl/84e6012493199ca8dd84a06962506113 to your computer and use it in GitHub Desktop.
Save oldherl/84e6012493199ca8dd84a06962506113 to your computer and use it in GitHub Desktop.
@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;
}
}
@wyvern3000
Copy link

wyvern3000 commented Sep 22, 2023

挺好看的,建议增加首行缩进:
.entry-content {
font-weight: 400;
text-indent: 2em;
}

适配宽屏:
@media (min-width: 800px) {
body {
max-width: 1200px;
}

@oldherl
Copy link
Author

oldherl commented Sep 22, 2023

挺好看的,建议增加首行缩进: .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