Reduce visual weight of code blocks

Flatten shadow and remove borders relying on background color to highlight code.
This commit is contained in:
Michael Rose 2018-01-03 10:11:10 -05:00
parent a9e0482077
commit f9f97d72e6
2 changed files with 0 additions and 4 deletions

View file

@ -170,9 +170,7 @@ td > code {
padding-bottom: 0.1rem;
font-size: $type-size-6;
background: $code-background-color;
border: 1px solid $border-color;
border-radius: $border-radius;
box-shadow: $box-shadow;
&:before,
&:after {

View file

@ -9,10 +9,8 @@ figure.highlight {
font-family: $monospace;
font-size: $type-size-6;
line-height: 1.8;
border: 1px solid $border-color;
border-radius: $border-radius;
background-color: $code-background-color;
box-shadow: $box-shadow;
&:before {
position: absolute;