Skip to content

Commit 2fd0962

Browse files
committed
Colorize background of code/pre
Copied the style of bugs.ruby-lang.org.
1 parent f43b131 commit 2fd0962

File tree

1 file changed

+3
-0
lines changed
  • lib/rdoc/generator/template/darkfish/css

1 file changed

+3
-0
lines changed

lib/rdoc/generator/template/darkfish/css/rdoc.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ h6:hover span {
6262
code,
6363
pre {
6464
font-family: "Source Code Pro", Monaco, monospace;
65+
background-color: rgba(27,31,35,0.05);
66+
padding: 0em 0.2em;
67+
border-radius: 0.2em;
6568
}
6669

6770
/* @group Generic Classes */

0 commit comments

Comments
 (0)