From owner-svn-doc-head@FreeBSD.ORG Thu Mar 20 04:13:05 2014 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A7A6B29B; Thu, 20 Mar 2014 04:13:05 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 951A6BBF; Thu, 20 Mar 2014 04:13:05 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2K4D5Z6015484; Thu, 20 Mar 2014 04:13:05 GMT (envelope-from wblock@svn.freebsd.org) Received: (from wblock@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2K4D5uX015483; Thu, 20 Mar 2014 04:13:05 GMT (envelope-from wblock@svn.freebsd.org) Message-Id: <201403200413.s2K4D5uX015483@svn.freebsd.org> From: Warren Block Date: Thu, 20 Mar 2014 04:13:05 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r44293 - head/share/misc X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Mar 2014 04:13:05 -0000 Author: wblock Date: Thu Mar 20 04:13:05 2014 New Revision: 44293 URL: http://svnweb.freebsd.org/changeset/doc/44293 Log: Fix the display of line numbers in screen and programlisting elements. Later version of the patch supplied by Allan Jude . PR: docs/187733 Submitted by: Dru Lavigne Modified: head/share/misc/docbook.css Modified: head/share/misc/docbook.css ============================================================================== --- head/share/misc/docbook.css Wed Mar 19 23:47:11 2014 (r44292) +++ head/share/misc/docbook.css Thu Mar 20 04:13:05 2014 (r44293) @@ -272,7 +272,7 @@ html { background-color: #edc; border-style: solid; border-color: #EEB985; - border-width: 0 0 0 24px; + border-width: 0 0 0 2.5em; border-radius: 6px; counter-reset: code; } @@ -284,7 +284,7 @@ html { background-color: #eee; border-style: solid; border-color: #BABABA; - border-width: 0 0 0 24px; + border-width: 0 0 0 2.5em; border-radius: 6px; counter-reset: code; } @@ -292,18 +292,19 @@ html { span.verbatim { counter-increment: code; display: block; - padding: 0 13px 0 29px; + padding: 0 0.5em 0 3.75em; position: relative; - margin: 0 -8px 0 -24px; + margin: 0 -0.3em 0 -3.85em; overflow: hidden; } span.verbatim:before { - width: 24px; + width: 3em; text-align: right; - content: counter(code) " "; + content: counter(code); position: absolute; - left: -10px; + left: 0; + color: #404040; } @media screen { /* hide from IE3 */