forked from marp-team/marp-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
marp-vscode.css
71 lines (61 loc) · 1.39 KB
/
marp-vscode.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
#__marp-vscode {
all: initial;
}
/* Override VS Code default CSS rules reverting to initial
https://github.com/microsoft/vscode/blob/master/src/vs/workbench/contrib/webview/browser/pre/main.js#L53 */
body.marp-vscode {
padding: 0;
}
body.marp-vscode img {
max-width: unset;
max-height: unset;
}
body.marp-vscode a,
body.marp-vscode a:hover,
body.marp-vscode code {
color: unset;
}
body.marp-vscode blockquote {
background: unset;
border-color: unset;
}
@media screen {
body.marp-vscode {
overflow-y: scroll;
}
#__marp-vscode [data-marp-vscode-slide-wrapper] {
margin: 20px;
}
#__marp-vscode svg[data-marpit-svg] {
box-shadow: 0 5px 10px rgb(0 0 0 / 25%);
display: block;
margin: 0;
}
/* Based on https://github.com/microsoft/vscode/blob/master/extensions/markdown-language-features/media/markdown.css */
#code-csp-warning {
background-color: #444;
box-shadow: 1px 1px 1px rgb(0 0 0 / 25%);
color: white;
cursor: pointer;
font-family: sans-serif;
font-size: 12px;
line-height: 22px;
margin: 16px;
padding: 6px;
position: fixed;
right: 0;
text-align: center;
top: 0;
word-wrap: break-word;
}
#code-csp-warning:hover {
text-decoration: none;
background-color: #007acc;
box-shadow: 2px 2px 2px rgb(0 0 0 / 25%);
}
}
@media print {
body.marp-vscode #code-csp-warning {
display: none;
}
}