Skip to content

Commit

Permalink
Fix homepage examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Mar 19, 2020
1 parent b557e4f commit 06f36cf
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/assets/scss/_syntax.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

.highlight {
pre {
padding: 1.5rem;
padding: 1.25rem;
margin-bottom: 1.5rem;
background-color: rgba(0, 0, 0, .025);
border-radius: .25rem;
Expand All @@ -18,6 +18,18 @@
}
}

.bd-example {
padding: 1.25rem;
border: 1px solid rgba(0, 0, 0, .1);
border-top-left-radius: .25rem;
border-top-right-radius: .25rem;

+ .highlight pre {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
}

.chroma .dl { color: #4070a0; }
.chroma .c { color: #999; }
.chroma .c1 { color: #999; }
Expand Down

0 comments on commit 06f36cf

Please sign in to comment.