-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpost-print.scss
69 lines (58 loc) · 1.12 KB
/
post-print.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
@media print {
body.post {
padding-top: 2rem;
.post-sidebar,
.g-header,
.after-post {
display: none;
}
.post-header {
background: transparent;
color: #24292e;
height: auto;
padding-top: 0;
.post-meta .post-meta-item {
color: inherit;
font-weight: bold;
}
.post-tags {
display: none;
}
}
&,
.post-header-wrapper,
.post-page-content,
.post-content,
.markdown-body {
background: white;
}
code[class*="language-"],
pre[class*="language-"],
.markdown-body p code {
white-space: pre-wrap;
}
pre.reveal {
text-align: inherit;
> * {
display: inline;
}
&:after {
content: unset;
}
}
.post-page-content,
.post-header-inner,
.post-content,
.markdown-body {
width: 100vw !important;
max-width: 100vw !important;
}
.post-content {
margin-left: 2rem;
overflow: visible;
}
img.screenshot-white {
box-sizing: border-box; // So the border doesn't go off the edge
}
}
}