Skip to content

Commit 1a8a694

Browse files
committed
Fix homepage examples
1 parent b557e4f commit 1a8a694

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docs/assets/scss/_syntax.scss

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
.highlight {
44
pre {
5-
padding: 1.5rem;
5+
padding: 1.25rem;
66
margin-bottom: 1.5rem;
77
background-color: rgba(0, 0, 0, .025);
88
border-radius: .25rem;
@@ -18,6 +18,18 @@
1818
}
1919
}
2020

21+
.bd-example {
22+
padding: 1.25rem;
23+
border: 1px solid rgba(0,0,0,.1);
24+
border-top-left-radius: .25rem;
25+
border-top-right-radius: .25rem;
26+
27+
+ .highlight pre {
28+
border-top-left-radius: 0;
29+
border-top-right-radius: 0;
30+
}
31+
}
32+
2133
.chroma .dl { color: #4070a0; }
2234
.chroma .c { color: #999; }
2335
.chroma .c1 { color: #999; }

0 commit comments

Comments
 (0)