-
Notifications
You must be signed in to change notification settings - Fork 0
/
Embed Adjustments - ITS.css
190 lines (175 loc) · 4.81 KB
/
Embed Adjustments - ITS.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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
.theme-dark, .theme-light {
/*Sizes*/
--radius: 0px;
--tiny: 100px;
--small: 200px;
--small-med: 300px;
--med-small: 400px;
--medium: 500px;
--med-tall: 600px;
--tall: 700px;
}
/*----Embed Adjustments----*/
.internal-embed {
margin-left: auto;
margin-right: auto;
}
/*Embed Link Hide/Move*/
.internal-embed[alt*="no-lk"]:not(:hover) .markdown-embed-link,
.internal-embed:not(:hover).nlk .markdown-embed-link {
display: none;
}
.internal-embed[alt*="lk-l"] .markdown-embed-link,
.internal-embed.lk-l .markdown-embed-link {
left: 10px;
right: unset;
}
.internal-embed[alt*="lk-clear"] .markdown-embed-link,
.internal-embed.lk-clear .markdown-embed-link {
background-color: transparent;
}
/*Title Hide/Show*/
.internal-embed[alt*="no-title"] .markdown-embed-title,
.file-embed-title,
.internal-embed.no-title .markdown-embed-title {
display: none;
}
.internal-embed[alt*="ttl"] .markdown-embed-title,
.file-embed-title,
.internal-embed.ttl .markdown-embed-title {
display: block;
}
.internal-embed[alt*="right"],
.internal-embed.right {
float: right;
margin-left: .5em;
}
.internal-embed[alt*="left"],
.internal-embed.left {
float: left;
margin-right: .5em;
}
.internal-embed[alt*="center"],
.internal-embed.center {
margin: auto;
}
.internal-embed[alt*="nob"] li,
.internal-embed[alt*="nob"] li::before {
list-style: none;
margin: 0;
display: none;
}
.internal-embed[alt*="nob"] ul{
padding-inline-start: 0;
}
.internal-embed[alt*="em+"] .markdown-embed .markdown-preview-view,
.markdown-preview-view .internal-embed[alt*="em+"]:not(.image-embed) {
padding: 20px 10px;
display: block !important;
width: 100%;
background-color: var(--embed-bg);
}
.internal-embed[alt*="em+"] .markdown-embed-link{
color: var(--accent);
}
.internal-embed[alt*="clean"] .markdown-embed,
.internal-embed[alt*="clean"] .markdown-embed .markdown-preview-view,
.internal-embed[alt*="clean"] .markdown-embed-content p {
padding: 0;
margin: 0;
box-shadow: 0 0;
border: 0;
}
.internal-embed[alt*="nmg"] .markdown-embed,
.internal-embed[alt*="nmg"] .markdown-embed .markdown-preview-view {
margin: 0;
padding: 0;
}
/*Hide Headings*/
.internal-embed[alt*="no-h"] .markdown-embed h1,
.internal-embed[alt*="no-h"] .markdown-embed h2,
.internal-embed[alt*="no-h"] .markdown-embed h3,
.internal-embed[alt*="no-h"] .markdown-embed h4,
.internal-embed[alt*="no-h"] .markdown-embed h5,
.internal-embed[alt*="no-h"] .markdown-embed h6,
.internal-embed.no-h .markdown-embed h1,
.internal-embed.no-h .markdown-embed h2,
.internal-embed.no-h .markdown-embed h3,
.internal-embed.no-h .markdown-embed h4,
.internal-embed.no-h .markdown-embed h5,
.internal-embed.no-h .markdown-embed h6 {
display: none;
}
/*Hide Specific Headings*/
.internal-embed[alt*="n-h1"] .markdown-embed h1,
.internal-embed[alt*="n-h2"] .markdown-embed h2,
.internal-embed[alt*="n-h3"] .markdown-embed h3,
.internal-embed[alt*="n-h4"] .markdown-embed h4,
.internal-embed[alt*="n-h5"] .markdown-embed h5,
.internal-embed[alt*="n-h6"] .markdown-embed h6,
.internal-embed.n-h1 .markdown-embed h1,
.internal-embed.n-h2 .markdown-embed h2,
.internal-embed.n-h3 .markdown-embed h3,
.internal-embed.n-h4 .markdown-embed h4,
.internal-embed.n-h5 .markdown-embed h5,
.internal-embed.n-h6 .markdown-embed h6 {
display: none;
}
/*Height Adjustment*/
.internal-embed[alt*="htiny"] .markdown-embed-content,
.internal-embed.htiny .markdown-embed-content {
height: var(--tiny);
}
.internal-embed[alt*="hsmall"] .markdown-embed-content,
.internal-embed.hsmall .markdown-embed-content {
height: var(--small);
}
.internal-embed[alt*="hs-med"] .markdown-embed-content,
.internal-embed.hs-med .markdown-embed-content {
height: var(--small-med);
}
.internal-embed[alt*="hm-sm"] .markdown-embed-content,
.internal-embed.hm-sm .markdown-embed-content {
height: var(--med-small);
}
.internal-embed[alt*="hmed"] .markdown-embed-content,
.internal-embed.hmed .markdown-embed-content {
height: var(--medium);
}
.internal-embed[alt*="htall"] .markdown-embed-content,
.internal-embed.htall .markdown-embed-content {
height: var(--tall);
}
/*Width Adjustment*/
.internal-embed[alt*="wtiny"],
.internal-embed.wtiny {
width: 20%;
}
.internal-embed[alt*="wsmall"],
.internal-embed.wsmall{
width: 30%;
}
.internal-embed[alt*="ws-med"],
.internal-embed.ws-med{
width: 40%;
}
.internal-embed[alt*="wm-sm"],
.internal-embed.wm-sm{
width: 50%;
}
.internal-embed[alt*="wmed"],
.internal-embed.wmed{
width: 60%;
}
.internal-embed[alt*="wm-tl"],
.internal-embed.wm-tl{
width: 80%;
}
.internal-embed[alt*="wtall"],
.internal-embed.wtall{
width: 95%;
}
.internal-embed[alt*="full"] .markdown-embed-content,
.internal-embed[alt*="full"] .markdown-embed-content > .markdown-preview-view {
max-height: unset;
}