diff options
Diffstat (limited to 'lib/sisu/current')
-rw-r--r-- | lib/sisu/current/css.rb | 18 | ||||
-rw-r--r-- | lib/sisu/current/html_format.rb | 2 |
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 '' |