Skip to content

Commit 128afb3

Browse files
committed
New Stylings for new markdown sytaxes
1 parent d67d462 commit 128afb3

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

src/components/Content/style.css

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,39 @@
115115
gap: 1rem;
116116
}
117117

118+
.content .code {
119+
background: #ffffff33;
120+
padding: 1rem;
121+
border-radius: 0.5rem;
122+
font-family: "JetBrains Mono", monospace;
123+
font-size: 0.875rem;
124+
overflow-x: auto;
125+
white-space: pre-wrap;
126+
text-wrap: nowrap;
127+
user-select: text;
128+
cursor: text;
129+
}
130+
131+
.content .blockquote {
132+
border-left: 0.25rem solid var(--color-primary);
133+
padding-left: 1rem;
134+
color: var(--color-text-secondary);
135+
font-style: italic;
136+
}
137+
138+
.content .inlineCode {
139+
background: #ffffff33;
140+
padding: 0.125rem 0.25rem;
141+
border-radius: 0.25rem;
142+
font-family: "JetBrains Mono", monospace;
143+
font-size: 0.75rem;
144+
white-space: pre-wrap;
145+
text-wrap: nowrap;
146+
user-select: text;
147+
cursor: text;
148+
margin: 0.25rem 0;
149+
}
150+
118151
.content:has(.root:empty) .no-content {
119152
display: flex;
120153
}

0 commit comments

Comments
 (0)