Updated "code" style on website (#2298)

The existing style was a bit harsh, especially with a lot of code
blocks in a row. This lightens it a bit to be more focused on the
monospace aspect rather than offsetting code with different backgrounds.

Signed-off-by: Adam Leff <adam@leff.co>
This commit is contained in:
Adam Leff 2017-11-08 16:41:06 -05:00 committed by GitHub
parent 13a93ebd32
commit 884204f1ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,18 +1,19 @@
//default
code {
color: white;
border-radius: 4px;
background: $color_paragraph;
border-color: $color_paragraph;
color: $color_paragraph;
border: 0px;
background: white;
}
.highlight code {
padding-left: 0;
color: white;
background: $color_paragraph;
padding-left: 0;
}
pre {
border-radius: 7px;
border-radius: 7px;
padding: 10px;
margin-bottom: 1em;
background: $color_paragraph;