Reduce visual weight of code blocks
Flatten shadow and remove borders relying on background color to highlight code.
This commit is contained in:
parent
a9e0482077
commit
f9f97d72e6
2 changed files with 0 additions and 4 deletions
|
@ -170,9 +170,7 @@ td > code {
|
||||||
padding-bottom: 0.1rem;
|
padding-bottom: 0.1rem;
|
||||||
font-size: $type-size-6;
|
font-size: $type-size-6;
|
||||||
background: $code-background-color;
|
background: $code-background-color;
|
||||||
border: 1px solid $border-color;
|
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
box-shadow: $box-shadow;
|
|
||||||
|
|
||||||
&:before,
|
&:before,
|
||||||
&:after {
|
&:after {
|
||||||
|
|
|
@ -9,10 +9,8 @@ figure.highlight {
|
||||||
font-family: $monospace;
|
font-family: $monospace;
|
||||||
font-size: $type-size-6;
|
font-size: $type-size-6;
|
||||||
line-height: 1.8;
|
line-height: 1.8;
|
||||||
border: 1px solid $border-color;
|
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
background-color: $code-background-color;
|
background-color: $code-background-color;
|
||||||
box-shadow: $box-shadow;
|
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
Loading…
Reference in a new issue