-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
morris.css
233 lines (210 loc) · 4.27 KB
/
morris.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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
@charset "UTF-8";
/*! morris.css v1.0.0
* MIT License
* Lucas Becker
* <https://github.com/runxel/Morris>
*/
:root {
--font: Georgia, Palatino, 'Palatino Linotype', serif;
--font-header: var(--font);
--font-monospace: Consolas, monospace;
--hilight: rgb(240, 180, 15);
--txt-color-web: rgb(29, 29, 29);
--color-links: rgb(59, 128, 168);
}
::selection {
background-color: var(--hilight);
color: var(--txt-color-web);
text-shadow: none;
}
html {
font-size: 100%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
body {
color: var(--txt-color-web);
font-family: var(--font);
font-size: 18px;
line-height: 1.7;
padding: 1em;
margin: auto;
max-width: 42em;
background: #fefefe;
}
a {
color: var(--color-links);
}
a.footnote-back {
padding-left: 0.5em;
}
img {
/* prevent images from overflowing */
max-width: 100% !important;
}
header {
/* the items from the YAML metadata block will be displayed in a header element */
display: none; /* you might not want to see it */
}
ul, ol {
/* margin: 0;
padding: 0; */
}
hr {
margin: 2.2rem 0.3rem;
}
table {
margin-bottom: 30px;
width: 100%;
text-align: left;
color: #3f3f3f;
border-collapse: collapse;
border: 1px solid #e8e8e8;
box-shadow: 0 0.7px 2.4px -16px rgba(0,0,0,0.001),
0 1.7px 5.4px -16px rgba(0,0,0,0.003),
0 3px 9.3px -16px rgba(0,0,0,0.005),
0 5px 15px -16px rgba(0,0,0,0.008),
0 8.2px 24px -16px rgba(0,0,0,0.013),
0 14.3px 40.5px -16px rgba(0,0,0,0.019),
0 31px 84px -16px rgba(0,0,0,0.03);
}
table th {
background-color:#f0f0f0;
border: 1px solid#dedede;
border-bottom-color: rgb(222, 222, 222);
border-bottom-color:#c9c9c9;
}
table td {
border: 1px solid #e8e8e8;
}
table th, table td {
padding: 10px 15px;
}
table tr:nth-child(2n) {
background-color: #f7f7f7;
}
sup, sub {
vertical-align: baseline;
position: relative;
font-size: 0.6em;
top: -0.8em;
}
sub {
top: 0.3em;
}
a > sup {
font-size: 0.8em;
top: -0.6em;
}
kbd {
background-color:#fafbfc;
border: 1px solid#c6cbd1;
border-bottom-color: rgb(198, 203, 209);
border-bottom-color:#959da5;
border-radius: 4px;
box-shadow: inset 0 -1px 0#959da5;
color:#444d56;
display: inline-block;
padding: 0px 5px;
vertical-align: middle;
font-size: 80%;
position: relative;
bottom: 3px;
}
/* CODE */
code,
kbd,
pre.sourceCode {
font-family: var(--font-monospace);
}
p code {
padding: 0 0.5em;
}
pre.sourceCode {
background: rgba(0, 0, 0, 0.035);
border-radius: 0.1rem;
padding: 0.5rem;
}
code span.va { /* Booleans */
color: rgb(245, 164, 14);
}
code span.co { /* Comments */
color: rgba(0, 0, 0, 0.555);
}
code span.op { /* Operators */
color: rgb(40, 165, 165);
}
code span.kw { /* Keywords */
color: rgb(79, 158, 92);
}
code span.cf { /* cf */
color: rgb(89, 73, 163);
}
/* """"""""""""""""""""""""""""""""""""""
* The part important for creating a PDF.
*/
@media print {
@page {
size: A4;
/* 'legal' if you're in the US
* you set page orientation by either
* 'portrait' or 'landscape'
*/
margin: 15mm;
}
body {
background: transparent !important; /* we don't want any color here */
color: black !important;
font-size: 12pt;
max-width: 100%;
box-decoration-break: clone; /* boxes should be treated per page */
box-shadow: none !important;
text-shadow: none !important;
}
img,
pre,
code,
blockquote,
table,
figure,
ul,
ol,
li,
tr,
hr {
page-break-before: auto;
page-break-after: auto;
page-break-inside: avoid;
break-before: auto;
break-after: auto;
break-inside: avoid;
}
pre {
white-space: pre-wrap !important;
word-wrap: break-word;
}
/* prevent single lines at page end/start */
p,
a {
orphans: 4;
widows: 3;
}
/* always cause a page break before an h1 header */
h1 {
break-before: page;
}
/* avoid paragraphs being detached from preceding header */
h1, h2, h3 {
page-break-after: avoid;
break-after: avoid-page;
}
h1, h2, h3, h4, h5, h6 {
page-break-inside: avoid;
break-inside: avoid;
}
/* display expansions of abbreviations */
abbr[title]:after,
acronym[title]:after {
content: " (" attr(title) ")";
}
}