Skip to content

Commit fa64562

Browse files
committed
Update styles
1 parent a80653e commit fa64562

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

src/css/doc.css

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.doc {
22
color: var(--doc-font-color);
33
font-size: var(--doc-font-size);
4-
hyphens: auto;
4+
hyphens: none;
55
line-height: var(--doc-line-height);
66
margin: var(--doc-margin);
77
max-width: var(--doc-max-width);
@@ -137,7 +137,7 @@
137137
.doc p code,
138138
.doc thead code,
139139
.doc .colist > table code {
140-
color: var(--code-font-color);
140+
color: var(--bs-code-color);
141141
background: var(--code-background);
142142
border-radius: 0.25em;
143143
font-size: 0.95em;
@@ -355,6 +355,7 @@
355355
padding: 1rem 1rem 0.75rem;
356356
background: var(--admonition-background);
357357
width: 100%;
358+
border: inset;
358359
word-wrap: anywhere;
359360
}
360361

@@ -372,7 +373,7 @@
372373
height: 1.5em;
373374
padding: 0.25em 1em;
374375
line-height: 1;
375-
border-radius: 0.45em;
376+
border-radius: 0.2em;
376377
transform: translate(-0.5em, -50%);
377378
}
378379

@@ -720,8 +721,8 @@
720721
.doc .exampleblock > .content,
721722
.doc details.result > .content {
722723
background: var(--example-background);
723-
border: 0.25rem solid var(--example-border-color);
724-
border-radius: 0.5rem;
724+
border: 1px dashed var(--example-border-color);
725+
border-radius: 5px;
725726
padding: 0.75rem;
726727
}
727728

src/css/vars.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ nav h3 {
130130
--code-background: var(--panel-background);
131131
--code-font-color: var(--body-font-color);
132132
--example-background: var(--color-white);
133-
--example-border-color: var(--color-gray-70);
133+
--example-border-color: var(--color-synth-blue);
134134
--kbd-background: var(--panel-background);
135135
--kbd-border-color: var(--color-gray-10);
136136
--pre-background: var(--panel-background);

0 commit comments

Comments
 (0)