-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathobsidian.css
527 lines (417 loc) · 13.6 KB
/
obsidian.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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
/*
Color Pallete:
White: #FFFFFF;
Forest Green: #647375;
Off White: #ECEFF2;
Red: #AF3541;
Dark Dark Blue: #020F2B; RGB 2, 15, 43
*/
.theme-light {
--background-primary: white; /* background for main body of text */
--background-primary-alt: white; /* adjusts the background color of code block text */
--background-secondary: #ECEFF2; /* Adjusts the background color of the File Explorer, Backlinks, and Tags Pane*/
--background-secondary-alt: #020F2B; /* Adjusts the background color of 1) the two edge panels holding the icons 2) the file selector background color 3) tag number background 4) backlinks background*/
--background-accent: #fff;
--background-modifier-border: #ddd;
--background-modifier-form-field: #fff;
--background-modifier-form-field-highlighted: #fff;
--background-modifier-box-shadow: rgba(0, 0, 0, 0.1);
--background-modifier-success: #A4E7C3;
--background-modifier-error: #e68787;
--background-modifier-error-rgb: 230, 135, 135;
--background-modifier-error-hover: #FF9494;
--background-modifier-cover: rgba(0, 0, 0, 0.8);
--text-accent: #AF3541; /* changes the color of file explorer icons and editor icons*/
--text-accent-hover: #020F2B; /* changes the color of linked text you hover over */
--text-normal: rgba(0, 0, 0, 0.87); /*Change the body text color */
--text-muted: rgba(0, 0, 0, 0.50);
--text-faint: #999999;
--text-error: #800000;
--text-error-hover: #990000;
--text-highlight-bg: rgba(255, 255, 0, 0.4);
--text-selection: rgba(0, 122, 255, 0.15);
--text-on-accent: #f2f2f2;
--interactive-normal: #f2f3f5;
--interactive-hover: #e9e9e9;
--interactive-accent: #020F2B; /* when hovering over certain items such as the bar at the bottom of the note title it highlights it */
--interactive-accent-rgb: #020F2B; /* adjusts the links in graph view */
--interactive-accent-hover: #8273e6;
--scrollbar-active-thumb-bg: rgba(0, 0, 0, 0.2);
--scrollbar-bg: rgba(0, 0, 0, 0.05);
--scrollbar-thumb-bg: rgba(0, 0, 0, 0.1);
}
html, body {
font-family: 'Open Sans', sans-serif !important;
font-weight: 400 !important;
font-style: normal !important;
font-size: 15px !important;
line-height: 24px !important;
background-color: var(--background-primary);
color: var(--text-normal);
}
/* HEADERS AND NOTES TITLE BAR */
h1, h2, h3, h4, h5, h6 {
font-family: 'Merriweather', serif;
font-weight: 900; /* Changing the Header font */
}
/* reworks how vertical notes open */
.workspace-split.mod-vertical { overflow-x:auto; }
.workspace-leaf, .workspace-split.mod-horizontal { min-width: 500px; }
/* color of the bar between notes in editor*/
.workspace-leaf-resize-handle {
width: 2px !important;
background-color: rgba(2, 15, 43, 0.3);
}
/* changing the color of linked text*/
a {
color: rgb(10, 132, 255, 0.75);
}
/* changes the color of linked text when hovered */
a:hover {
color: #020F2B;
}
/* color of editor icons */
.file-view-actions {
color: #020F2B !important;
}
/* color of editor icons on hover */
.file-view-actions:hover {
color: #AF3541 !important;
}
/*change the color of text for links in editor */
.cm-s-obsidian span.cm-link, .cm-s-obsidian span.cm-hmd-internal-link {
color: rgb(10, 132, 255, 0.8) !important;
text-decoration: none;
}
/* when you hover over an internal link it gets slightly darker */
.cm-s-obsidian span.cm-link:hover, .cm-s-obsidian span.cm-hmd-internal-link:hover {
color: #020F2B;
}
/*.cm-s-obsidian span.cm-link, .cm-s-obsidian span.cm-hmd-internal-link {
}*/
/* changing the color of hashtags in the editor */
a.tag {
color: #647375;
}
/* changin the color of tag when you hover over it */
a.tag:hover {
color: #AF3541;
}
/* changing the color of hashtags in the editor */
.cm-s-obsidian span.cm-hashtag {
color: #647375;
}
/* changin the color of tag when you hover over it */
.cm-s-obsidian span.cm-hashtag:hover {
color: #AF3541;
}
/* changing the style of the pop up when you do double brackets and it offers a suggestion*/
.suggestion {
font-family: 'Open Sans', sans-serif !important;
font-weight: 400 !important;
font-style: normal !important;
font-size: 15px !important;
line-height: 24px !important;
color: rgba(0, 0, 0, 0.8);
background-color: white;
}
.suggestion-item:hover {
color: #ECEFF2 !important;
background-color: #020F2B !important;
}
/* tag pane text*/
.tag-pane-tag-text {
color: rgba(2, 15, 43, 0.75);
}
.tag-pane-tag-count {
color: #020F2B;
background-color: #ECEFF2;
}
/* tag pane hover*/
.tag-pane-tag:hover, .tag-pane-tag-text:hover {
background-color: #020F2B;
color: #ECEFF2 !important;
}
.tag-pane-tag:hover .tag-pane-tag-text {
background-color: #020F2B;
color: #ECEFF2 !important;
}
/* changing graph view colors*/
#graph-view-canvas .links
{
stroke: rgba(10, 132, 255, .30) !important;
/* stroke: rgba(2, 15, 43, 0.3) !important;*/
}
#graph-view-canvas .nodes text:hover {
fill: #AF3541 !important;
}
#graph-view-canvas .nodes text:hover #graph-view-canvas .nodes circle:hover {
fill: green !important;
}
/* Adjusting the body of the text */
.workspace > .workspace-split > .workspace-leaf.mod-single-child .workspace-leaf-header {
border-bottom: 2px solid var(--background-secondary-alt);
background-color: var(--background-primary);
}
/* Changing the presentation of the note titles */
.workspace-leaf-header, .workspace-leaf-header-title {
font-size: 18px;
font-family: 'Merriweather', serif;
background-color: var(--background-primary);
color: var(--text-normal);
}
/* note titles that aren't in focus */
.view-header, .view-header-title {
color: rgba(2, 15, 43);
background-color: white !important;
}
.workspace-leaf.mod-active .view-header {
background-color: var(--background-primary-alt);
border-bottom: 2px solid #AF3541;
}
/* CHANGING HOW THE EDITOR MODE LOOKS */
.cm-s-obsidian {
font-family: 'Open Sans', sans-serif !important;
font-weight: 400 !important;
font-style: normal !important;
font-size: 15px !important;
line-height: 24px !important;
background-color: var(--background-primary);
color: var(--text-normal);
}
/* changing how the titles look in editor and prevewi */
.cm-s-obsidian pre.HyperMD-header {
font-family: 'Merriweather', serif !important;
font-weight: 900;
}
/* changing how code displays on the screen */
.markdown-preview-view code { /* this is for viewing mode */
background-color: #647375 !important;
color: white !important;
font-size: 13px;
}
.cm-s-obsidian span.cm-inline-code { /* this is for editing mode */
background-color: #ECEFF2;
color: #AF3541 !important;
font-size: 14px;
}
/* changes color of sidebar when collapsed */
.side-dock-ribbon {
background-color: #020F2B !important;
}
/* kills the side dock ribbon transition which is distracting */
.side-dock-ribbon-tab, .side-dock-ribbon-before, .side-dock-ribbon-after, .side-dock-ribbon-tab-inner {
transition: unset !important;
}
/* adjusting how highlighted text appears */
mark {
background-color: #feebc8 !important;
color: #020F2B !important;
}
/*highlighted text in editor using markdown */
.cm-s-obsidian span.cm-highlight {
background-color: #feebc8 !important;
color: #020F2B !important;
}
/*highlighted text in search results */
.search-result-file-matched-text {
background-color: #feebc8 !important;
color: rgba(0, 0, 0, 0.8) !important;
}
/* matching search terms that are highlighted in editor*/
.obsidian-search-match-highlight, .obsidian-search-match-highlight a {
color: black !important;
background-color: #feebc8 !important;
}
/* Adjusting the link brackets */
.cm-s-obsidian .cm-formatting-link {
font-family: 'Open Sans', serif;
color: rgb(10, 132, 255, 0.50) !important;
}
/* color of text in the file explorer / color: rgba(0, 0, 0, 0.8) !important */
.nav-file-title {
color: rgba(2, 15, 43, 0.8) !important;
}
/* color of text in the file explorer that is selected or hovered over */
.nav-file.is-active > .nav-file-title, .nav-file-title:hover {
color: #ECEFF2 !important;
}
/*color of text for link pane icon, tag pane icon, file explorer icon, and search icon */
.side-dock-ribbon-tab {
color: #ECEFF2 !important;
}
/*color of all other major system icons such as system and network map*/
.side-dock-ribbon-action {
color: #ECEFF2 !important;
}
.side-dock-ribbon-tab.is-active {
color: #020F2B !important;
}
/* when you hover over a side bar item */
.side-dock-ribbon-tab:hover, .side-dock-ribbon-action:hover
{
color: #AF3541 !important;
}
/* changes the style of the box that comes up when you hover over links */
.popover {
color: rgba(0, 0, 0, 0.8);
background-color: white;
font-size: 18px;
border-size: 2px;
border-color: #647375;
font-family: 'Open Sans', sans-serif !important;
font-weight: 400 !important;
font-style: normal !important;
font-size: 16px !important;
line-height: 24px !important;
}
.popover-title {
font-weight: 800;
}
.app-container {
overflow: hidden;
}
/* changes the color of code text within popover */
.popover code {
color: white;
background-color: #647375;
}
/* ADJUSTING BACK LINKS */
.search-result-file-match {
color: rgba(0, 0, 0, 0.75);
}
/* when you hover over a backlink title */
.search-result:hover, .search-result-file-title:hover {
background-color: white;
color: #020F2B;
}
/* border around search results when you hover over them */
.search-result:hover {
border: 1px dashed #AF3541; /*#647375 for forest green */
}
/* when you hover over a backlink*/
.search-result:hover, .search-result-file-match:hover, .search-result-file-title:hover {
background-color: white;
color: #020F2B;
}
/*insert a backlink button */
.search-result-file-match-replace-button {
color: white;
background-color: black;
}
.search-result-file-match-replace-button:hover {
color: white;
background-color: rgba(10, 132, 255);
}
/* if a file is being renamed cahnges color */
.nav-file-title-content.is-being-renamed, .nav-folder-title-content.is-being-renamed
{
color: #020F2B;
background-color: white;
}
/*when hovering over a menu item*/
.menu-item:hover, .menu-item:hover .menu-item-icon {
background-color: #020F2B;
color: white;
}
/* deleting button */
button.mod-warning {
background-color: #020F2B !important;
color: white !important;
}
/*hovering over the delete button */
button.mod-warning:hover {
background-color: #AF3541 !important;
color: white !important;
}
/* cancel button */
.modal-button-container button:not(.mod-cta):not(.mod-warning) {
background-color: #020F2B;
color: white;
}
/* cancel button hover over */
.modal-button-container button:not(.mod-cta):not(.mod-warning):hover {
background-color: #647375 !important;
}
/* when you hover over the open a file selector after delteting a file*/
.empty-state-container:hover
{
border: 5px dashed rgb(10, 132, 255);
}
/* adjusting menu colors */
.vertical-tab-nav-item {
color: #ECEFF2;
}
.vertical-tab-nav-item.is-active, .vertical-tab-nav-item:hover {
background-color: #ECEFF2;
color: #020F2B;
}
/* adjusting menu button colors */
button.mod-cta:hover {
color: white;
background-color: #647375;
}
/* enabled plugin */
.checkbox-container {
background-color: rgba(175, 53, 65, 0.80);
}
.checkbox-container.is-enabled {
background-color: rgba(10, 132, 255, .60);
}
/* normal presentation of nav folder titles */
.nav-folder-title {
color: #647375;
}
/* how folders display when hovering over*/
body:not(.is-grabbing) .nav-folder-title:hover {
background-color: #020F2B;
color: white;
}
/* indicator for folder when hovered */
body:not(.is-grabbing) .nav-folder-title:hover .nav-folder-collapse-indicator {
color: #ECEFF2;
}
/* attachments tag style */
.nav-file-tag {
color: white;
background-color: #647375;
}
/* hovering over File Explorer Title*/
.side-dock-title:hover {
color: #AF3541;
}
/* hovering over root folder title */
.nav-folder.mod-root > .nav-folder-title:hover {
color: #AF3541;
}
/* changing settings hotkey look */
.setting-hotkey {
background-color: #ECEFF2;
font-family: 'Open Sans', sans-serif !important;
}
/* hover over change hotkey */
.setting-add-hotkey-button:hover {
background-color: #ECEFF2;
color: #020F2B;
}
/* adjusting color of code in markdown format convertor */
.setting-item-description code {
background-color: #647375;
color: white;
}
/* adjusting the title section of notes some more */
.view-header-title-container:after {
background: white !important;
height: 36px;
}
------------------------
/* */
/*
Color Pallete:
White: #FFFFFF;
Forest Green: #647375;
Off White: #ECEFF2;
Red: #AF3541;
Dark Dark Blue: #020F2B;
link blue: rgba(10, 132, 255, .80);
*/