Skip to content

Commit f46fab7

Browse files
committed
Adjust code block borders for better color consistency
1 parent 5776c9b commit f46fab7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

sass/_article.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,13 @@ article li pre {
129129
vertical-align: center;
130130
padding: 0.3em 0.2em 0.1em 0.2em;
131131
line-height: 1.1;
132-
border-bottom: 1px solid $heroDark;
132+
border-bottom: 1px solid rgba($heroDark, 0.5);
133133
}
134134

135135
.article-content h2 code {
136136
font-size: 1rem;
137137
margin: 0 5px;
138-
border: 1px solid white;
138+
border: 1px solid $heroDark;
139139
padding: 10px;
140140
}
141141

@@ -436,6 +436,10 @@ article a code:not(pre > code) {
436436
border-bottom-color: rgba($darkPrim, 0.5);
437437
}
438438

439+
.article-content h2 code {
440+
border: 1px solid rgba($darkPrim, 0.5);
441+
}
442+
439443
.info {
440444
border-color: rgba(255, 255, 255, 0.5);
441445
}

0 commit comments

Comments
 (0)