Skip to content

Commit ef8fdb2

Browse files
committed
Updated code-block style
1 parent c4ca25b commit ef8fdb2

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

_code-blocks/webflow-theme.css

+8-3
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,15 @@ pre {
66
color: #d2d2d2;
77
font-family: monospace !important;
88
font-weight: 400;
9+
max-width: 600px;
910
font-size: 14px;
1011
padding: 74px 16px 16px;
1112
border-radius: 6px;
1213
margin: 0;
1314
}
15+
.w-embed {
16+
max-width: 600px;
17+
}
1418
.hljs {
1519
display: block;
1620
overflow-x: auto;
@@ -197,9 +201,10 @@ pre {
197201
display: -webkit-flex;
198202
display: -ms-flexbox;
199203
display: flex;
200-
font-family: monospace;
204+
font-family: Inter, -apple-system, system-ui, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue',
205+
Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
201206
font-size: 25px;
202-
font-weight: bold;
203-
color: #ff7f27;
207+
font-weight: normal;
208+
color: #d9d9d9;
204209
line-height: 1.25;
205210
}

0 commit comments

Comments
 (0)