aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/v2/css.rb4
-rw-r--r--lib/sisu/v2/html_format.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/sisu/v2/css.rb b/lib/sisu/v2/css.rb
index 38913431..9856c0d0 100644
--- a/lib/sisu/v2/css.rb
+++ b/lib/sisu/v2/css.rb
@@ -261,6 +261,10 @@ WOK
color: #000000;
background-color: #f9f9aa;
}
+ a.lnkocn:link {
+ color: #777777;
+ text-decoration: none;
+ }
/*
a:hover {
border-bottom: 2px solid #777777;
diff --git a/lib/sisu/v2/html_format.rb b/lib/sisu/v2/html_format.rb
index c4758c5f..89ee812f 100644
--- a/lib/sisu/v2/html_format.rb
+++ b/lib/sisu/v2/html_format.rb
@@ -82,7 +82,7 @@ module SiSU_HTML_Format
else
ocn_class='ocn'
@ocn.gsub(/^(\d+|)$/,
- %{<label class="#{ocn_class}"><a name="#{@ocn}">\\1</a></label>})
+ %{<label class="#{ocn_class}"><a name="#{@ocn}" href="##{@ocn}" class="lnk#{ocn_class}">\\1</a></label>})
end
end
def name