From 952eeac7045bcd4f50840b3e507d5d36e00dc4f3 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Mon, 14 Aug 2017 22:58:32 -0700 Subject: [PATCH] Add some style to code. --- docs/assets/css/main.scss | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/assets/css/main.scss b/docs/assets/css/main.scss index 9b7c937..7a7a9dc 100644 --- a/docs/assets/css/main.scss +++ b/docs/assets/css/main.scss @@ -3,6 +3,7 @@ @import url('https://fonts.googleapis.com/css?family=Open+Sans|Raleway'); $background-color: #06e8a4; +$code-color: #efefef; $accent-color: #00AFE8; $clear-color: white; $title-font: "Open Sans"; @@ -71,3 +72,15 @@ body { border-radius: 2px; background-color: $clear-color; } + +code { + background-color: $code-color; + display: inline-block; + padding: 5px; + + pre & { + padding: 10px; + display: block; + width: 100%; + } +}