diff options
author | Go MAEDA <maeda@farend.jp> | 2019-09-30 00:28:47 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-09-30 00:28:47 +0000 |
commit | f1d69da31014ed0d953674df22e6a4a3e42f9e74 (patch) | |
tree | 21d0628241e87b947aeaa34fce982609549a9dc5 /public/help | |
parent | 661d4b42b179c9b16cafcc0e95c025b6f874d28a (diff) | |
download | redmine-f1d69da31014ed0d953674df22e6a4a3e42f9e74.tar.gz redmine-f1d69da31014ed0d953674df22e6a4a3e42f9e74.zip |
Text enclosed in pre tag in Wiki formatting reference is not displayed in a monospaced font in Chrome (#32170).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18550 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/help')
-rw-r--r-- | public/help/wiki_syntax.css | 1 | ||||
-rw-r--r-- | public/help/wiki_syntax_detailed.css | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/public/help/wiki_syntax.css b/public/help/wiki_syntax.css index ca2c04f76..597df47b1 100644 --- a/public/help/wiki_syntax.css +++ b/public/help/wiki_syntax.css @@ -1,5 +1,6 @@ h1 { font-family: Verdana, sans-serif; font-size: 14px; text-align: center; color: #444; } body { font-family: Verdana, sans-serif; font-size: 12px; color: #444; } +pre, code {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; } table th { padding-top: 1em; } table td { vertical-align: top; background-color: #f5f5f5; height: 2em; vertical-align: middle;} table td code { font-size: 1.2em; } diff --git a/public/help/wiki_syntax_detailed.css b/public/help/wiki_syntax_detailed.css index b6ae88e81..08fb68c68 100644 --- a/public/help/wiki_syntax_detailed.css +++ b/public/help/wiki_syntax_detailed.css @@ -1,6 +1,6 @@ body { font:80% Verdana,Tahoma,Arial,sans-serif; } h1, h2, h3, h4 { font-family: Trebuchet MS,Georgia,"Times New Roman",serif; } -pre, code { font-size:120%; } +pre, code { font-size:120%; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; } pre code { font-size:100%; } pre { margin: 1em 1em 1em 1.6em; |