-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcustom.scss
89 lines (70 loc) · 1.22 KB
/
custom.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/*-- scss:defaults --*/
$link-color: #654ff0;
$code-color: #7a4aa6;
/*-- scss:rules --*/
.custom_title{
max-width: 70%;
font-size: 1.6em;
margin-bottom: 1.0em;
}
.center_xy {
margin: 0;
position: absolute;
top: 50%;
left: 50%;
}
.left {
text-align: left;
}
.smaller_text {
font-size: 0.8em;
}
.very_small_text {
font-size: 0.5em;
}
.very_small_text_grey {
font-size: 0.5em;
color:grey;
}
.grey {
color:grey;
}
// none of the approaches to making the mermaid diagram larger were successful
.mermaid svg {
max-width: 100%;
height: auto;
}
.this_mermaid{
width: 100%;
height: auto;
}
svg[id^="m"][width][height][viewBox] {
max-width: 95%;
max-height: 95%;
}
div.mermaid {
margin-left: 0 !important;
text-align: center;
resize:both;
overflow:auto;
margin-bottom: 2px;
position:relative;
max-height: 600px;
max-width: 100%;
}
.mermaid svg {
max-width: 200% !important;
width: 200% !important;
height: auto;
transform: translate(calc(-0.25 * 100%), 0) !important;
}
div.mermaid::after {
content:'';
display:block;
width:10px;
height:10px;
background-color:yellowgreen;
position:absolute;
right:0;
bottom:0;
}