Skip to content

Commit

Permalink
docs(Sample Site): Fix monospace font.
Browse files Browse the repository at this point in the history
  • Loading branch information
kendrick committed Nov 22, 2017
1 parent 5063faf commit e6c3c0a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions templates/scss/_badges.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
font-weight: font-weight(semibold);
font-size: font-size(-4);
flex-shrink: 0;

code,
.code {
padding: 0;
border: 0;
background: transparent;
}
}

.rb-badge-toolbelt {
Expand Down
3 changes: 2 additions & 1 deletion templates/scss/site.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ cite {
}
}

p code,
code,
.code {
padding: 0.125rem 0.25rem;
border: 1px solid color(gray, plus2);
border-radius: 2px;
background-color: color(gray, plus4);
font-family: 'RB Monospace', Monaco, Consolas, 'Lucida Console', monospace;
}

.example-code {
Expand Down

0 comments on commit e6c3c0a

Please sign in to comment.