From 6b7c958063cab5390937e1588f7e4d295b8f226e Mon Sep 17 00:00:00 2001 From: bevilj Date: Fri, 16 Nov 2018 08:18:32 +0000 Subject: [PATCH] css: update code style to be different than pre as they serve different purposes git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@229 a672b425-5310-4d7a-af5c-997e18724b81 --- site/_sass/_syntax-highlighting.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/site/_sass/_syntax-highlighting.scss b/site/_sass/_syntax-highlighting.scss index 2983d43..3d1f8b5 100644 --- a/site/_sass/_syntax-highlighting.scss +++ b/site/_sass/_syntax-highlighting.scss @@ -4,6 +4,7 @@ .highlight, pre, main code { background: #bdbdbd; color: #212121; + border-radius: 2px; .highlighter-rouge & { background: #bdbdbd; @@ -69,3 +70,10 @@ .vi { color: #008080 } // Name.Variable.Instance .il { color: #099 } // Literal.Number.Integer.Long } + +main code { + background: #424242; + color: #f5f5f5; + padding-left: 2px; + padding-right: 2px; +}