aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/current
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2015-01-07 19:04:46 -0500
committerRalph Amissah <ralph@amissah.com>2015-01-07 22:42:40 -0500
commit881e80ccce53136652b269aa34b6c7cb6ceb34ca (patch)
treee87f7292914f2b5cf90ebc7fc8b4fd4483cc4289 /lib/sisu/current
parentc&d: small fixes (diff)
c&d: html, ocn link back to self reinstated
* requested, used as quick means to get object url reference link * d: removed ocn_html_identifier variable, unnecessary in html5 (requirement previously forced by html4)
Diffstat (limited to 'lib/sisu/current')
-rw-r--r--lib/sisu/current/css.rb18
-rw-r--r--lib/sisu/current/html_format.rb2
2 files changed, 9 insertions, 11 deletions
diff --git a/lib/sisu/current/css.rb b/lib/sisu/current/css.rb
index 8e57abba..1832b66c 100644
--- a/lib/sisu/current/css.rb
+++ b/lib/sisu/current/css.rb
@@ -355,16 +355,6 @@ WOK
color: #000000;
background-color: #f9f9aa;
}
- a.lnkocn:link {
- color: #777777;
- text-decoration: none;
- }
-/*
- a:hover {
- border-bottom: 2px solid #777777;
- background-color: #fff3b6;
- }
-*/
a:hover img {
background-color: #ffffff;
}
@@ -372,6 +362,14 @@ WOK
color: #003399;
text-decoration: underline;
}
+ a.lnkocn:link {
+ color: #777777;
+ text-decoration: none;
+ }
+ a.lnkocn:visited {
+ color: #555555;
+ text-decoration: none;
+ }
div {
margin-left: 0;
margin-right: 0;
diff --git a/lib/sisu/current/html_format.rb b/lib/sisu/current/html_format.rb
index af9b9c3c..8f83219f 100644
--- a/lib/sisu/current/html_format.rb
+++ b/lib/sisu/current/html_format.rb
@@ -69,7 +69,7 @@ module SiSU_HTML_Format
or @ocn.empty?
''
else
- %{<label class="ocn">#{@ocn}</label>}
+ %{<label class="ocn"><a href="##{@ocn_html_identifier}#{@ocn}" class="lnkocn">#{@ocn}</a></label>}
end
else
''