From: ArthurHoaro Date: Fri, 13 May 2016 17:57:01 +0000 (+0200) Subject: Markdown: inline code background color X-Git-Tag: v0.7.0~4^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=e8b65d5f35786e5b2d5a7997f5de7e2e66e2c830;hp=d95533778d86bb6c6de3b14a9da35e6d6e6428bd;p=github%2Fshaarli%2FShaarli.git Markdown: inline code background color --- diff --git a/plugins/markdown/markdown.css b/plugins/markdown/markdown.css index 3c1b2aeb..6789ce84 100644 --- a/plugins/markdown/markdown.css +++ b/plugins/markdown/markdown.css @@ -143,6 +143,13 @@ hyphens: none; } +.markdown :not(pre) code { + background-color: #eee; + padding: 1px 3px; + border-radius: 1px; + box-shadow: 0 -1px 0 #e5e5e5,0 0 1px rgba(0,0,0,0.12),0 1px 1px rgba(0,0,0,0.24); +} + .md_help { color: white; }