Remove code border.
This commit is contained in:
parent
1f6032a30e
commit
adb894869e
|
@ -1,6 +1,8 @@
|
||||||
$container-width: 800px;
|
$container-width: 800px;
|
||||||
$primary-color: #36e281;
|
$primary-color: #36e281;
|
||||||
$primary-color-dark: darken($primary-color, 10%);
|
$primary-color-dark: darken($primary-color, 10%);
|
||||||
|
$code-color: #f0f0f0;
|
||||||
|
$code-color-dark: darken($code-color, 10%);
|
||||||
$font-heading: "Lora", serif;
|
$font-heading: "Lora", serif;
|
||||||
$font-body: "Raleway", serif;
|
$font-body: "Raleway", serif;
|
||||||
$font-code: "Inconsolata", monospace;
|
$font-code: "Inconsolata", monospace;
|
||||||
|
@ -10,6 +12,7 @@ body {
|
||||||
font-size: 1.0em;
|
font-size: 1.0em;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
|
text-align: justify;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
|
@ -29,14 +32,14 @@ h1, h2, h3, h4, h5, h6 {
|
||||||
|
|
||||||
code {
|
code {
|
||||||
font-family: $font-code;
|
font-family: $font-code;
|
||||||
background-color: #f0f0f0;
|
background-color: $code-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre code {
|
pre code {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
background-color: #f0f0f0;
|
background-color: $code-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user