From e54d00b5d0e4c974619dd919697894825e6ecdc4 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 29 Nov 2010 13:37:21 -0500 Subject: html & css: ocn (object numbers) now link to themselves * jumps to top of browser * provides link url (requested, Ben Armstrong (live-manual)) --- lib/sisu/v2/css.rb | 4 ++++ lib/sisu/v2/html_format.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'lib') 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+|)$/, - %{}) + %{}) end end def name -- cgit v1.2.3