diff options
author | Go MAEDA <maeda@farend.jp> | 2024-10-11 07:50:09 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-10-11 07:50:09 +0000 |
commit | 38fe1529762db32234a37bb239996121f3b51088 (patch) | |
tree | adf59f51b04a32885bfe0343d9b6638c49790fda | |
parent | 30ce29456f2a6c3d9e91cad6f13446595b925ccd (diff) | |
download | redmine-38fe1529762db32234a37bb239996121f3b51088.tar.gz redmine-38fe1529762db32234a37bb239996121f3b51088.zip |
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
-rw-r--r-- | app/assets/stylesheets/wiki_syntax_detailed.css | 1 | ||||
-rw-r--r-- | app/views/help/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 @@ -<!doctype html +<!doctype html> <html lang="en"> <head> <title>List of languages supported by Redmine code highlighter</title> - <meta http-equiv="content-type" content="text/html; charset=utf-8" /> - <%= stylesheet_link_tag "wiki_syntax.css" %> + <meta charset="UTF-8"> + <%= stylesheet_link_tag "wiki_syntax_detailed.css" %> </head> <body> <h1>List of languages supported by Redmine code highlighter</h1> - <table> + <table class="list"> <tr> <th>Language</th> <th>Description</th> </tr> <% @available_lexers.each do |lexer| %> <tr> - <td><%= lexer.tag %></td> + <td><code><%= lexer.tag %></code></td> <td> <%= lexer.desc %> <%= " [aliases: #{lexer.aliases.uniq.join(', ')}]" if lexer.aliases.any? %> |