2012-11-28 13:46:51 +01:00
|
|
|
// ===========================================================================
|
|
|
|
// CODE
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-02-09 04:10:33 +01:00
|
|
|
$code-background-color: $iron !default;
|
|
|
|
$code-text-color: $midnight-blue !default;
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-11-28 17:23:08 +01:00
|
|
|
pre,
|
|
|
|
code {
|
|
|
|
@extend %source-code-pro-regular;
|
2013-02-09 04:10:33 +01:00
|
|
|
@include font-size($font-size-small);
|
2012-11-28 17:23:08 +01:00
|
|
|
background: $code-background-color;
|
|
|
|
color: $code-text-color;
|
2013-02-09 04:10:33 +01:00
|
|
|
letter-spacing: -0.05em;
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
padding: .125em .5em;
|
|
|
|
line-height: $line-height-reset;
|
2012-11-28 17:23:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
2013-02-09 04:10:33 +01:00
|
|
|
margin: .625em 0;
|
|
|
|
padding: 1em;
|
|
|
|
|
|
|
|
code { padding: 0; }
|
2012-11-28 17:23:08 +01:00
|
|
|
}
|