Created
September 24, 2019 06:23
-
-
Save XinoAssassin/9722659813f20f6c8154d570cb18a301 to your computer and use it in GitHub Desktop.
user font custom css for Typora's github theme
This file contains 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
body{ | |
font-family: "Noto Serif","Source Han Serif SC"; | |
line-height: 1.7; | |
color: black; | |
} | |
html{ | |
font-size: 18px; | |
} | |
header, .context-menu, .megamenu-content, footer, .md-meta-block{ | |
font-family:"Noto Sans", "Arial", sans-serif; | |
unicode-range: U+00-52F, U+1E00-1FFF, U+2200–22FF; | |
} | |
header, .context-menu, .megamenu-content, footer, .md-meta-block{ | |
font-family:"Noto Sans", "Source Han Sans SC"; | |
} | |
.cm-s-typora-default{ | |
font-family: "Noto Sans", "Source Han Sans SC"; | |
} | |
#write{ | |
max-width: 1080px; | |
} | |
.task-list-item input{ | |
width: 1.25rem; | |
height: 1.25rem; | |
display: block; | |
-webkit-appearance: initial; | |
top: -2px; | |
left: -18px; | |
} | |
.task-list-item input:focus{ | |
outline: none; | |
box-shadow: none; | |
} | |
.task-list-item input:before{ | |
border: 1px solid #d4d4d4; | |
border-radius: 1.2rem; | |
width: 1.2rem; | |
height: 1.2rem; | |
background: #666; | |
content: ' '; | |
transition: background-color 200ms ease-in-out; | |
display: block; | |
} | |
.task-list-item input:checked:before, | |
.task-list-item input[checked]:before{ | |
background: #d4d4d4; | |
border-width: 2px; | |
display:inline-block; | |
transition: background-color 200ms ease-in-out; | |
} | |
.task-list-item input:checked:after, | |
.task-list-item input[checked]:after { | |
opacity: 1; | |
} | |
.task-list-item input:after { | |
opacity: 1; | |
-webkit-transition: opacity 0.05s ease-in-out; | |
transition: opacity 0.05s ease-in-out; | |
-webkit-transform: rotate(-45deg); | |
transform: rotate(-45deg); | |
position: absolute; | |
top: 0.325rem; | |
left: 0.28125rem; | |
width: 0.6375rem; | |
height: 0.4rem; | |
border: 3px solid #666; | |
border-top: 0; | |
border-right: 0; | |
content: ' '; | |
opacity: 0; | |
} | |
.task-list-done { | |
text-decoration: line-through; | |
color: #d4d4d4; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment