Moved previous CSS change to screen only, slightly reduced line height so that titles stand out more

This commit is contained in:
Ed Ward 2021-04-11 14:14:33 +02:00 committed by Len Ovens
parent 8784c09ee4
commit 2639f322ce
2 changed files with 12 additions and 16 deletions

View File

@ -177,13 +177,6 @@ code {
font-size: 2em; font-size: 2em;
} }
figcaption {
font-size: .9em;
font-style: italic;
line-height: .9em;
}
/* Keyboard modifiers */ /* Keyboard modifiers */
.mod1:before { content: "Ctrl ";} .mod1:before { content: "Ctrl ";}
.mod2:before { content: "Alt ";} .mod2:before { content: "Alt ";}

View File

@ -48,7 +48,7 @@
#content { #content {
padding: 1em 2em 2ex 21em; padding: 1em 2em 2ex 21em;
margin-left: 0; margin-left: 0;
line-height: 2em; line-height: 1.8em;
} }
#content h1, #content h1,
@ -145,7 +145,7 @@
#content ul, #content ul,
#content ol { #content ol {
overflow: hidden; overflow: hidden;
} }
#content figure { #content figure {
@ -153,20 +153,23 @@
} }
#content figcaption { #content figcaption {
display: table-caption; display: table-caption;
caption-side: bottom; caption-side: bottom;
font-style: italic; font-style: italic;
padding-top: 0.5em; padding-top: 0.4em;
padding-bottom: 1em; padding-bottom: 1em;
font-size: .9em;
line-height: .9em;
}
} }
#content figcaption.center { #content figcaption.center {
text-align: center; text-align: center;
} }
#content figcaption.titleover { #content figcaption.titleover {
text-align: center; text-align: center;
caption-side: top; caption-side: top;
} }
#content figure.right { #content figure.right {
@ -195,7 +198,7 @@
} }
#content img.fit { #content img.fit {
width: 100%; width: 100%;
} }
kbd { kbd {