From 38fe1529762db32234a37bb239996121f3b51088 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Fri, 11 Oct 2024 07:50:09 +0000 Subject: [PATCH] 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 --- app/assets/stylesheets/wiki_syntax_detailed.css | 1 + .../wiki_syntax/code_highlighting_languages.html.erb | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) 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? %> -- 2.39.5