Skip to content

Commit 52e393b

Browse files
Stephan AngoStephan Ango
authored andcommitted
Small fixes
1 parent 04a5f0d commit 52e393b

File tree

1 file changed

+20
-33
lines changed

1 file changed

+20
-33
lines changed

obsidian.css

Lines changed: 20 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ experience. Remove each line if you want to re-activate the feature */
202202
--text-highlight-bg-active:rgba(255, 177, 80, 0.3);
203203
--background-modifier-cover:hsla(var(--base-h),var(--base-s),calc(var(--base-d) - 12%),0.8);
204204
}
205-
206205
.theme-light {
207206
--background-primary:white;
208207
--background-primary-alt:hsl(var(--base-h),var(--base-s),var(--base-l));
@@ -636,7 +635,7 @@ body, input, button,
636635
.view-header-icon {
637636
opacity:0;
638637
}
639-
.workspace-leaf-content[data-type='search'] .nav-action-button.is-active,
638+
.workspace-leaf-content[data-type='search'] .nav-action-button.is-active,
640639
.workspace-leaf-content[data-type='backlink'] .nav-action-button.is-active,
641640
.workspace-tab-header.is-active,
642641
.workspace-leaf-content[data-type='search'] .nav-action-button.is-active {
@@ -731,7 +730,8 @@ span.cm-hashtag.cm-hashtag-end {
731730
padding-right:0;
732731
}
733732

734-
input.prompt-input, input.prompt-input:hover {
733+
input.prompt-input,
734+
input.prompt-input:hover {
735735
border:0;
736736
background:var(--background-primary);
737737
padding-left:10px;
@@ -744,13 +744,14 @@ input.prompt-input, input.prompt-input:hover {
744744
.menu-item:hover {
745745
background:var(--background-tertiary);
746746
}
747-
.suggestion-item, .suggestion-empty {
747+
.suggestion-item,
748+
.suggestion-empty {
748749
font-size:var(--font-normal);
749750
}
750751
.modal,
751752
.prompt,
752753
.suggestion-container {
753-
box-shadow:0 5px 30px rgba(0, 0, 0, 0.15);
754+
box-shadow:0 5px 30px rgba(0,0,0,0.15);
754755
}
755756
.prompt-instructions {
756757
color:var(--text-muted);
@@ -847,7 +848,7 @@ input.prompt-input, input.prompt-input:hover {
847848
.workspace-tab-header.is-active,
848849
.workspace-tab-header.is-after-active,
849850
.workspace-tab-header.is-after-active .workspace-tab-header-inner,
850-
.workspace-tab-header.is-before-active,
851+
.workspace-tab-header.is-before-active,
851852
.workspace-tab-header.is-after-active {
852853
background:transparent;
853854
}
@@ -865,13 +866,13 @@ input.prompt-input, input.prompt-input:hover {
865866
/* Testing tab icons next to traffic lights
866867
867868
.hider-frameless.mod-macos .workspace-split.mod-left-split > .workspace-tabs {
868-
padding: 0;}
869+
padding:0;}
869870
.hider-frameless.mod-macos .workspace-split.mod-left-split .workspace-tab-container-inner {
870871
padding-left:62px;}
871872
.hider-frameless.mod-macos.is-fullscreen .workspace-split.mod-left-split .workspace-tab-container-inner {
872873
padding-left:5px;}
873874
.workspace-tab-header-inner {
874-
padding: 3px 2px 3px 10px;
875+
padding:3px 2px 3px 10px;
875876
} */
876877

877878

@@ -948,7 +949,7 @@ border-bottom:1px solid #999;
948949
padding-right:60px;
949950
}
950951
.view-header-title:before {
951-
background:linear-gradient(90deg, var(--background-transparent) 0%, var(--background-primary) 80%);
952+
background:linear-gradient(90deg,var(--background-transparent) 0%,var(--background-primary) 80%);
952953
width:60px;
953954
content:" ";
954955
height:30px;
@@ -983,7 +984,6 @@ border-bottom:1px solid #999;
983984
width:var(--line-width);
984985
max-width:var(--max-width);
985986
}
986-
987987
.view-header-title-container {
988988
padding-left:0;
989989
padding-right:0px;
@@ -1003,7 +1003,6 @@ border-bottom:1px solid #999;
10031003
border:none;
10041004
border-right:2px solid var(--text-accent);
10051005
}
1006-
10071006
.markdown-source-view {
10081007
padding:0;
10091008
}
@@ -1069,8 +1068,7 @@ border-bottom:1px solid #999;
10691068
.markdown-embed .markdown-preview-section:last-child ul {
10701069
margin-block-end:2px;
10711070
}
1072-
.markdown-embed-title ~ .markdown-embed-link,
1073-
.internal-embed[src*="#"] .markdown-embed-link {
1071+
.internal-embed:not([src*="#^"]) .markdown-embed-link {
10741072
left:0;
10751073
width:100%;
10761074
}
@@ -1132,7 +1130,6 @@ border-bottom:1px solid #999;
11321130
box-shadow:0 2px 0 8px var(--text-highlight-bg);
11331131
transition:all 0s ease-in-out;
11341132
}
1135-
11361133
.cm-s-obsidian span.obsidian-search-match-highlight {
11371134
background:inherit;
11381135
border-radius:2px;
@@ -1173,7 +1170,8 @@ border-bottom:1px solid #999;
11731170
border-top:1px solid var(--background-modifier-border);
11741171
width:100%;
11751172
}
1176-
input.document-search-input, input.document-replace-input {
1173+
input.document-search-input,
1174+
input.document-replace-input {
11771175
font-size:var(--font-small) !important;
11781176
border:1px solid var(--background-modifier-border);
11791177
border-radius:14px;
@@ -1203,11 +1201,10 @@ input.document-replace-input:focus {
12031201
.workspace > .workspace-split:not(.mod-root) .markdown-preview-view {
12041202
font-size:var(--font-small);
12051203
line-height:1.2;}
1206-
12071204
.workspace > .workspace-split:not(.mod-root) .workspace-leaf-content[data-type=markdown] {
12081205
padding:0 15px;
12091206
}
1210-
.workspace > .workspace-split:not(.mod-root) .CodeMirror,
1207+
.workspace > .workspace-split:not(.mod-root) .CodeMirror,
12111208
.workspace > .workspace-split:not(.mod-root) .markdown-preview-section,
12121209
.workspace > .workspace-split:not(.mod-root) .markdown-preview-sizer {
12131210
max-width:100%;
@@ -1255,7 +1252,6 @@ input[type=checkbox]:checked {
12551252
background-repeat:no-repeat;
12561253
background-image:url('data:image/svg+xml; utf8, <svg width="12px" height="10px" viewBox="0 0 12 8" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-4.000000, -6.000000)" fill="%23ffffff"><path d="M8.1043257,14.0367999 L4.52468714,10.5420499 C4.32525014,10.3497722 4.32525014,10.0368095 4.52468714,9.8424863 L5.24777413,9.1439454 C5.44721114,8.95166768 5.77142411,8.95166768 5.97086112,9.1439454 L8.46638057,11.5903727 L14.0291389,6.1442083 C14.2285759,5.95193057 14.5527889,5.95193057 14.7522259,6.1442083 L15.4753129,6.84377194 C15.6747499,7.03604967 15.6747499,7.35003511 15.4753129,7.54129009 L8.82741268,14.0367999 C8.62797568,14.2290777 8.3037627,14.2290777 8.1043257,14.0367999"></path></g></g></svg>');
12571254
}
1258-
12591255
.markdown-preview-section > .contains-task-list {
12601256
padding-bottom:0.5em;
12611257
}
@@ -1307,7 +1303,8 @@ input[type=checkbox]:checked {
13071303
.markdown-preview-view h6 .heading-collapse-indicator {
13081304
margin-top:-7px;
13091305
}
1310-
.CodeMirror-foldgutter-open, .CodeMirror-foldgutter-folded {
1306+
.CodeMirror-foldgutter-open,
1307+
.CodeMirror-foldgutter-folded {
13111308
cursor:var(--cursor);
13121309
}
13131310

@@ -1412,15 +1409,15 @@ input[type=checkbox]:checked {
14121409
.workspace-leaf-content[data-type=starred] .nav-file-title-content {
14131410
width:calc(100% - 15px);
14141411
}
1415-
body:not(.is-grabbing) .nav-file-title:hover .nav-folder-collapse-indicator,
1412+
body:not(.is-grabbing) .nav-file-title:hover .nav-folder-collapse-indicator,
14161413
body:not(.is-grabbing) .nav-folder-title:hover .nav-folder-collapse-indicator,
14171414
body:not(.is-grabbing) .nav-file-title:hover,
14181415
body:not(.is-grabbing) .nav-folder-title:hover {
14191416
background:transparent;
14201417
}
14211418
.nav-file-title,
1422-
.nav-folder-title,
1423-
.is-collapsed .search-result-file-title,
1419+
.nav-folder-title,
1420+
.is-collapsed .search-result-file-title,
14241421
.tag-pane-tag {
14251422
font-size:var(--font-small) !important;
14261423
color:var(--text-muted);
@@ -1761,7 +1758,6 @@ input.search-input:focus {
17611758
margin:0;
17621759
padding-top:8px;
17631760
}
1764-
17651761
.workspace-ribbon-collapse-btn,
17661762
.view-action,
17671763
.side-dock-ribbon-tab,
@@ -1804,12 +1800,10 @@ body:not(.hider-ribbon) .side-dock-ribbon-action {
18041800
height:1px;
18051801
border-width:2px 0 0 0;
18061802
}
1807-
18081803
.minimal-theme:not(.links-int-on) .markdown-preview-view .internal-link,
18091804
.minimal-theme:not(.links-int-on) .external-link {
18101805
text-decoration:none;
18111806
}
1812-
18131807
.minimal-theme.links-int-on ..markdown-preview-view .internal-link,
18141808
.markdown-preview-view .internal-link {
18151809
text-decoration:underline;
@@ -1837,7 +1831,6 @@ body:not(.hider-ribbon) .side-dock-ribbon-action {
18371831
iframe {
18381832
border:0;
18391833
}
1840-
18411834
.markdown-preview-view img:not([width]),
18421835
.markdown-preview-view audio,
18431836
.markdown-preview-view video {
@@ -1934,7 +1927,6 @@ ol > li::before {
19341927
color:var(--text-muted);
19351928
font-szie:var(--font-small);
19361929
}
1937-
19381930
.cm-s-obsidian .hmd-fold-html-stub,
19391931
.cm-s-obsidian .hmd-fold-code-stub,
19401932
.cm-s-obsidian.CodeMirror .HyperMD-hover > .HyperMD-hover-content code,
@@ -1952,7 +1944,6 @@ ol > li::before {
19521944
.CodeMirror-code {
19531945
font-family:var(--font-monospace);
19541946
}
1955-
19561947
.cm-s-obsidian .cm-hmd-frontmatter {
19571948
font-size:var(--font-small);
19581949
color:var(--text-muted);
@@ -2130,19 +2121,16 @@ input[type=range]::-webkit-slider-thumb:active {
21302121
::-webkit-scrollbar {
21312122
width:7px;
21322123
}
2133-
21342124
::-webkit-scrollbar-track {
21352125
background-color:var(--background-primary);
21362126
}
2137-
21382127
::-webkit-scrollbar-thumb {
21392128
border-width:0px 4px 6px 0px;
21402129
border-style:solid;
21412130
border-radius:0 !important;
21422131
border-color:var(--background-primary);
21432132
min-height:40px;
21442133
}
2145-
21462134
.modal .vertical-tab-header::-webkit-scrollbar-track,
21472135
.mod-left-split .workspace-tabs ::-webkit-scrollbar-track {
21482136
background-color:var(--background-secondary);
@@ -2158,5 +2146,4 @@ input[type=range]::-webkit-slider-thumb:active {
21582146
.theme-light.minimal-light-contrast .mod-left-split .vertical-tab-header::-webkit-scrollbar-track,
21592147
.theme-light.minimal-light-contrast .mod-left-split .workspace-tabs ::-webkit-scrollbar-track {
21602148
border-color:var(--background-modifier-border-hover);
2161-
}
2162-
2149+
}

0 commit comments

Comments
 (0)