Skip to content

Commit cd6eee4

Browse files
authored
Merge pull request creativecommons#453 from creativecommons/fix_code_blocks
fix style for multiple lines of code
2 parents 13ce41f + 87a36ea commit cd6eee4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

webpack/sass/main.scss

+12
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,18 @@ code {
1414
border-radius: 0.25rem;
1515
}
1616

17+
// Multiple lines of code
18+
pre {
19+
color: $color-dark-slate-gray;
20+
background-color: $color-lighter-gray;
21+
border: 0.0625rem solid $color-light-gray;
22+
border-radius: 0.25rem;
23+
24+
code {
25+
border: none;
26+
}
27+
}
28+
1729
.content {
1830
@extend .body-big;
1931

0 commit comments

Comments
 (0)