modify css
This commit is contained in:
parent
baadf328a4
commit
d589f1c918
1 changed files with 16 additions and 10 deletions
|
@ -6,7 +6,11 @@ $default-line-height: 1.3rem;
|
|||
$header-font-size-base : $default-font-size * 1.2;
|
||||
$header-font-size-h6 : $default-font-size * 1.2;
|
||||
$header-line-height : 120%;
|
||||
$header_font: sans-serif;
|
||||
|
||||
$header-font-family: "Noto Sans", "Bahnschrift", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
|
||||
$body-font-family: "Noto Serif" , "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
|
||||
$pre-font-family: "Noto Mono", monospace;
|
||||
|
||||
// put your custom CSS here!
|
||||
html {
|
||||
font-size: $root-font-size !important;
|
||||
|
@ -14,7 +18,7 @@ html {
|
|||
|
||||
h1 {
|
||||
font-size: 1.75rem !important;
|
||||
font-family: $header_font !important;
|
||||
font-family: $header-font-family !important;
|
||||
font-weight: bold !important;
|
||||
letter-spacing: .1rem !important;
|
||||
margin-top: 0rem;
|
||||
|
@ -35,7 +39,7 @@ div.left.sidebar {
|
|||
|
||||
h2 {
|
||||
font-size: 1rem !important;
|
||||
font-family: $header_font !important;
|
||||
font-family: $header-font-family !important;
|
||||
font-weight: bold !important;
|
||||
letter-spacing: .1rem !important;
|
||||
line-height: $header-line-height !important;
|
||||
|
@ -43,7 +47,7 @@ h2 {
|
|||
|
||||
h3 {
|
||||
font-size: 1rem !important;
|
||||
font-family: $header_font !important;
|
||||
font-family: $header-font-family !important;
|
||||
font-weight: bold !important;
|
||||
letter-spacing: .1rem !important;
|
||||
line-height: $header-line-height !important;
|
||||
|
@ -52,21 +56,21 @@ h3 {
|
|||
|
||||
h4 {
|
||||
font-size: 1rem !important;
|
||||
font-family: $header_font !important;
|
||||
font-family: $header-font-family !important;
|
||||
letter-spacing: .1rem !important;
|
||||
line-height: $header-line-height !important;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1rem !important;
|
||||
font-family: $header_font !important;
|
||||
font-family: $header-font-family !important;
|
||||
letter-spacing: .1rem !important;
|
||||
line-height: $header-line-height !important;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 1rem !important;
|
||||
font-family: $header_font !important;
|
||||
font-family: $header-font-family !important;
|
||||
letter-spacing: .1rem !important;
|
||||
line-height: $header-line-height !important;
|
||||
}
|
||||
|
@ -74,9 +78,11 @@ h6 {
|
|||
|
||||
p {
|
||||
font-size: 1rem;
|
||||
font-family: $body-font-family
|
||||
line-height: $default-line-height;
|
||||
letter-spacing: .025rem !important;
|
||||
margin-left: 1rem !important;
|
||||
|
||||
}
|
||||
|
||||
p.content-meta {
|
||||
|
@ -86,12 +92,12 @@ p.content-meta {
|
|||
|
||||
pre {
|
||||
margin-left: 1rem;
|
||||
font-family: monospace;
|
||||
font-family: $pre-font-family
|
||||
}
|
||||
|
||||
code {
|
||||
font-size: 0.8rem !important;
|
||||
font-family: monospace;
|
||||
font-family: $pre-font-family
|
||||
}
|
||||
|
||||
a.internal {
|
||||
|
@ -114,4 +120,4 @@ a.tag-link {
|
|||
}
|
||||
.katex {
|
||||
font-size: 1rem !important;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue