forked from tidyverse/design
-
Notifications
You must be signed in to change notification settings - Fork 0
/
r4ds.scss
73 lines (55 loc) · 1.26 KB
/
r4ds.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/*-- scss:defaults --*/
$primary: #637238 !default;
$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 ------------------------------------------------------ */
#title-block-header.quarto-title-block.default .quarto-title h1.title {
margin-bottom: 0.5rem;
}
h2 {
margin-top: 2rem;
margin-bottom: 1rem;
font-size: 1.4rem;
font-weight: 600;
}
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;
}
#quarto-sidebar {
.menu-text {
font-weight: bold;
}
.chapter-title {
line-height: 1;
}
.sidebar-item {
margin-bottom: 5px;
}
}
/* Code ------------------------------------------------ */
code {
color: #373a3c;
}
code a:any-link {
text-decoration: underline;
text-decoration-color: #ccc;
}
pre {
background-image: linear-gradient(160deg,#f8f8f8 0,#f1f1f1 100%);
}