From: Go MAEDA Date: Fri, 11 Oct 2024 07:50:09 +0000 (+0000) Subject: Update Code Highlighting Help font and font size to match the new default theme ... X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=38fe1529762db32234a37bb239996121f3b51088;p=redmine.git Update Code Highlighting Help font and font size to match the new default theme (#41321). git-svn-id: https://svn.redmine.org/redmine/trunk@23115 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/assets/stylesheets/wiki_syntax_detailed.css b/app/assets/stylesheets/wiki_syntax_detailed.css index 11e3cd624..ff234ae25 100644 --- a/app/assets/stylesheets/wiki_syntax_detailed.css +++ b/app/assets/stylesheets/wiki_syntax_detailed.css @@ -33,6 +33,7 @@ a.new { color: #b73535; } table.sample { border-collapse: collapse; border-spacing: 0; margin: 4px; margin-left: 30px;} table.sample th, table.sample td { border: solid 1px #bbb; padding: 4px; height: 1em; } +table.list td { background-color: #f5f5f5; vertical-align: middle; padding: 0.3em;} .syntaxhl .c1 { color: #888888 } .syntaxhl .k { color: #008800; font-weight: bold } diff --git a/app/views/help/wiki_syntax/code_highlighting_languages.html.erb b/app/views/help/wiki_syntax/code_highlighting_languages.html.erb index 8e15e1051..befa388a4 100644 --- a/app/views/help/wiki_syntax/code_highlighting_languages.html.erb +++ b/app/views/help/wiki_syntax/code_highlighting_languages.html.erb @@ -1,22 +1,22 @@ - List of languages supported by Redmine code highlighter - - <%= stylesheet_link_tag "wiki_syntax.css" %> + + <%= stylesheet_link_tag "wiki_syntax_detailed.css" %>

List of languages supported by Redmine code highlighter

- +
<% @available_lexers.each do |lexer| %> - +
Language Description
<%= lexer.tag %><%= lexer.tag %> <%= lexer.desc %> <%= " [aliases: #{lexer.aliases.uniq.join(', ')}]" if lexer.aliases.any? %>