-
Notifications
You must be signed in to change notification settings - Fork 4
/
print.css
155 lines (130 loc) · 2.1 KB
/
print.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
@media print{
@page {
margin: 2%;
size: letter;
}
body {
margin: auto 1.1cm;
zoom: .8;
}
}
html {
font-size:100%;
text-size-adjust:100%;
}
body {
font-size: 14px;
line-height: 1.3rem;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
color: #000;
}
a, a:hover, a:link, a:visited {
color: #357edd;
text-decoration: underline;
}
p {
display: block;
box-sizing: border-box;
margin: 0;
padding: 0.4rem 0;
}
ul {
display: block;
list-style-type: disc;
margin-block-start: 0;
margin-block-end: 1em;
margin-inline-start: 0;
margin-inline-end: 0;
padding-inline-start: 2em;
unicode-bidi: isolate;
}
li {
display: list-item;
text-align: -webkit-match-parent;
unicode-bidi: isolate;
}
h1, h2, h3, h4 {
padding: .5em 0 .2em;
margin: 0;
text-rendering: optimizeLegibility;
}
h1 {
font-size: 1.8em;
line-height: 1.2em;
}
h2 {
font-size: 1.5em;
line-height: 1.3em;
}
h3 {
font-size: 1.3em;
line-height: 1.4em;
}
h4 {
font-size: 1.1em;
line-height: 1.5em;
}
h3 + h4 {
padding-top: 0;
margin-top: 0;
}
blockquote {
padding: 0.3rem 1rem;
margin: 0;
font-size: 14px;
}
blockquote p {
margin-bottom: 0;
}
.page-break {
display: block;
break-before: always;
page-break-before: always;
}
details[open] {
margin: 0;
padding: 0;
}
details[open] br {
display: none;
}
details[open] summary {
display: none;
margin: 0;
padding: 0;
}
#truncated {
display: none;
}
div.tip {
background-color: rgb(255, 243, 205);
border: 1px solid rgb(255, 230, 156);
border-width: 1px 1px 1px 10px;
border-radius: 3px;
padding: 0.5em 1em;
margin: 1em 0;
color: rgb(102, 77, 3);
}
div.note {
background-color: rgb(207, 244, 252);
border: 1px solid rgb(158, 234, 249);
border-width: 1px 1px 1px 10px;
border-radius: 3px;
padding: 0.5em 1em;
margin: 1em 0;
color: rgb(5, 81, 96);
}
div.title {
font-weight: bold;
text-transform: uppercase;
}
div.tip div.title {
::before {
content: "💡 ";
}
}
div.note div.title {
::before {
content: "📓 ";
}
}