Skip to content

Commit d8be83b

Browse files
committed
Tweak css styles
1 parent 10ab439 commit d8be83b

File tree

1 file changed

+8
-26
lines changed

1 file changed

+8
-26
lines changed

r4ds.scss

+8-26
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/*-- scss:defaults --*/
22

33
$primary: #637238 !default;
4+
$font-size-root: 18px !default;
45

56
/*-- scss:rules --*/
67

@@ -22,19 +23,20 @@ img.quarto-cover-image {
2223

2324
/* Headings ------------------------------------------------------ */
2425

26+
#title-block-header.quarto-title-block.default .quarto-title h1.title {
27+
margin-bottom: 0.5rem;
28+
}
29+
2530
h2 {
2631
margin-top: 2rem;
2732
margin-bottom: 1rem;
28-
font-size: 1.5rem;
33+
font-size: 1.4rem;
34+
font-weight: 600;
2935
}
30-
h3 { margin-top: 1.5em; font-size: 1.2rem; }
36+
h3 { margin-top: 1.5em; font-size: 1.2rem; font-weight: 500; }
3137
h4 { margin-top: 1.5em; font-size: 1.1rem; }
3238
h5 { margin-top: 1.5em; font-size: 1rem; }
3339

34-
h1, h2, h3, h4, h5 {
35-
line-height: 1.3;
36-
}
37-
3840
.quarto-section-identifier {
3941
color: #6C6C6C;
4042
font-weight: normal;
@@ -54,23 +56,3 @@ code a:any-link {
5456
pre {
5557
background-image: linear-gradient(160deg,#f8f8f8 0,#f1f1f1 100%);
5658
}
57-
58-
/* Printing ------------------------------------------------ */
59-
60-
@media print {
61-
:root {
62-
font-size: 11pt;
63-
}
64-
#quarto-sidebar, #TOC, .nav-page {
65-
display: none;
66-
}
67-
.page-columns .content {
68-
grid-column-start: page-start;
69-
}
70-
.fixed-top {
71-
position: relative;
72-
}
73-
.panel-caption, .figure-caption, figcaption {
74-
color: #666;
75-
}
76-
}

0 commit comments

Comments
 (0)