From 2639f322ce092a285122d8a4bfb5297e883003de Mon Sep 17 00:00:00 2001 From: Ed Ward Date: Sun, 11 Apr 2021 14:14:33 +0200 Subject: [PATCH] Moved previous CSS change to screen only, slightly reduced line height so that titles stand out more --- source/css/common.css | 7 ------- source/css/screen.css | 21 ++++++++++++--------- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/source/css/common.css b/source/css/common.css index 4bd4b84..b5ee4d7 100644 --- a/source/css/common.css +++ b/source/css/common.css @@ -177,13 +177,6 @@ code { font-size: 2em; } -figcaption { - font-size: .9em; - font-style: italic; - line-height: .9em; -} - - /* Keyboard modifiers */ .mod1:before { content: "Ctrl ";} .mod2:before { content: "Alt ";} diff --git a/source/css/screen.css b/source/css/screen.css index 6c38a03..6cd3e25 100644 --- a/source/css/screen.css +++ b/source/css/screen.css @@ -48,7 +48,7 @@ #content { padding: 1em 2em 2ex 21em; margin-left: 0; - line-height: 2em; + line-height: 1.8em; } #content h1, @@ -145,7 +145,7 @@ #content ul, #content ol { - overflow: hidden; + overflow: hidden; } #content figure { @@ -153,20 +153,23 @@ } #content figcaption { - display: table-caption; - caption-side: bottom; - font-style: italic; - padding-top: 0.5em; + display: table-caption; + caption-side: bottom; + font-style: italic; + padding-top: 0.4em; padding-bottom: 1em; + font-size: .9em; + line-height: .9em; +} } #content figcaption.center { - text-align: center; + text-align: center; } #content figcaption.titleover { text-align: center; - caption-side: top; + caption-side: top; } #content figure.right { @@ -195,7 +198,7 @@ } #content img.fit { - width: 100%; + width: 100%; } kbd { -- 2.37.2