From: Arthur Date: Fri, 13 May 2016 18:00:52 +0000 (+0200) Subject: Merge pull request #566 from ArthurHoaro/md-inline-code X-Git-Tag: v0.7.0~4 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=19f53aa18cfa2c78ab798153c31c6e4b23b3c4c9;hp=6d449c8c81ad5a3a4b438e34282dcb2feed28c1d;p=github%2Fshaarli%2FShaarli.git Merge pull request #566 from ArthurHoaro/md-inline-code 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; }