Skip to content

Commit

Permalink
Fix external links
Browse files Browse the repository at this point in the history
  • Loading branch information
mgmeyers committed Dec 23, 2020
1 parent e728565 commit cd313bc
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions obsidian.css
Original file line number Diff line number Diff line change
Expand Up @@ -2961,16 +2961,13 @@ a[href*="obsidian://search"]
}
.external-link {
background: none;
padding-right: 16px;
padding-right: 0;
}

.external-link:before {
.external-link:after {
font-size: 16px;
color: var(--shade-20);
position: absolute;
right: 0;
top: calc(50%);
transform: translate3d(0, -50%, 0) rotate(135deg);
transform: rotate(135deg);
}

.footnotes-list {
Expand Down Expand Up @@ -3657,7 +3654,7 @@ input[type="range"]::-webkit-slider-thumb:active {
.workspace-ribbon.mod-right .workspace-ribbon-collapse-btn:after,
.workspace-ribbon.mod-left .workspace-ribbon-collapse-btn:after,
.document-search-close-button:before,
.external-link:before,
.external-link:after,
.markdown-preview-view .collapse-indicator:before,
.search-input-clear-button:before,
.search-result-collapse-indicator + span:before,
Expand Down Expand Up @@ -3944,7 +3941,7 @@ input[type="range"]::-webkit-slider-thumb:active {
color: var(--text-accent);
}

.external-link:before {
.external-link:after {
content: "\e917";
}

Expand Down Expand Up @@ -4228,7 +4225,7 @@ input[type="range"]::-webkit-slider-thumb:active {
}

.cc-pretty-editor .cm-s-obsidian span.cm-url.cm-string:not(.cm-hmd-footnote-url) {
color: hsla(var(--accent-hsl), 0.25);
color: var(--shade-20);
}

.cc-pretty-editor .cm-s-obsidian span.cm-link {
Expand Down

0 comments on commit cd313bc

Please sign in to comment.