Skip to content

Commit

Permalink
Add support for outgoing links
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Ango authored and Stephan Ango committed May 26, 2021
1 parent b81a39e commit 978b912
Showing 1 changed file with 41 additions and 1 deletion.
42 changes: 41 additions & 1 deletion obsidian.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Minimal Obsidian 2.5.11 by @kepano
Minimal Obsidian 2.5.12 by @kepano
This theme is designed to be used with the Minimal Theme Settings
plugin and the Hider plugin.
Expand Down Expand Up @@ -78,6 +78,10 @@ Disabled features */
display:none;
}

.tree-item-inner-subtext { /* Folder name */
display: none;
}

/* Hides the name of the root folder */
.nav-folder.mod-root > .nav-folder-title .nav-folder-title-content {
display:none;
Expand Down Expand Up @@ -1163,6 +1167,15 @@ input.prompt-input:hover {
background:var(--background-primary);
padding-left:10px;
}
.suggestion-item {
cursor:var(--cursor);
padding-left:10px;
}
.suggestion-flair {
left:auto;
right:16px;
opacity:0.25;
}
.modal-container .suggestion-item.is-selected {
border-radius:6px;
background:var(--background-tertiary);
Expand Down Expand Up @@ -2611,19 +2624,32 @@ input.search-input:focus {
/* --------------- */
/* Backlink pane */

.outgoing-link-pane,
.backlink-pane {
padding-bottom:30px;
}
.outgoing-link-pane .search-result-container,
.backlink-pane .search-result-container {
padding:5px 5px 5px 5px;
margin-left:0;
}
.outgoing-link-pane .search-result-file-title,
.backlink-pane .search-result-file-title {
padding-left:15px;
}
.outgoing-link-pane .tree-item-icon,
.outgoing-link-pane > .tree-item-self .collapse-icon,
.backlink-pane > .tree-item-self .collapse-icon {
display:none;
}

.tree-item-self.outgoing-link-item {
padding:0;
margin-left:5px;
}

.outgoing-link-pane > .tree-item-self:hover,
.outgoing-link-pane > .tree-item-self,
.backlink-pane > .tree-item-self:hover,
.backlink-pane > .tree-item-self {
padding-left:15px;
Expand All @@ -2635,10 +2661,24 @@ input.search-input:focus {
padding:5px 7px 5px 10px;
background:transparent;
}

.outgoing-link-pane > .tree-item-self.is-collapsed,
.backlink-pane > .tree-item-self.is-collapsed {
color:var(--text-faint);
}

.outgoing-link-pane .search-result-file-match {
padding:5px 0;
border:0;
}
.outgoing-link-pane .search-result-file-match-destination-file {
background:transparent;
}
.search-result-file-match:hover .search-result-file-match-destination-file:hover {
background:transparent;
color:var(--text-normal);
}

/* --------------- */
/* Tag pane */

Expand Down

0 comments on commit 978b912

Please sign in to comment.