[前][次][番号順一覧][スレッド一覧]

ruby-changes:55180

From: nobu <ko1@a...>
Date: Sat, 30 Mar 2019 21:39:38 +0900 (JST)
Subject: [ruby-changes:55180] nobu:r67387 (trunk): rdoc: Colorize background of code/pre [ci skip]

nobu	2019-03-30 21:39:35 +0900 (Sat, 30 Mar 2019)

  New Revision: 67387

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67387

  Log:
    rdoc: Colorize background of code/pre [ci skip]
    
    Borrowed the style of code/pre from bugs.ruby-lang.org.

  Modified files:
    trunk/lib/rdoc/generator/template/darkfish/css/rdoc.css
Index: lib/rdoc/generator/template/darkfish/css/rdoc.css
===================================================================
--- lib/rdoc/generator/template/darkfish/css/rdoc.css	(revision 67386)
+++ lib/rdoc/generator/template/darkfish/css/rdoc.css	(revision 67387)
@@ -62,6 +62,9 @@ h6:hover span { https://github.com/ruby/ruby/blob/trunk/lib/rdoc/generator/template/darkfish/css/rdoc.css#L62
 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 */

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]