Skip to content

Commit 4f0239b

Browse files
committed
Rename
1 parent 4f75f53 commit 4f0239b

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on top of the file.
1212
- `all-caps-internal-links.css`: Display internal links in all caps. This was
1313
originally a design feature by the [Sanctum][sanctum] theme, but got dropped in
1414
newer releases
15+
- `no-underline-external-links.css`: Remove underline from external links
1516
- `clean-embeds-all.css`: Make embeds blend into notes (Removes title, link, padding,
1617
margins from embeds, so they really look like the same note). This code is from
1718
Matthias C. Hormann (currently not working)
Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
1-
.cm-s-obsidian span.cm-hmd-internal-link,
2-
.markdown-preview-view .internal-link {
3-
font-weight: 550;
4-
text-transform: uppercase;
5-
font-size: 0.9em;
6-
letter-spacing: 0.125em;
7-
border-radius: 4px;
8-
}
9-
101
/* Removing underlines in edit mode.
112
* This is a bit more tricky because of
123
* https://stackoverflow.com/questions/4481318/
134
* Solution based on https://www.reddit.com/r/ObsidianMD/comments/s9ip7v/link_underline/
145
*/
15-
.cm-hmd-internal-link .cm-underline,
16-
.internal-link {
6+
a.external-link,
7+
.cm-link .cm-underline,
8+
.cm-link {
179
text-decoration: initial !important;
1810
}

0 commit comments

Comments
 (0)