Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1622885 > unrolled thread

[PATCH v2 01/11] doc-rst: customize RTD theme; literal-block

Started byMauro Carvalho Chehab <mchehab@s-opensource.com>
First post2017-04-13 12:10 +0200
Last post2017-04-13 12:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 01/11] doc-rst: customize RTD theme; literal-block Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-04-13 12:10 +0200

#1622885 — [PATCH v2 01/11] doc-rst: customize RTD theme; literal-block

FromMauro Carvalho Chehab <mchehab@s-opensource.com>
Date2017-04-13 12:10 +0200
Subject[PATCH v2 01/11] doc-rst: customize RTD theme; literal-block
Message-ID<tvJRo-1sn-25@gated-at.bofh.it>
From: Markus Heiser <markus.heiser@darmarIT.de>

From: Markus Heiser <markus.heiser@darmarIT.de>

Format the literal-block like other code-block elements, with 12px and a
line-high of 1.5.

Signed-off-by: Markus Heiser <markus.heiser@darmarIT.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
---
 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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web