From 954f6463f9691f024de02b32744441309eb451b5 Mon Sep 17 00:00:00 2001 From: dave Date: Wed, 26 May 2004 05:02:55 +0000 Subject: Allow "do" after "for". Fix up css for standalone code window git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rdoc/generators/template/html/html.rb | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'lib/rdoc/generators/template/html') diff --git a/lib/rdoc/generators/template/html/html.rb b/lib/rdoc/generators/template/html/html.rb index 41f9f4b27..e0a888000 100644 --- a/lib/rdoc/generators/template/html/html.rb +++ b/lib/rdoc/generators/template/html/html.rb @@ -187,7 +187,9 @@ div.method-source-code { div.method-source-code pre { color: #ffdead; overflow: hidden; } /* --- Ruby keyword styles --------------------- */ -/* (requires a hacked html_generator.rb to add more class-types) */ + +.standalone-code { background: #221111; color: #ffdead; overflow: hidden; } + .ruby-constant { color: #7fffd4; background: transparent; } .ruby-keyword { color: #00ffff; background: transparent; } .ruby-ivar { color: #eedd82; background: transparent; } @@ -561,18 +563,13 @@ BODY = HEADER + %{ ##################################################################### SRC_PAGE = XHTML_PREAMBLE + %{ - %title% - + - +
%code%
-- cgit