diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-11-11 11:10:03 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-11-11 11:10:03 +0000 |
commit | 858f5cbf07327fe3926bbb998986e4a203349e4b (patch) | |
tree | 28d4de53b362541f06e0878f2d80d542038f5d6b /app/views/wiki | |
parent | b8b8cea2888b022ec08ac81160133c642dda4e43 (diff) | |
download | redmine-858f5cbf07327fe3926bbb998986e4a203349e4b.tar.gz redmine-858f5cbf07327fe3926bbb998986e4a203349e4b.zip |
Hide paragraph terminator at the end of headings on html export (#4194).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3026 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/wiki')
-rw-r--r-- | app/views/wiki/export.rhtml | 3 | ||||
-rw-r--r-- | app/views/wiki/export_multiple.rhtml | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/app/views/wiki/export.rhtml b/app/views/wiki/export.rhtml index 7f861facf..da45423dc 100644 --- a/app/views/wiki/export.rhtml +++ b/app/views/wiki/export.rhtml @@ -10,6 +10,9 @@ ul.toc { padding: 4px; margin-left: 0; } ul.toc li { list-style-type:none; } ul.toc li.heading2 { margin-left: 1em; } ul.toc li.heading3 { margin-left: 2em; } +a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; } +a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; } +h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; } </style> </head> <body> diff --git a/app/views/wiki/export_multiple.rhtml b/app/views/wiki/export_multiple.rhtml index a4e4c5e21..31fa557c7 100644 --- a/app/views/wiki/export_multiple.rhtml +++ b/app/views/wiki/export_multiple.rhtml @@ -6,6 +6,13 @@ <style> body { font:80% Verdana,Tahoma,Arial,sans-serif; } h1, h2, h3, h4 { font-family: "Trebuchet MS",Georgia,"Times New Roman",serif; } +ul.toc { padding: 4px; margin-left: 0; } +ul.toc li { list-style-type:none; } +ul.toc li.heading2 { margin-left: 1em; } +ul.toc li.heading3 { margin-left: 2em; } +a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; } +a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; } +h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; } </style> </head> <body> |