r4ds/r4ds.scss

69 lines
1.2 KiB
SCSS
Raw Normal View History

/*-- scss:defaults --*/
$primary: #637238 !default;
/*-- scss:rules --*/
.sidebar-title {
color: #637238;
}
img.quarto-cover-image {
box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}
/* Headings ------------------------------------------------------ */
h2 {
margin-top: 2rem;
margin-bottom: 1rem;
font-size: 1.5rem;
}
h3 { margin-top: 1.5em; font-size: 1.2rem; }
h4 { margin-top: 1.5em; font-size: 1.1rem; }
h5 { margin-top: 1.5em; font-size: 1rem; }
h1, h2, h3, h4, h5 {
line-height: 1.3;
}
.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%);
}
2022-08-11 23:27:25 +08:00
/* Printing ------------------------------------------------ */
@media print {
:root {
font-size: 11pt;
}
#quarto-sidebar, #TOC, .nav-page {
display: none;
}
.page-columns .content {
grid-column-start: page-start;
}
.fixed-top {
position: relative;
}
.panel-caption, .figure-caption, figcaption {
color: #666;
}
}