Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933972AbcLBNNA (ORCPT ); Fri, 2 Dec 2016 08:13:00 -0500 Received: from bombadil.infradead.org ([198.137.202.9]:53263 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759605AbcLBNM4 (ORCPT ); Fri, 2 Dec 2016 08:12:56 -0500 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Markus Heiser , Mauro Carvalho Chehab , LKML , Jonathan Corbet , Mauro Carvalho Chehab , Hans Verkuil , Mauro Carvalho Chehab Subject: [PATCH 1/4] doc-rst: customize RTD theme; literal-block Date: Fri, 2 Dec 2016 11:12:47 -0200 Message-Id: <820bd93ec8d39057a1e25b948bc07d688e8e8d79.1480683879.git.mchehab@s-opensource.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 962 Lines: 32 From: Markus Heiser From: Markus Heiser Format the literal-block like other code-block elements, with 12px and a line-high of 1.5. Signed-off-by: Markus Heiser Signed-off-by: Mauro Carvalho Chehab --- Documentation/sphinx-static/theme_overrides.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/sphinx-static/theme_overrides.css b/Documentation/sphinx-static/theme_overrides.css index d5764a4de5a2..7033d4c05e42 100644 --- a/Documentation/sphinx-static/theme_overrides.css +++ b/Documentation/sphinx-static/theme_overrides.css @@ -69,4 +69,11 @@ .rst-content tt.literal,.rst-content tt.literal,.rst-content code.literal { color: inherit; } + + /* literal blocks (e.g. parsed-literal directive) */ + + pre.literal-block { + font-size: 12px; + line-height: 1.5; + } } -- 2.9.3