public_notes/quartz/styles/custom.scss

134 lines
3 KiB
SCSS
Raw Normal View History

@use "./base.scss";
$root-font-size: 18px;
$default-font-size: 1rem;
$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%;
2024-02-28 21:13:57 +09:00
2024-03-18 18:45:01 +09:00
$header-font-family: "Bahnschrift", "Helvetica Neue", "Helvetica", "Noto Sans", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
$body-font-family: "Times New Roman", "Noto Serif", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
2024-02-28 21:13:57 +09:00
$pre-font-family: "Noto Mono", monospace;
// put your custom CSS here!
html {
font-size: $root-font-size !important;
}
h1 {
font-size: 1.75rem !important;
2024-02-28 21:13:57 +09:00
font-family: $header-font-family !important;
font-weight: bold !important;
letter-spacing: .1rem !important;
margin-top: 0rem;
margin-bottom: 0rem;
line-height: $header-line-height !important;
}
li {
line-height: $default-line-height;
font-size: $default-font-size;
}
div.left.sidebar {
padding-left: 1rem !important;
}
h2 {
font-size: 1rem !important;
2024-02-28 21:13:57 +09:00
font-family: $header-font-family !important;
font-weight: bold !important;
letter-spacing: .1rem !important;
line-height: $header-line-height !important;
}
h3 {
font-size: 1rem !important;
2024-02-28 21:13:57 +09:00
font-family: $header-font-family !important;
font-weight: bold !important;
letter-spacing: .1rem !important;
line-height: $header-line-height !important;
}
h4 {
font-size: 1rem !important;
2024-02-28 21:13:57 +09:00
font-family: $header-font-family !important;
letter-spacing: .1rem !important;
line-height: $header-line-height !important;
}
h5 {
font-size: 1rem !important;
2024-02-28 21:13:57 +09:00
font-family: $header-font-family !important;
letter-spacing: .1rem !important;
line-height: $header-line-height !important;
}
h6 {
font-size: 1rem !important;
2024-02-28 21:13:57 +09:00
font-family: $header-font-family !important;
letter-spacing: .1rem !important;
line-height: $header-line-height !important;
}
p {
font-size: 1rem;
2024-02-28 21:21:59 +09:00
font-family: $body-font-family !important;
line-height: $default-line-height;
letter-spacing: .025rem !important;
margin-left: 1rem !important;
2024-02-28 21:13:57 +09:00
}
p.content-meta {
font-family: sans-serif !important;
margin-left: 0 !important;
}
pre {
margin-left: 1rem;
2024-02-28 21:21:59 +09:00
font-family: $pre-font-family !important;
}
code {
font-size: 0.8rem !important;
2024-02-28 21:21:59 +09:00
font-family: $pre-font-family !important;
}
a.internal {
background-color: transparent !important;
}
a.tag-link {
margin-right: 1rem !important;
}
.right.sidebar {
padding-right: 1rem !important;
}
.recent-notes>ul.recent-ul>li {
font-size: 0.75rem !important;
margin: 0 !important;
margin-bottom: 0.5rem !important;
2024-02-19 20:10:03 +09:00
}
.katex {
2024-03-08 17:30:11 +09:00
font-family: "Times New Roman" !important;
2024-02-19 20:10:03 +09:00
font-size: 1rem !important;
2024-03-08 17:30:11 +09:00
font-weight: lighter !important;
2024-02-28 21:13:57 +09:00
}
2024-03-08 17:11:16 +09:00
.katex-display>.katex {
2024-03-08 17:30:11 +09:00
font-weight: lighter !important;
font-family: "Times New Roman" !important;
2024-03-08 17:11:16 +09:00
display: block;
text-align: left !important;
margin-left: 3rem !important;
white-space: nowrap;
}