From: Ed Ward Date: Sun, 11 Apr 2021 12:14:33 +0000 (+0200) Subject: Moved previous CSS change to screen only, slightly reduced line height so that titles... X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2639f322ce092a285122d8a4bfb5297e883003de;hp=8784c09ee467dad5cc148876bfb2e780d40132c0;p=ardour-manual Moved previous CSS change to screen only, slightly reduced line height so that titles stand out more --- 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 {