@x-titan/fetcher 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.obsidian/app.json +7 -0
- package/.obsidian/appearance.json +5 -0
- package/.obsidian/community-plugins.json +7 -0
- package/.obsidian/core-plugins.json +33 -0
- package/.obsidian/hotkeys.json +19 -0
- package/.obsidian/icons/boxicons.zip +0 -0
- package/.obsidian/icons/font-awesome-brands.zip +0 -0
- package/.obsidian/icons/font-awesome-regular.zip +0 -0
- package/.obsidian/icons/font-awesome-solid.zip +0 -0
- package/.obsidian/icons/simple-icons.zip +0 -0
- package/.obsidian/plugins/advanced-canvas/main.js +7372 -0
- package/.obsidian/plugins/advanced-canvas/manifest.json +11 -0
- package/.obsidian/plugins/advanced-canvas/styles.css +508 -0
- package/.obsidian/plugins/canvas-mindmap/main.js +8 -0
- package/.obsidian/plugins/canvas-mindmap/manifest.json +15 -0
- package/.obsidian/plugins/canvas-mindmap/styles.css +29 -0
- package/.obsidian/plugins/custom-sidebar-icons/main.js +37831 -0
- package/.obsidian/plugins/custom-sidebar-icons/manifest.json +15 -0
- package/.obsidian/plugins/custom-sidebar-icons/styles.css +1 -0
- package/.obsidian/plugins/iconic/data.json +38 -0
- package/.obsidian/plugins/iconic/main.js +9 -0
- package/.obsidian/plugins/iconic/manifest.json +10 -0
- package/.obsidian/plugins/iconic/styles.css +609 -0
- package/.obsidian/plugins/obsidian-excalidraw-plugin/main.js +10 -0
- package/.obsidian/plugins/obsidian-excalidraw-plugin/manifest.json +12 -0
- package/.obsidian/plugins/obsidian-excalidraw-plugin/styles.css +1 -0
- package/.obsidian/plugins/obsidian-icon-folder/data.json +31 -0
- package/.obsidian/plugins/obsidian-icon-folder/main.js +7158 -0
- package/.obsidian/plugins/obsidian-icon-folder/manifest.json +10 -0
- package/.obsidian/plugins/obsidian-icon-folder/styles.css +120 -0
- package/.obsidian/plugins/obsidian-kanban/main.js +153 -0
- package/.obsidian/plugins/obsidian-kanban/manifest.json +11 -0
- package/.obsidian/plugins/obsidian-kanban/styles.css +1 -0
- package/.obsidian/plugins/table-editor-obsidian/data.json +6 -0
- package/.obsidian/plugins/table-editor-obsidian/main.js +236 -0
- package/.obsidian/plugins/table-editor-obsidian/manifest.json +17 -0
- package/.obsidian/plugins/table-editor-obsidian/styles.css +78 -0
- package/.obsidian/snippets/CustomIcon-AutoGen.css +17 -0
- package/.obsidian/templates.json +3 -0
- package/.obsidian/themes/ASET Simple/.editorconfig +10 -0
- package/.obsidian/themes/ASET Simple/.git1/HEAD +1 -0
- package/.obsidian/themes/ASET Simple/.git1/config +13 -0
- package/.obsidian/themes/ASET Simple/.git1/description +1 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/applypatch-msg.sample +15 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/commit-msg.sample +24 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/fsmonitor-watchman.sample +174 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/post-update.sample +8 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/pre-applypatch.sample +14 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/pre-commit.sample +49 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/pre-merge-commit.sample +13 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/pre-push.sample +53 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/pre-rebase.sample +169 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/pre-receive.sample +24 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/prepare-commit-msg.sample +42 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/push-to-checkout.sample +78 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/sendemail-validate.sample +77 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/update.sample +128 -0
- package/.obsidian/themes/ASET Simple/.git1/index +0 -0
- package/.obsidian/themes/ASET Simple/.git1/info/exclude +6 -0
- package/.obsidian/themes/ASET Simple/.git1/objects/pack/pack-37b1d733e37d8c14f634edcfb396cffa341c1de9.idx +0 -0
- package/.obsidian/themes/ASET Simple/.git1/objects/pack/pack-37b1d733e37d8c14f634edcfb396cffa341c1de9.pack +0 -0
- package/.obsidian/themes/ASET Simple/.git1/objects/pack/pack-37b1d733e37d8c14f634edcfb396cffa341c1de9.rev +0 -0
- package/.obsidian/themes/ASET Simple/.git1/packed-refs +2 -0
- package/.obsidian/themes/ASET Simple/.git1/refs/heads/master +1 -0
- package/.obsidian/themes/ASET Simple/.git1/refs/remotes/origin/HEAD +1 -0
- package/.obsidian/themes/ASET Simple/.github/workflows/release-version.yml +50 -0
- package/.obsidian/themes/ASET Simple/README.md +95 -0
- package/.obsidian/themes/ASET Simple/manifest.json +7 -0
- package/.obsidian/themes/ASET Simple/package.json +7 -0
- package/.obsidian/themes/ASET Simple/theme.css +164 -0
- package/.obsidian/themes/ASET Simple/version-bump.mjs +26 -0
- package/.obsidian/themes/ASET Simple/versions.json +3 -0
- package/.obsidian/themes/Atom/manifest.json +6 -0
- package/.obsidian/themes/Atom/theme.css +339 -0
- package/.obsidian/themes/Borealis/manifest.json +7 -0
- package/.obsidian/themes/Borealis/theme.css +1164 -0
- package/.obsidian/themes/Cupertino/manifest.json +8 -0
- package/.obsidian/themes/Cupertino/theme.css +107 -0
- package/.obsidian/themes/Flexoki/manifest.json +7 -0
- package/.obsidian/themes/Flexoki/theme.css +82 -0
- package/.obsidian/themes/Focus/manifest.json +7 -0
- package/.obsidian/themes/Focus/theme.css +1047 -0
- package/.obsidian/themes/GitHub Theme/manifest.json +7 -0
- package/.obsidian/themes/GitHub Theme/theme.css +1245 -0
- package/.obsidian/themes/Minimal/manifest.json +8 -0
- package/.obsidian/themes/Minimal/theme.css +2223 -0
- package/.obsidian/themes/Notation/manifest.json +6 -0
- package/.obsidian/themes/Notation/theme.css +831 -0
- package/.obsidian/themes/Notation 2/manifest.json +7 -0
- package/.obsidian/themes/Notation 2/theme.css +1887 -0
- package/.obsidian/themes/Oreo/manifest.json +7 -0
- package/.obsidian/themes/Oreo/theme.css +2242 -0
- package/.obsidian/themes/Pure/manifest.json +6 -0
- package/.obsidian/themes/Pure/theme.css +288 -0
- package/.obsidian/themes/Simple/manifest.json +7 -0
- package/.obsidian/themes/Simple/theme.css +1005 -0
- package/.obsidian/themes/Sodalite/manifest.json +7 -0
- package/.obsidian/themes/Sodalite/theme.css +905 -0
- package/.obsidian/themes/Things/manifest.json +7 -0
- package/.obsidian/themes/Things/theme.css +1628 -0
- package/.obsidian/themes/Vanilla AMOLED/manifest.json +7 -0
- package/.obsidian/themes/Vanilla AMOLED/theme.css +25 -0
- package/.obsidian/themes/Vanilla AMOLED Color/manifest.json +7 -0
- package/.obsidian/themes/Vanilla AMOLED Color/theme.css +49 -0
- package/.obsidian/themes/Wikipedia/manifest.json +7 -0
- package/.obsidian/themes/Wikipedia/theme.css +1134 -0
- package/.obsidian/themes/mono black (monochrome, charcoal)/manifest.json +7 -0
- package/.obsidian/themes/mono black (monochrome, charcoal)/theme.css +17 -0
- package/.obsidian/workspace.json +218 -0
- package/LICENCE +21 -0
- package/dist/fetcher.d.ts +17 -0
- package/dist/fetcher.d.ts.map +1 -0
- package/dist/fetcher.js +54 -0
- package/dist/fetcher.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +25 -0
- package/dist/index.js.map +1 -0
- package/dist/responses.d.ts +6 -0
- package/dist/responses.d.ts.map +1 -0
- package/dist/responses.js +23 -0
- package/dist/responses.js.map +1 -0
- package/dist/types.d.ts +9 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +3 -0
- package/dist/types.js.map +1 -0
- package/dist/utils.d.ts +3 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +9 -0
- package/dist/utils.js.map +1 -0
- package/nodemon.json +6 -0
- package/package.json +38 -0
- package/src/fetcher.ts +68 -0
- package/src/index.ts +7 -0
- package/src/responses.ts +19 -0
- package/src/types.ts +15 -0
- package/src/utils.ts +9 -0
- package/tsconfig.json +49 -0
- package/tsup.config.ts +11 -0
|
@@ -0,0 +1,831 @@
|
|
|
1
|
+
/***** TABLE OF CONTENTS *****/
|
|
2
|
+
/* 1. Font
|
|
3
|
+
/* 2. Colours
|
|
4
|
+
/* 2.1. Hue options (change these numbers for an entirely new look!)
|
|
5
|
+
/* 2.2. Dark theme
|
|
6
|
+
/* 2.3. Light theme
|
|
7
|
+
/* 2.4. Common (calculated)
|
|
8
|
+
/* 3. General UI
|
|
9
|
+
/* 3.1. Title Bar
|
|
10
|
+
/* 4. Markdown (editor / preview)
|
|
11
|
+
/* 4.1. Headings
|
|
12
|
+
/* 4.1.1. Fix font weights
|
|
13
|
+
/* 4.2. Links
|
|
14
|
+
/* 4.2.1. Nifty arrow before internal links (also applies to embeds)
|
|
15
|
+
/* 4.3. Embeds
|
|
16
|
+
/* 4.4. Tables
|
|
17
|
+
/* 4.5. Popovers
|
|
18
|
+
/* 4.6. Task Lists
|
|
19
|
+
/* 4.7. Blockquotes
|
|
20
|
+
/* 4.8. Code
|
|
21
|
+
/* 4.9. Bulleted lists
|
|
22
|
+
/* 4.10. Misc Fixes
|
|
23
|
+
/* 5. Graph view colours
|
|
24
|
+
/* 6. Notion Colour Blocks
|
|
25
|
+
/* 7. In-document header (scrolls with the document) [remove for compatibility with Andy's mode]
|
|
26
|
+
/* 7.1. Adjustments for non-in-document headers (graphs, etc)\
|
|
27
|
+
/* 7.2. Active pane border
|
|
28
|
+
/* 7.3. Misc fixes
|
|
29
|
+
/* 8. Tags
|
|
30
|
+
/* 8.1. Tag custom colours
|
|
31
|
+
/***** *****/
|
|
32
|
+
|
|
33
|
+
/* 1. Font */
|
|
34
|
+
body {
|
|
35
|
+
/* font stacks taken directly from Notion */
|
|
36
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
|
|
37
|
+
--font-monospace: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
38
|
+
-webkit-font-smoothing: auto;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* 2. Colours */
|
|
42
|
+
/* 2.1. Hue options ( change these numbers for an entirely new look!) */
|
|
43
|
+
body.theme-light,
|
|
44
|
+
body.theme-dark {
|
|
45
|
+
/* change these numbers for an entirely new look */
|
|
46
|
+
--hue: 203;
|
|
47
|
+
--sat: 8%;
|
|
48
|
+
--interactive-accent-rgb: 46, 170, 220;
|
|
49
|
+
--code: #EB5757;
|
|
50
|
+
|
|
51
|
+
--opacity-translucency: 0.7;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* 2.2. Dark theme */
|
|
55
|
+
.theme-dark {
|
|
56
|
+
--L0: 0%;
|
|
57
|
+
--L1: 20%;
|
|
58
|
+
--L2: 23%;
|
|
59
|
+
--L3: 26%;
|
|
60
|
+
|
|
61
|
+
--text-rgb: 255, 255, 255;
|
|
62
|
+
|
|
63
|
+
--text-highlight-bg: rgb(89, 86, 59);
|
|
64
|
+
--text-selection: hsla(211, 100%, 50%, 0.2);
|
|
65
|
+
--interactive-normal: #2a2a2a;
|
|
66
|
+
--interactive-hover: #303030;
|
|
67
|
+
|
|
68
|
+
--text-gray: rgba(255, 255, 255, 0.6);
|
|
69
|
+
--text-brown: rgb(147, 114, 100);
|
|
70
|
+
--text-orange: rgb(255, 163, 68);
|
|
71
|
+
--text-yellow: rgb(255, 220, 73);
|
|
72
|
+
--text-green: rgb(77, 171, 154);
|
|
73
|
+
--text-blue: rgb(82, 156, 202);
|
|
74
|
+
--text-purple: rgb(154, 109, 215);
|
|
75
|
+
--text-pink: rgb(226, 85, 161);
|
|
76
|
+
--text-red: rgb(255, 115, 105);
|
|
77
|
+
|
|
78
|
+
--background-gray: rgb(69, 75, 78);
|
|
79
|
+
--background-brown: rgb(67, 64, 64);
|
|
80
|
+
--background-orange: rgb(89, 74, 58);
|
|
81
|
+
--background-yellow: rgb(89, 86, 59);
|
|
82
|
+
--background-green: rgb(53, 76, 75);
|
|
83
|
+
--background-blue: rgb(54, 73, 84);
|
|
84
|
+
--background-purple: rgb(68, 63, 87);
|
|
85
|
+
--background-pink: rgb(83, 59, 76);
|
|
86
|
+
--background-red: rgb(89, 65, 65);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/* 2.3. Light theme */
|
|
90
|
+
.theme-light {
|
|
91
|
+
--L0: 0%;
|
|
92
|
+
--L1: 100%;
|
|
93
|
+
--L2: 96%;
|
|
94
|
+
--L3: 90%;
|
|
95
|
+
|
|
96
|
+
--text-rgb: 55, 53, 47;
|
|
97
|
+
|
|
98
|
+
--text-highlight-bg: rgb(251, 243, 219);
|
|
99
|
+
--text-selection: rgba(0, 122, 255, 0.15);
|
|
100
|
+
--interactive-normal: #f2f3f5;
|
|
101
|
+
--interactive-hover: #e9e9e9;
|
|
102
|
+
|
|
103
|
+
--text-gray: rgba(55, 53, 47, 0.6);
|
|
104
|
+
--text-brown: rgb(100, 71, 58);
|
|
105
|
+
--text-orange: rgb(217, 115, 13);
|
|
106
|
+
--text-yellow: rgb(223, 171, 1);
|
|
107
|
+
--text-green: rgb(15, 123, 108);
|
|
108
|
+
--text-blue: rgb(11, 110, 153);
|
|
109
|
+
--text-purple: rgb(105, 64, 165);
|
|
110
|
+
--text-pink: rgb(173, 26, 114);
|
|
111
|
+
--text-red: rgb(224, 62, 62);
|
|
112
|
+
|
|
113
|
+
--background-gray: rgb(235, 236, 237);
|
|
114
|
+
--background-brown: rgb(233, 229, 227);
|
|
115
|
+
--background-orange: rgb(250, 235, 221);
|
|
116
|
+
--background-yellow: rgb(251, 243, 219);
|
|
117
|
+
--background-green: rgb(221, 237, 234);
|
|
118
|
+
--background-blue: rgb(221, 235, 241);
|
|
119
|
+
--background-purple: rgb(234, 228, 242);
|
|
120
|
+
--background-pink: rgb(244, 223, 235);
|
|
121
|
+
--background-red: rgb(251, 228, 228);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/* 2.4. Common (calculated) */
|
|
125
|
+
body.theme-light,
|
|
126
|
+
body.theme-dark {
|
|
127
|
+
--background-primary: hsl(var(--hue), var(--sat), var(--L1));
|
|
128
|
+
--background-primary-alt: hsl(var(--hue), var(--sat), var(--L3));
|
|
129
|
+
--background-secondary: hsl(var(--hue), var(--sat), var(--L2));
|
|
130
|
+
--background-secondary-alt: hsl(var(--hue), var(--sat), var(--L3));
|
|
131
|
+
--background-accent: hsl(var(--hue), var(--sat), var(--L0));
|
|
132
|
+
--background-modifier-border: rgba(var(--text-rgb), 0.14);
|
|
133
|
+
--text-accent: rgba(var(--text-rgb), 0.45);
|
|
134
|
+
--text-accent-hover: rgba(var(--text-rgb), 0.45);
|
|
135
|
+
--text-normal: rgba(var(--text-rgb), 0.9);
|
|
136
|
+
--text-muted: rgba(var(--text-rgb), 0.45);
|
|
137
|
+
--text-faint: rgba(var(--text-rgb), 0.25);
|
|
138
|
+
--text-on-accent: rgba(var(--text-rgb), 0.9);
|
|
139
|
+
--interactive-accent: rgb(var(--interactive-accent-rgb));
|
|
140
|
+
--interactive-accent-hover: rgba(var(--interactive-accent-rgb), 0.8);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
body.theme-light {
|
|
144
|
+
--background-primary-alt: hsl(var(--hue), var(--sat), var(--L2));
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/* 3. General UI */
|
|
148
|
+
.view-header-title {
|
|
149
|
+
font-weight: 700;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/* 3.1. Title bar */
|
|
153
|
+
.titlebar {
|
|
154
|
+
background-color: var(--background-secondary-alt);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.titlebar-inner {
|
|
158
|
+
color: var(--text-normal);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/* 4. Markdown (editor / preview)
|
|
162
|
+
/* 4.1. Headings */
|
|
163
|
+
.markdown-preview-view h1 {
|
|
164
|
+
font-size: 30px;
|
|
165
|
+
margin-top: 32px;
|
|
166
|
+
margin-bottom: 4px;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.markdown-preview-view h2 {
|
|
170
|
+
font-size: 24px;
|
|
171
|
+
margin-top: 23px;
|
|
172
|
+
margin-bottom: 1px;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.markdown-preview-view h3,
|
|
176
|
+
.markdown-preview-view h4,
|
|
177
|
+
.markdown-preview-view h5,
|
|
178
|
+
.markdown-preview-view h6 {
|
|
179
|
+
font-size: 20px;
|
|
180
|
+
margin-top: 16px;
|
|
181
|
+
margin-bottom: 0px;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.cm-s-obsidian .cm-header-1 {
|
|
185
|
+
font-size: 30px;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.cm-s-obsidian .cm-header-2 {
|
|
189
|
+
font-size: 24px;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.cm-s-obsidian .cm-header-3,
|
|
193
|
+
.cm-s-obsidian .cm-header-4,
|
|
194
|
+
.cm-s-obsidian .cm-header-5,
|
|
195
|
+
.cm-s-obsidian .cm-header-6 {
|
|
196
|
+
font-size: 20px;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.cm-s-obsidian .cm-header-6 {
|
|
200
|
+
color: var(--text-muted);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/* 4.1.1. Fix font weights */
|
|
204
|
+
h1,
|
|
205
|
+
h2,
|
|
206
|
+
h3,
|
|
207
|
+
h4,
|
|
208
|
+
h5,
|
|
209
|
+
h6,
|
|
210
|
+
strong,
|
|
211
|
+
.cm-s-obsidian .cm-header {
|
|
212
|
+
font-weight: 600;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/* 4.2. Links */
|
|
216
|
+
.external-link {
|
|
217
|
+
background-image: none;
|
|
218
|
+
/* no external link indicator */
|
|
219
|
+
padding: 0;
|
|
220
|
+
color: var(--text-normal);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.markdown-preview-view .internal-link,
|
|
224
|
+
.popover.hover-popover .markdown-embed .internal-link {
|
|
225
|
+
white-space: nowrap;
|
|
226
|
+
overflow: hidden;
|
|
227
|
+
text-overflow: ellipsis;
|
|
228
|
+
font-weight: 500;
|
|
229
|
+
line-height: 1.3;
|
|
230
|
+
border-bottom: 1px solid var(--background-modifier-border);
|
|
231
|
+
color: var(--text-normal);
|
|
232
|
+
text-decoration: none;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.markdown-preview-view .internal-link.is-unresolved {
|
|
236
|
+
color: var(--text-muted);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.cm-s-obsidian span.cm-link.cm-hmd-barelink {
|
|
240
|
+
/* Not actually a link */
|
|
241
|
+
color: var(--text-normal);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/* 4.2.1. Nifty arrow before internal links (also applies to embeds) */
|
|
245
|
+
.internal-link::before,
|
|
246
|
+
.markdown-embed-link::before {
|
|
247
|
+
content: " ";
|
|
248
|
+
background-color: var(--text-normal);
|
|
249
|
+
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpolygon points='5.4 26 24 7.4 24 20 26 20 26 4 10 4 10 6 22.6 6 4 24.6'%3E%3C/polygon%3E%3C/svg%3E");
|
|
250
|
+
display: inline-block;
|
|
251
|
+
width: 14px;
|
|
252
|
+
height: 14px;
|
|
253
|
+
margin-right: 2px;
|
|
254
|
+
margin-bottom: -1px;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.markdown-preview-view .internal-link.is-unresolved::before {
|
|
258
|
+
background-color: var(--text-muted);
|
|
259
|
+
-webkit-mask-image: url('data:image/svg+xml;charset=UTF-8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.977 14.963c.407 0 .747-.324.747-.723V8.72h5.362c.399 0 .74-.34.74-.747a.746.746 0 00-.74-.738H8.724V1.706c0-.398-.34-.722-.747-.722a.732.732 0 00-.739.722v5.529h-5.37a.746.746 0 00-.74.738c0 .407.341.747.74.747h5.37v5.52c0 .399.332.723.739.723z"></path></svg>');
|
|
260
|
+
width: 13px;
|
|
261
|
+
height: 13px;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/* 4.3. embeds (mimics embedded tables from Notion) */
|
|
265
|
+
.markdown-embed-title,
|
|
266
|
+
.markdown-embed-content h1:first-child,
|
|
267
|
+
.markdown-embed-content h2:first-child,
|
|
268
|
+
.markdown-embed-content h3:first-child,
|
|
269
|
+
.markdown-embed-content h4:first-child,
|
|
270
|
+
.markdown-embed-content h5:first-child,
|
|
271
|
+
.markdown-embed-content h6:first-child {
|
|
272
|
+
font-size: 1.25em;
|
|
273
|
+
line-height: 1.5;
|
|
274
|
+
font-weight: 600;
|
|
275
|
+
text-align: left;
|
|
276
|
+
margin-top: 0;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.markdown-embed-title {
|
|
280
|
+
padding-left: 30px;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.markdown-preview-view .markdown-embed {
|
|
284
|
+
border: none;
|
|
285
|
+
margin: 0;
|
|
286
|
+
border-bottom: 1px solid var(--background-modifier-border);
|
|
287
|
+
border-radius: 0;
|
|
288
|
+
padding-bottom: 5px;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.markdown-embed .markdown-preview-view {
|
|
292
|
+
padding-left: 8px;
|
|
293
|
+
padding-right: 4px;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.markdown-embed-link {
|
|
297
|
+
color: var(--text-normal);
|
|
298
|
+
right: unset;
|
|
299
|
+
left: 0;
|
|
300
|
+
top: 3px;
|
|
301
|
+
height: 30px;
|
|
302
|
+
width: calc(100% - 20px);
|
|
303
|
+
margin-left: 4px;
|
|
304
|
+
border-bottom: 1px solid var(--background-modifier-border);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.markdown-embed-link::before {
|
|
308
|
+
font-size: 0.8em;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.markdown-embed-link svg {
|
|
312
|
+
display: none;
|
|
313
|
+
/* hide the svg link icon, gets replaced with a nifty arrow */
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/* 4.4. Tables */
|
|
317
|
+
/* fix for long markdown editor text (tables) getting cut off */
|
|
318
|
+
.CodeMirror-scroll {
|
|
319
|
+
margin-right: -10px;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
/* table headers and first column styling */
|
|
323
|
+
.markdown-preview-view th:first-child,
|
|
324
|
+
.markdown-preview-view td:first-child {
|
|
325
|
+
border-left: none;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.markdown-preview-view th:last-child,
|
|
329
|
+
.markdown-preview-view td:last-child {
|
|
330
|
+
border-right: none;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.markdown-preview-view th {
|
|
334
|
+
text-align: left;
|
|
335
|
+
font-weight: normal;
|
|
336
|
+
color: var(--text-muted);
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.markdown-preview-view td:first-child {
|
|
340
|
+
font-weight: 600;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.markdown-preview-view hr {
|
|
344
|
+
height: 1px;
|
|
345
|
+
opacity: 0.5;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
/* 4.5. Popovers */
|
|
349
|
+
.popover.hover-popover .markdown-embed-link {
|
|
350
|
+
border-bottom: none;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/* 4.6. Task lists */
|
|
354
|
+
.markdown-preview-view .task-list-item-checkbox {
|
|
355
|
+
-webkit-appearance: none;
|
|
356
|
+
box-sizing: border-box;
|
|
357
|
+
border: 1px solid var(--text-normal);
|
|
358
|
+
position: relative;
|
|
359
|
+
width: 16px;
|
|
360
|
+
height: 16px;
|
|
361
|
+
margin: 0;
|
|
362
|
+
margin-right: 4px;
|
|
363
|
+
margin-bottom: 2px;
|
|
364
|
+
transition: background-color 200ms ease-out 0s;
|
|
365
|
+
cursor: pointer;
|
|
366
|
+
filter: none;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.markdown-preview-view .task-list-item-checkbox:checked {
|
|
370
|
+
border: none;
|
|
371
|
+
background-color: var(--interactive-accent);
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.markdown-preview-view .task-list-item-checkbox:hover {
|
|
375
|
+
background-color: var(--background-primary-alt);
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
/* the SVG check mark */
|
|
379
|
+
.markdown-preview-view .task-list-item-checkbox:checked::before {
|
|
380
|
+
content: ' ';
|
|
381
|
+
position: absolute;
|
|
382
|
+
background-color: white;
|
|
383
|
+
left: 2px;
|
|
384
|
+
top: 2px;
|
|
385
|
+
right: 2px;
|
|
386
|
+
bottom: 2px;
|
|
387
|
+
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpolygon points='5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039'%3E%3C/polygon%3E%3C/svg%3E");
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.markdown-preview-view ul>li.task-list-item.is-checked {
|
|
391
|
+
text-decoration: line-through;
|
|
392
|
+
color: var(--text-muted);
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
/* 4.7. Blockquotes */
|
|
396
|
+
.markdown-preview-view blockquote,
|
|
397
|
+
.cm-s-obsidian pre.HyperMD-quote-1 {
|
|
398
|
+
border: none;
|
|
399
|
+
border-left: 3px solid currentcolor;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/* for some reason messing with the padding and size like this caused weirdness
|
|
403
|
+
with the editor mode cursor position. So just preview for now */
|
|
404
|
+
.markdown-preview-view blockquote {
|
|
405
|
+
padding: 0 0.9em;
|
|
406
|
+
font-size: 1.2em;
|
|
407
|
+
margin: 3px 2px;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
/* 4.8. Code */
|
|
411
|
+
.markdown-preview-view code,
|
|
412
|
+
.cm-s-obsidian span.cm-inline-code,
|
|
413
|
+
.cm-s-obsidian pre.HyperMD-codeblock {
|
|
414
|
+
color: var(--code);
|
|
415
|
+
font-family: var(--font-monospace);
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.markdown-preview-view pre>code {
|
|
419
|
+
padding: 24px 6px 24px 10px;
|
|
420
|
+
color: var(--text-normal);
|
|
421
|
+
display: block;
|
|
422
|
+
overflow: auto;
|
|
423
|
+
white-space: pre;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
/* 4.9. Bulleted lists */
|
|
427
|
+
ul {
|
|
428
|
+
list-style-type: disc;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
ul,
|
|
432
|
+
ol {
|
|
433
|
+
padding-inline-start: 24px;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
ul>li,
|
|
437
|
+
ol>li {
|
|
438
|
+
padding: 3px 2px;
|
|
439
|
+
min-height: calc(1.5em + 6px);
|
|
440
|
+
margin-top: 2px;
|
|
441
|
+
margin-bottom: 1px;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
/* 4.10. Misc fixes */
|
|
445
|
+
.cm-s-obsidian span.cm-quote {
|
|
446
|
+
color: var(--text-normal);
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/* escape character */
|
|
450
|
+
.cm-s-obsidian span.cm-hmd-escape-backslash {
|
|
451
|
+
color: var(--text-faint);
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
/* highlight */
|
|
455
|
+
.markdown-preview-view mark {
|
|
456
|
+
color: var(--text-normal);
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
/* 5. Graph view colours */
|
|
460
|
+
.graph-view.color-fill,
|
|
461
|
+
.graph-view.color-arrow {
|
|
462
|
+
color: hsl(var(--hue), var(--sat), 50%);
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.graph-view.color-fill-unresolved {
|
|
466
|
+
color: hsl(var(--hue), var(--sat), 50%);
|
|
467
|
+
opacity: 0.5;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
.graph-view.color-line {
|
|
471
|
+
color: hsl(var(--hue), var(--sat), 50%);
|
|
472
|
+
opacity: 0.25;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.graph-view.color-text {
|
|
476
|
+
color: var(--text-normal);
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.graph-view.color-fill-highlight {
|
|
480
|
+
color: var(--interactive-accent);
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.graph-view.color-line-highlight {
|
|
484
|
+
color: var(--interactive-accent);
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
.theme-light .graph-view.color-fill-attachment,
|
|
488
|
+
.theme-dark .graph-view.color-fill-attachment {
|
|
489
|
+
color: var(--background-blue);
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
.theme-dark .graph-view.color-fill-tag,
|
|
493
|
+
.theme-light .graph-view.color-fill-tag {
|
|
494
|
+
color: var(--text-yellow);
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
/* 6. Notion Colour Blocks */
|
|
498
|
+
/* Original idea from: https://gist.github.com/mklepaczewski/54e451f09994b9d450de81c8baaf8aa4 */
|
|
499
|
+
/* but also with simpler classes so you can use `<span class='colour'>` as well */
|
|
500
|
+
|
|
501
|
+
.app-container .markdown-preview-view pre[class*="language-note-"] {
|
|
502
|
+
padding: 3px 2px;
|
|
503
|
+
border-radius: 0;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.app-container .markdown-preview-view pre[class*="language-note-"] code[class*="language-note-"] {
|
|
507
|
+
color: var(--text-normal);
|
|
508
|
+
white-space: pre-wrap;
|
|
509
|
+
font-family: var(--default-font);
|
|
510
|
+
font-size: 1rem;
|
|
511
|
+
padding: 0;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
.app-container .markdown-preview-view pre.language-note-notice,
|
|
515
|
+
.app-container .markdown-preview-view pre.language-note-gray-background,
|
|
516
|
+
.app-container .markdown-preview-view pre.language-note-gray-bg,
|
|
517
|
+
.gray-background,
|
|
518
|
+
.gray-bg {
|
|
519
|
+
background-color: var(--background-gray);
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.app-container .markdown-preview-view pre.language-note-brown-background,
|
|
523
|
+
.app-container .markdown-preview-view pre.language-note-brown-bg,
|
|
524
|
+
.brown-background,
|
|
525
|
+
.brown-bg {
|
|
526
|
+
background-color: var(--background-brown);
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
.app-container .markdown-preview-view pre.language-note-orange-background,
|
|
530
|
+
.app-container .markdown-preview-view pre.language-note-orange-bg,
|
|
531
|
+
.orange-background,
|
|
532
|
+
.orange-bg {
|
|
533
|
+
background-color: var(--background-orange);
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
.app-container .markdown-preview-view pre.language-note-warn,
|
|
537
|
+
.app-container .markdown-preview-view pre.language-note-yellow-background,
|
|
538
|
+
.app-container .markdown-preview-view pre.language-note-yellow-bg,
|
|
539
|
+
.yellow-background,
|
|
540
|
+
.yellow-bg {
|
|
541
|
+
background-color: var(--background-yellow)
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.app-container .markdown-preview-view pre.language-note-success,
|
|
545
|
+
.app-container .markdown-preview-view pre.language-note-green-background,
|
|
546
|
+
.app-container .markdown-preview-view pre.language-note-green-bg,
|
|
547
|
+
.green-background,
|
|
548
|
+
.green-bg {
|
|
549
|
+
background-color: var(--background-green);
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
.app-container .markdown-preview-view pre.language-note-info,
|
|
553
|
+
.app-container .markdown-preview-view pre.language-note-blue-background,
|
|
554
|
+
.app-container .markdown-preview-view pre.language-note-blue-bg,
|
|
555
|
+
.blue-background,
|
|
556
|
+
.blue-bg {
|
|
557
|
+
background-color: var(--background-blue);
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
.app-container .markdown-preview-view pre.language-note-purple-background,
|
|
561
|
+
.app-container .markdown-preview-view pre.language-note-purple-bg,
|
|
562
|
+
.purple-background,
|
|
563
|
+
.purple-bg {
|
|
564
|
+
background-color: var(--background-purple);
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
.app-container .markdown-preview-view pre.language-note-pink-background,
|
|
568
|
+
.app-container .markdown-preview-view pre.language-note-pink-bg,
|
|
569
|
+
.pink-background,
|
|
570
|
+
.pink-bg {
|
|
571
|
+
background-color: var(--background-pink);
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
.app-container .markdown-preview-view pre.language-note-danger,
|
|
575
|
+
.app-container .markdown-preview-view pre.language-note-red-background,
|
|
576
|
+
.app-container .markdown-preview-view pre.language-note-red-bg,
|
|
577
|
+
.red-background,
|
|
578
|
+
.red-bg {
|
|
579
|
+
background-color: var(--background-red);
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
.app-container .markdown-preview-view pre.language-note-gray,
|
|
583
|
+
.app-container .markdown-preview-view pre.language-note-brown,
|
|
584
|
+
.app-container .markdown-preview-view pre.language-note-orange,
|
|
585
|
+
.app-container .markdown-preview-view pre.language-note-yellow,
|
|
586
|
+
.app-container .markdown-preview-view pre.language-note-green,
|
|
587
|
+
.app-container .markdown-preview-view pre.language-note-blue,
|
|
588
|
+
.app-container .markdown-preview-view pre.language-note-purple,
|
|
589
|
+
.app-container .markdown-preview-view pre.language-note-pink,
|
|
590
|
+
.app-container .markdown-preview-view pre.language-note-red {
|
|
591
|
+
background-color: transparent;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
.app-container .markdown-preview-view pre.language-note-gray code.language-note-gray,
|
|
595
|
+
.gray {
|
|
596
|
+
color: var(--text-gray);
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
.app-container .markdown-preview-view pre.language-note-brown code.language-note-brown,
|
|
600
|
+
.brown {
|
|
601
|
+
color: var(--text-brown);
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
.app-container .markdown-preview-view pre.language-note-orange code.language-note-orange,
|
|
605
|
+
.orange {
|
|
606
|
+
color: var(--text-orange);
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
.app-container .markdown-preview-view pre.language-note-yellow code.language-note-yellow,
|
|
610
|
+
.yellow {
|
|
611
|
+
color: var(--text-yellow)
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
.app-container .markdown-preview-view pre.language-note-green code.language-note-green,
|
|
615
|
+
.green {
|
|
616
|
+
color: var(--text-green);
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
.app-container .markdown-preview-view pre.language-note-blue code.language-note-blue,
|
|
620
|
+
.blue {
|
|
621
|
+
color: var(--text-blue);
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
.app-container .markdown-preview-view pre.language-note-purple code.language-note-purple,
|
|
625
|
+
.purple {
|
|
626
|
+
color: var(--text-purple);
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
.app-container .markdown-preview-view pre.language-note-pink code.language-note-pink,
|
|
630
|
+
.pink {
|
|
631
|
+
color: var(--text-pink);
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
.app-container .markdown-preview-view pre.language-note-red code.language-note-red,
|
|
635
|
+
.red {
|
|
636
|
+
color: var(--text-red);
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
/* 7. In-document header (scrolls with the document) [remove for compatibility with Andy's mode] */
|
|
640
|
+
/* !!! Remove from here down if you want to use with Andy Matuschak mode V2 !!! */
|
|
641
|
+
.markdown-preview-view,
|
|
642
|
+
.markdown-source-view {
|
|
643
|
+
background-color: transparent;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
/* fix to padding top so that the editor and preview line up */
|
|
647
|
+
.markdown-source-view.is-readable-line-width .CodeMirror {
|
|
648
|
+
padding: 0;
|
|
649
|
+
padding-top: 15px;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
.markdown-preview-view,
|
|
653
|
+
.CodeMirror-lines {
|
|
654
|
+
padding-top: 15px;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
.markdown-preview-view {
|
|
658
|
+
padding-left: 20px;
|
|
659
|
+
padding-right: 20px;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
/* This is where the magic happens */
|
|
663
|
+
.workspace-leaf-content[data-type=markdown] .view-header,
|
|
664
|
+
.workspace-leaf.mod-active .workspace-leaf-content[data-type=markdown] .view-header {
|
|
665
|
+
max-width: 700px;
|
|
666
|
+
margin-left: auto;
|
|
667
|
+
margin-right: auto;
|
|
668
|
+
padding: 0;
|
|
669
|
+
border: none;
|
|
670
|
+
background-color: transparent;
|
|
671
|
+
height: auto;
|
|
672
|
+
padding-top: 108px;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
.workspace-split.mod-root .workspace-leaf {
|
|
676
|
+
background-color: var(--background-primary);
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
.workspace>.workspace-split>.workspace-leaf:first-of-type:last-of-type .workspace-leaf-content[data-type=markdown] .view-header {
|
|
680
|
+
background-color: transparent;
|
|
681
|
+
border: none;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
.workspace-leaf {
|
|
685
|
+
position: relative;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
.workspace-leaf-content[data-type=markdown] {
|
|
689
|
+
overflow: auto;
|
|
690
|
+
position: unset;
|
|
691
|
+
margin-top: 35px;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
.workspace-leaf-content[data-type=markdown] .view-header-title-container {
|
|
695
|
+
width: 100%;
|
|
696
|
+
margin-top: auto;
|
|
697
|
+
height: auto;
|
|
698
|
+
padding: 0;
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
.workspace-leaf-content[data-type=markdown] .view-header-title-container:after {
|
|
702
|
+
content: none;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
.workspace-leaf-content[data-type=markdown] .view-header-title {
|
|
706
|
+
font-size: 40px;
|
|
707
|
+
line-height: 1.2em;
|
|
708
|
+
padding: 3px 2px;
|
|
709
|
+
height: auto;
|
|
710
|
+
margin: 0;
|
|
711
|
+
color: var(--text-normal);
|
|
712
|
+
white-space: normal;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
.workspace-leaf-content[data-type=markdown] .view-actions {
|
|
716
|
+
position: absolute;
|
|
717
|
+
top: 0;
|
|
718
|
+
right: 0;
|
|
719
|
+
left: 0;
|
|
720
|
+
background-color: transparent;
|
|
721
|
+
z-index: 1;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
.workspace-leaf-content[data-type=markdown] .view-header-icon {
|
|
725
|
+
position: absolute;
|
|
726
|
+
left: 0;
|
|
727
|
+
z-index: 2;
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
.workspace-leaf-content[data-type=markdown] .view-content {
|
|
731
|
+
height: auto;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
.workspace-leaf-content[data-type=markdown] .markdown-source-view {
|
|
735
|
+
z-index: 0;
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
.view-action {
|
|
739
|
+
color: var(--text-normal);
|
|
740
|
+
margin: 0;
|
|
741
|
+
padding: 0 8px;
|
|
742
|
+
height: 28px;
|
|
743
|
+
line-height: 28px;
|
|
744
|
+
border-radius: 3px;
|
|
745
|
+
transition: background-color 20ms ease-in 0s;
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
.view-action>svg {
|
|
749
|
+
max-width: 14px;
|
|
750
|
+
max-height: 14px;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
.view-action:hover,
|
|
754
|
+
.view-action.is-active {
|
|
755
|
+
color: var(--text-normal);
|
|
756
|
+
background-color: var(--background-primary-alt);
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
.workspace-split.mod-vertical>.workspace-leaf:not(:last-child) {
|
|
760
|
+
padding-right: 4px;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
/* 7.1. Adjustments for non-in-document headers (graphs, etc) */
|
|
764
|
+
.workspace-leaf-content:not([data-type=markdown]) .view-header,
|
|
765
|
+
.workspace-leaf.mod-active .workspace-leaf-content:not([data-type=markdown]) .view-header {
|
|
766
|
+
border: none;
|
|
767
|
+
background-color: var(--background-primary);
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
.workspace-leaf-content:not([data-type=markdown]) .view-header-title-container:after,
|
|
771
|
+
.workspace-leaf.mod-active .workspace-leaf-content:not([data-type=markdown]) .view-header-title-container:after {
|
|
772
|
+
background: linear-gradient(to right, transparent, var(--background-primary));
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
/* 7.2. Active pane border */
|
|
776
|
+
/* Notion doesn't have multiple panes. And with the header modifications above,
|
|
777
|
+
how do you tell which pane is active? I'm just putting a border around the
|
|
778
|
+
active pane for now (unless there's only one pane) */
|
|
779
|
+
.workspace-leaf.mod-active {
|
|
780
|
+
border: 1px solid var(--interactive-accent);
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
.workspace-leaf:not(.mod-active),
|
|
784
|
+
.workspace>.workspace-split>.workspace-leaf:first-of-type:last-of-type {
|
|
785
|
+
border: 1px solid transparent;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
/* 7.3 Misc fixes */
|
|
789
|
+
/* Fix for the search pane scrolling off the page */
|
|
790
|
+
.markdown-source-view,
|
|
791
|
+
.workspace-split.mod-root .view-content {
|
|
792
|
+
position: unset;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
/* 8. Tags */
|
|
796
|
+
a.tag,
|
|
797
|
+
.cm-s-obsidian span.cm-hashtag,
|
|
798
|
+
.tag-pane-tag-text {
|
|
799
|
+
color: var(--text-normal);
|
|
800
|
+
text-decoration: none;
|
|
801
|
+
background-color: var(--background-yellow);
|
|
802
|
+
padding: 3px 6px;
|
|
803
|
+
border-radius: 3px;
|
|
804
|
+
font-size: 14px;
|
|
805
|
+
border: none;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
.cm-s-obsidian span.cm-hashtag-begin {
|
|
809
|
+
border-top-right-radius: 0;
|
|
810
|
+
border-bottom-right-radius: 0;
|
|
811
|
+
border-right: none;
|
|
812
|
+
padding-right: 0;
|
|
813
|
+
font-size: 15px; /* why? I dunno. Just needs it to balance out */
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
.cm-s-obsidian span.cm-hashtag-end {
|
|
817
|
+
border-top-left-radius: 0;
|
|
818
|
+
border-bottom-left-radius: 0;
|
|
819
|
+
border-left: none;
|
|
820
|
+
padding-left: 0;
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
/* 8.1. Tag custom colours */
|
|
824
|
+
/* As of Obsidian 0.9.0 there are custom classes for tags.
|
|
825
|
+
* this theme provides varibles of the form --background-<color> and --text-<color> for the following colours:
|
|
826
|
+
* gray, brown, orange, yellow, green, blue, purple, pink, red
|
|
827
|
+
* If you want your own colours for your own specific tags you can copy and utilize this: */
|
|
828
|
+
.cm-s-obsidian span.cm-hashtag.cm-tag-important,
|
|
829
|
+
.tag[href="#important"] {
|
|
830
|
+
background-color: var(--background-red);
|
|
831
|
+
}
|