From a7e71525f4c50faf6898822df84353c9e8897429 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Thu, 26 Oct 2017 15:32:48 +1100 Subject: [PATCH] Apply a nice, dark scheme to inline code --- lemoncurry/static/lemoncurry/css/layout.styl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lemoncurry/static/lemoncurry/css/layout.styl b/lemoncurry/static/lemoncurry/css/layout.styl index 492ef74..28aff7c 100644 --- a/lemoncurry/static/lemoncurry/css/layout.styl +++ b/lemoncurry/static/lemoncurry/css/layout.styl @@ -8,6 +8,16 @@ a &:hover color $base0C +code, kbd, pre, samp, .code, .kbd, .pre, .samp + font-family SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace + +code, .code + padding .2rem .4rem + font-size 90% + color $base0A + background-color $base00 + border-radius .25rem + .form-control, .form-control:focus background-color $base01 border-color $base00