forked from adevinta/spark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpreview-head.html
52 lines (42 loc) · 1.17 KB
/
preview-head.html
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
<script>
window.global = window
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');
/* Enabled dark mode preview in story views */
html {
background-color: rgb(var(--colors-background));
color: rgb(var(--colors-on-background));
font-family: var(--font-family-sans) !important;
}
.sbdocs-wrapper {
padding: 30px 20px !important;
}
.sbdocs-content {
display: flex !important;
gap: 24px;
max-width: 1200px !important;
height: 100%;
}
#spark-doc-container{
width: 100%;
}
.docblock-source {
border: 1px solid #ebebed7f !important;
box-shadow: none !important;
background-color: #ebebed7f !important;
}
.sbdocs-wrapper:has(iframe#tcv) > div {
max-width: unset !important;
height: auto;
}
#spark-doc-container > h1 {
color: #0052FF !important;
font-weight: 700 !important;
}
#spark-doc-container > h2, #spark-doc-container > h3, #spark-doc-container > h4, #spark-doc-container > h5 {
color: #35376A !important;
font-weight: 700 !important;
}
</style>
<link href="/normalize.css" rel="stylesheet" />