diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-03-30 12:39:35 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-03-30 12:39:35 +0000 |
commit | 19e672cce9590c09b6beb3ada4ccf0e62bf6610c (patch) | |
tree | d63ab25e40177a5a549a8493eacd0c67f3cae556 /lib/rdoc/generator | |
parent | 721be154946f0a13f739363c4968c548aba5fee3 (diff) |
rdoc: Colorize background of code/pre [ci skip]
Borrowed the style of code/pre from bugs.ruby-lang.org.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/generator')
-rw-r--r-- | lib/rdoc/generator/template/darkfish/css/rdoc.css | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rdoc/generator/template/darkfish/css/rdoc.css b/lib/rdoc/generator/template/darkfish/css/rdoc.css index a6a577d1a1..43588e6f1a 100644 --- a/lib/rdoc/generator/template/darkfish/css/rdoc.css +++ b/lib/rdoc/generator/template/darkfish/css/rdoc.css @@ -62,6 +62,9 @@ h6:hover span { code, pre { font-family: "Source Code Pro", Monaco, monospace; + background-color: rgba(27,31,35,0.05); + padding: 0em 0.2em; + border-radius: 0.2em; } /* @group Generic Classes */ |