Skip to content

Commit 4e82d8a

Browse files
committed
initial commit
0 parents  commit 4e82d8a

12 files changed

+282
-0
lines changed

editor-code.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* CODE IN EDITOR */
2+
.cm-s-obsidian div.HyperMD-codeblock-bg,
3+
.cm-s-obsidian div.HyperMD-codeblock-begin-bg,
4+
.cm-s-obsidian div.HyperMD-codeblock-end-bg {
5+
border: none !important;
6+
}
7+
.cm-s-obsidian div.HyperMD-codeblock-begin-bg{
8+
padding: 0 !important;
9+
}

fonts-ia-writer.css

Lines changed: 52 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mobile-toolbar.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.mobile-toolbar {
2+
display: flex;
3+
width: unset;
4+
max-width: 90%;
5+
overflow: scroll;
6+
border: 1px solid var(--background-modifier-border);
7+
border-radius: 1rem;
8+
margin-left: auto;
9+
margin-right: auto;
10+
margin-bottom: 0.5rem;
11+
}

plugin-outliner.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/* Outliner */
2+
.outliner-plugin-bls .cm-s-obsidian span.cm-formatting-list {
3+
letter-spacing: 0 !important;
4+
}
5+
.outliner-plugin-bls .cm-s-obsidian span.cm-formatting-list-ul:before {
6+
margin-left: -2px !important;
7+
margin-right: 0 !important;
8+
}
9+
.markdown-preview-view div.is-collapsed h1::after, .markdown-preview-view div.is-collapsed h2::after, .markdown-preview-view div.is-collapsed h3::after, .markdown-preview-view div.is-collapsed h4::after, .markdown-preview-view div.is-collapsed h5::after, .markdown-preview-view ol .is-collapsed::after, .markdown-preview-view ul .is-collapsed::after {
10+
/* Make outliner collapsed section more apparent */
11+
background-color: var(--background-secondary);
12+
border-radius: 0.25rem;
13+
padding: 0px 6px 3px 5px;
14+
margin-left: 0.5rem;
15+
}

preview-code.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.markdown-preview-view pre, .cm-s-obsidian .HyperMD-codeblock .cm-hmd-codeblock {
2+
border: none;
3+
/* smaller-font code blocks*/
4+
font-size: 85% !important;
5+
}
6+
.theme-light .token.entity {
7+
/* fix highlighting bug (?) */
8+
background: none;
9+
}
10+
.markdown-preview-view code {
11+
/* don't word-wrap */
12+
white-space: pre !important;
13+
}

preview-collapse.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/* Make collapsed section more apparent */
2+
.markdown-preview-view ul .is-collapsed::after {
3+
background-color: var(--background-secondary);
4+
border-radius: 0.25rem;
5+
padding: 0px 6px 3px 5px;
6+
margin-left: 0.5rem;
7+
}
8+
.markdown-preview-view .collapse-indicator {
9+
margin-top: -0.2rem;
10+
}

preview-elements.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/* KBD */
2+
kbd {
3+
padding: 3px 6px;
4+
background-color: var(--background-tertiary);
5+
}

preview-embeds.css

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/* EMBEDS */
2+
3+
/* make embed titles consistent with no matter where they are from */
4+
.markdown-preview-view .markdown-embed .markdown-embed-title,
5+
.markdown-preview-view .markdown-embed h1,
6+
.markdown-preview-view .markdown-embed h2,
7+
.markdown-preview-view .markdown-embed h3,
8+
.markdown-preview-view .markdown-embed h4,
9+
.markdown-preview-view .markdown-embed h5 {
10+
text-align: center;
11+
}
12+
13+
/* more seamless embeds */
14+
.markdown-preview-view .markdown-embed {
15+
border: none !important;
16+
border-radius: 1rem;
17+
}
18+
.markdown-preview-view .markdown-embed-content {
19+
max-height: none !important;
20+
}
21+
22+
/* style tweaks to embedded content */
23+
.markdown-preview-view .markdown-embed-content .markdown-preview-view {
24+
font-size: 90% !important;
25+
padding-left: 0;
26+
padding-right: 0;
27+
}
28+
.markdown-preview-section pre code {
29+
padding: 0;
30+
}

preview-hovers.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/* reasonably sized hovers */
2+
.popover.hover-popover {
3+
width: 30rem !important;
4+
}

theme-california-coast.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/* Customizations for https://github.com/mgmeyers/obsidian-california-coast-theme */
2+
3+
:root {
4+
--bold-weight: 700 !important;
5+
}
6+
7+
.markdown-preview-view h1 {
8+
margin-top: inherit;
9+
}
10+
11+
/* blockquote tweaks */
12+
.markdown-preview-view blockquote {
13+
font-style: normal !important;
14+
}
15+
.markdown-preview-view blockquote > p {
16+
opacity: 0.8 !important;
17+
}
18+
.markdown-preview-view blockquote::before {
19+
opacity: 0.5 !important;
20+
}

0 commit comments

Comments
 (0)