From patchwork Thu Mar 10 02:12:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cole Robinson X-Patchwork-Id: 63726 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp177436lbc; Wed, 9 Mar 2016 18:15:52 -0800 (PST) X-Received: by 10.140.101.147 with SMTP id u19mr1086237qge.71.1457576152089; Wed, 09 Mar 2016 18:15:52 -0800 (PST) Return-Path: Received: from mx6-phx2.redhat.com (mx6-phx2.redhat.com. [209.132.183.39]) by mx.google.com with ESMTPS id e6si1507748qge.68.2016.03.09.18.15.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Mar 2016 18:15:52 -0800 (PST) Received-SPF: pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.39 as permitted sender) client-ip=209.132.183.39; Authentication-Results: mx.google.com; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.39 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx6-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2A2DAlD030933; Wed, 9 Mar 2016 21:13:10 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u2A2CVLm011130 for ; Wed, 9 Mar 2016 21:12:31 -0500 Received: from colepc.redhat.com (ovpn-113-126.phx2.redhat.com [10.3.113.126]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2A2CSWb009100; Wed, 9 Mar 2016 21:12:30 -0500 From: Cole Robinson To: libvirt-list@redhat.com Date: Wed, 9 Mar 2016 21:12:25 -0500 Message-Id: In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 4/4] docs: generic.css: Indentation and spacing tweaks X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com - Add line-height:150% spacing for all text. This makes text lines far less cramped, and seems closer visually to what wikipedia uses. - Remove bottom and top margin from lists: entries seemed needlessly spread out. - Reduce sublist indentation a bit - Add a bottom border after headings: IMO this greatly helps in break up the vertical flow of a big page of text. Doesn't look great on the front page, but helps a lot on dense pages like formatdomain --- docs/generic.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) -- 2.5.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list diff --git a/docs/generic.css b/docs/generic.css index 285e390..e862fe0 100644 --- a/docs/generic.css +++ b/docs/generic.css @@ -20,12 +20,16 @@ div.body p:first-letter { p, ul, ol, dl { padding: 0px; margin: 0px; + line-height: 150%; +} + +p { margin-top: 1em; margin-bottom: 1em; } ul, ol { - margin-left: 3em; + margin-left: 2em; } dt { @@ -45,6 +49,8 @@ h1, h2, h3, h4, h5, h6 { margin: 0px; padding: 0px; margin-top: 0.5em; + margin-bottom: 0.5em; + border-bottom:1px solid #aaa; } h1 {