Skip to content

Commit 1b891cb

Browse files
committed
remove border on embeds
1 parent e0eabf7 commit 1b891cb

File tree

1 file changed

+37
-29
lines changed

1 file changed

+37
-29
lines changed

theme-minimal.css

Lines changed: 37 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,54 @@
11
/* Customizations for https://github.com/kepano/obsidian-minimal */
22

33
.titlebar {
4-
border-bottom: none;
4+
border-bottom: none;
55
}
66
.titlebar-button-container {
7-
top: 0;
8-
transition: opacity 0.25s ease-in-out;
7+
top: 0;
8+
transition: opacity 0.25s ease-in-out;
99
}
1010
.focus-mode .titlebar-button-container {
11-
opacity: 0;
11+
opacity: 0;
1212
}
1313
.titlebar-button-container:hover {
14-
color: var(--text-muted);
15-
opacity: 1 !important;
14+
color: var(--text-muted);
15+
opacity: 1 !important;
1616
}
1717

1818
.workspace-ribbon-collapse-btn {
19-
padding: 20px 6px;
19+
padding: 20px 6px;
2020
}
2121

2222
/* Outliner compat */
2323
.markdown-preview-view:not(.allow-fold-lists) .list-collapse-indicator {
24-
/* override hiding of collapse */
25-
display: unset;
24+
/* override hiding of collapse */
25+
display: unset;
2626
}
2727
.markdown-preview-view ul > li:not(.task-list-item)::before {
28-
margin-top: 11px !important;
28+
margin-top: 11px !important;
2929
}
3030
.markdown-preview-view .collapse-indicator {
31-
/* margin-top: -0.1rem; */
32-
transition: all 0.25s ease;
31+
/* margin-top: -0.1rem; */
32+
transition: all 0.25s ease;
3333
}
3434

3535
.status-bar {
36-
position: absolute;
37-
bottom: 0;
38-
right: 0;
39-
border-top-left-radius: 0.5rem;
36+
position: absolute;
37+
bottom: 0;
38+
right: 0;
39+
border-top-left-radius: 0.5rem;
4040

41-
opacity: 0.25;
42-
transition: opacity 0.25s ease-in-out;
41+
opacity: 0.25;
42+
transition: opacity 0.25s ease-in-out;
4343
}
4444
.status-bar:hover {
45-
opacity: 1;
45+
opacity: 1;
4646
}
4747

4848
.markdown-preview-view .markdown-embed {
49-
margin-top: var(--nested-padding);
50-
margin-bottom: var(--nested-padding);
51-
padding: 0.5rem;
49+
margin-top: var(--nested-padding);
50+
margin-bottom: var(--nested-padding);
51+
padding: 0.5rem;
5252
}
5353

5454
.markdown-preview-view .markdown-embed .markdown-embed-title,
@@ -57,15 +57,23 @@
5757
.markdown-preview-view .markdown-embed h3,
5858
.markdown-preview-view .markdown-embed h4,
5959
.markdown-preview-view .markdown-embed h5 {
60-
display: block;
61-
font-variant: small-caps;
60+
display: block;
61+
font-variant: small-caps;
6262
}
6363
.markdown-preview-view .markdown-embed .markdown-embed-title {
64-
line-height: unset;
65-
height: unset;
66-
margin-top: 0.5rem;
64+
line-height: unset;
65+
height: unset;
66+
margin-top: 0.5rem;
6767
}
6868

69-
.markdown-embed-link, .file-embed-link {
70-
top: 1rem;
69+
.markdown-embed-link,
70+
.file-embed-link {
71+
top: 1rem;
72+
}
73+
.markdown-source-view.is-live-preview .markdown-embed {
74+
border-left: none;
75+
}
76+
77+
.internal-link {
78+
text-decoration: none !important;
7179
}

0 commit comments

Comments
 (0)