r4ds/r4ds.scss

59 lines
1.1 KiB
SCSS
Raw Permalink Normal View History

/*-- scss:defaults --*/
$primary: #637238 !default;
2023-05-19 04:01:02 +08:00
$font-size-root: 18px !default;
/*-- scss:rules --*/
.sidebar-title {
color: #637238;
}
div.sidebar-item-container .active {
font-weight: bold;
}
.sidebar nav[role=doc-toc] ul>li>a.active, .sidebar nav[role=doc-toc] ul>li>ul>li>a.active{
font-weight: bold;
}
img.quarto-cover-image {
box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}
/* Headings ------------------------------------------------------ */
2023-05-19 04:01:02 +08:00
#title-block-header.quarto-title-block.default .quarto-title h1.title {
margin-bottom: 0.5rem;
}
h2 {
margin-top: 2rem;
margin-bottom: 1rem;
2023-05-19 04:01:02 +08:00
font-size: 1.4rem;
font-weight: 600;
}
2023-05-19 04:01:02 +08:00
h3 { margin-top: 1.5em; font-size: 1.2rem; font-weight: 500; }
h4 { margin-top: 1.5em; font-size: 1.1rem; }
h5 { margin-top: 1.5em; font-size: 1rem; }
.quarto-section-identifier {
color: #6C6C6C;
font-weight: normal;
}
/* Code ------------------------------------------------ */
2022-05-26 23:24:01 +08:00
code {
color: #373a3c;
}
code a:any-link {
text-decoration: underline;
text-decoration-color: #ccc;
}
pre {
background-image: linear-gradient(160deg,#f8f8f8 0,#f1f1f1 100%);
}