public_notes/quartz/styles/custom.scss

97 lines
2 KiB
SCSS
Raw Normal View History

@use "./base.scss";
2024-02-05 18:20:16 +09:00
$default-font-size: 0.8rem;
$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;
2023-07-20 13:59:48 +09:00
// put your custom CSS here!
2024-02-05 18:20:16 +09:00
2024-01-22 20:44:01 +09:00
h1 {
2024-02-05 13:33:58 +09:00
font-size: 1.75rem !important;
2024-02-05 18:20:16 +09:00
font-family: $header_font !important;
font-weight: bold !important;
2024-01-22 20:44:01 +09:00
letter-spacing: .1rem !important;
margin-top: 0rem;
margin-bottom: 0rem;
2024-02-05 18:20:16 +09:00
line-height: $header-line-height !important;
2024-01-22 20:44:01 +09:00
}
2024-02-05 13:33:58 +09:00
2024-02-05 18:20:16 +09:00
li {
line-height: $default-line-height;
font-size: $default-font-size;
2024-01-22 20:44:01 +09:00
}
2024-02-05 18:20:16 +09:00
2024-01-22 20:44:01 +09:00
h2 {
2024-02-05 13:33:58 +09:00
font-size: 1rem !important;
2024-02-05 18:20:16 +09:00
font-family: $header_font !important;
font-weight: bold !important;
2024-01-22 20:44:01 +09:00
letter-spacing: .1rem !important;
2024-02-05 18:20:16 +09:00
line-height: $header-line-height !important;
2024-01-22 20:44:01 +09:00
}
h3 {
2024-02-05 13:33:58 +09:00
font-size: 1rem !important;
2024-02-05 18:20:16 +09:00
font-family: $header_font !important;
font-weight: bold !important;
2024-01-22 20:44:01 +09:00
letter-spacing: .1rem !important;
2024-02-05 18:20:16 +09:00
line-height: $header-line-height !important;
2024-01-22 20:44:01 +09:00
}
h4 {
2024-02-05 13:33:58 +09:00
font-size: 1rem !important;
2024-02-05 18:20:16 +09:00
font-family: $header_font !important;
2024-01-22 20:44:01 +09:00
letter-spacing: .1rem !important;
2024-02-05 18:20:16 +09:00
line-height: $header-line-height !important;
2024-01-22 20:44:01 +09:00
}
h5 {
2024-02-05 13:33:58 +09:00
font-size: 1rem !important;
2024-02-05 18:20:16 +09:00
font-family: $header_font !important;
2024-01-22 20:44:01 +09:00
letter-spacing: .1rem !important;
2024-02-05 18:20:16 +09:00
line-height: $header-line-height !important;
2024-01-22 20:44:01 +09:00
}
h6 {
2024-02-05 13:33:58 +09:00
font-size: 1rem !important;
2024-02-05 18:20:16 +09:00
font-family: $header_font !important;
2024-01-22 20:44:01 +09:00
letter-spacing: .1rem !important;
2024-02-05 18:20:16 +09:00
line-height: $header-line-height !important;
2024-01-22 20:44:01 +09:00
}
p {
2024-02-05 13:33:58 +09:00
font-size: 0.8rem;
2024-02-05 18:20:16 +09:00
line-height: $default-line-height;
2024-02-05 13:33:58 +09:00
letter-spacing: .05rem !important;
2024-01-22 20:44:01 +09:00
margin-left: 1rem !important;
}
2024-02-05 18:20:16 +09:00
p.content-meta {
font-family: sans-serif !important;
margin-left: 0 !important;
}
2024-01-22 20:44:01 +09:00
pre {
margin-left: 1rem;
2024-02-05 18:20:16 +09:00
font-family: monospace;
2024-01-22 20:44:01 +09:00
}
2024-02-05 13:33:58 +09:00
code {
font-size: 0.8rem !important;
2024-02-05 18:20:16 +09:00
font-family: monospace;
2024-01-22 21:58:04 +09:00
}
2024-02-05 13:33:58 +09:00
a.internal {
2024-02-05 18:20:16 +09:00
margin-right: 0.8rem !important;
background-color: transparent !important;
}
.page>#quartz-body .sidebar {
padding-right: 2rem !important;
2024-02-05 13:33:58 +09:00
}