-
Notifications
You must be signed in to change notification settings - Fork 12
/
style_soundwriting.css
156 lines (130 loc) · 3.39 KB
/
style_soundwriting.css
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
/*
:root {
--documenttitle: #660000;
--bodytitle: #8e0a0c;
--bodysubtitle: #A62E1C;
--bodytitlehighlight: #eeeff3;
--bodysubtitlehighlight: #fce5e4;
--chaptertoc: #6d8899;
--chaptertoctext: white;
--chaptertocactive: var(--documenttitle);
--chaptertoctextactive: white;
--sectiontoc: white;
--sectiontoctext: #6f080b;
--sectiontocactive: var(--documenttitle);
--sectiontoctextactive: white;
--tocborder: #152f53;
--highlighttoc: #330000;
--highlighttoctext: white;
--highlighttocborder: var(--chaptertoc);
--videoplay: var(--bodytitle);
--assemblageborder: #1100aa;
--assemblagebackground: #f5f8ff;
--knowlborder: var(--bodytitlehighlight);
--knowlbackground: var(--assemblagebackground);
}
*/
:root {
/* Colors for titles */
--chaptertitle: var(--documenttitle);
--sectiontitle: var(--documenttitle);
--subsectiontitle: var(--documenttitle);
/* Set colors for blocks */
--bordercolor: var(--documenttitle);
--listbackground: #d0ccbd; /*neutral1*/
--insightbackground: #d0c681; /*muted2*/
--conventionbackground: #b1a77d; /*muted3*/
--notebackground: #93a396; /*muted4*/
--examplebackground: #a2bac2; /*muted5*/
--warningbackground: #b4bd00; /*bright4*/
--observationbackground: #48848d; /*bright6*/
}
/* Headings: */
.ptx-content section.chapter h2.heading {
color: var(--chaptertitle);
}
.ptx-content section.chapter h2.heading .title {
display:block;
font-size:larger;
margin-top: 5pt;
}
.ptx-content section.section h2.heading {
color: var(--sectiontitle);
border-top: 1pt solid;
border-bottom: 1pt solid;
margin-bottom: 20pt;
width: 100%;
}
.ptx-content section.subsection h2.heading {
color: var(--subsectiontitle);
border-bottom: 1pt solid;
margin-bottom: 20pt;
width: 90%;
}
/* frontmatter headings: */
.ptx-content section.frontmatter h2.heading {
color: var(--chaptertitle);
font-size:2em;
}
.ptx-content section.preface h2.heading,
.ptx-content section.acknowledgement h2.heading,
.ptx-content section.colophon h2.heading {
color: var(--chaptertitle);
margin-bottom: 15pt;
font-size: 1.75em;
}
.ptx-content section.preface h2.heading .title {
display:block;
font-size:larger;
}
/* Blocks: */
/* set background colors */
.ptx-content .list {
background-color: var(--listbackground);
}
.ptx-content .insight {
background-color: var(--insightbackground);
}
.ptx-content .convention {
background-color: var(--conventionbackground);
}
.ptx-content .note {
background-color: var(--notebackground);
}
.ptx-content .example {
background-color: var(--examplebackground);
}
.ptx-content .warning {
background-color: var(--warningbackground);
}
.ptx-content .observation {
background-color: var(--observationbackground);
}
/* set titles and borders */
.ptx-content .remark-like,
.ptx-content .example-like,
.ptx-content .list {
padding: 1em;
border-radius: 10px;
margin-bottom: 1em;
border: 2px solid var(--bordercolor);
}
.ptx-content .example-like .example-like {
padding: 0;
margin: 0;
border: none;
background: inherit;
}
/* override list margins */
.ptx-content .list {
margin-left: 0 !important;
margin-right: 0 !important;
}
.ptx-content .remark-like .heading,
/* .ptx-content .example-like .heading, */
.ptx-content .list figcaption {
display: block;
margin-top: -0.5em !important;
padding-bottom: 1em;
font-size: large; /*sets font caption size to match h6*/
}