OSDN Git Service

Hide paragraph terminator at the end of headings on html export (#4194).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 11 Nov 2009 11:10:03 +0000 (11:10 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 11 Nov 2009 11:10:03 +0000 (11:10 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3026 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/wiki/export.rhtml
app/views/wiki/export_multiple.rhtml

index 7f861fa..da45423 100644 (file)
@@ -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>
index a4e4c5e..31fa557 100644 (file)
@@ -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>