From b18df5fd3ee84e7fd4df681b7fdfd19cdbf72051 Mon Sep 17 00:00:00 2001 From: Peter Molnar Date: Sat, 5 Jan 2019 11:56:12 +0000 Subject: [PATCH] small styling updated, print css fixes --- templates/style-print.css | 16 +++++++++++----- templates/style.css | 18 ++++++++++++++---- 2 files changed, 25 insertions(+), 9 deletions(-) diff --git a/templates/style-print.css b/templates/style-print.css index 8cc47dd..c523eb1 100644 --- a/templates/style-print.css +++ b/templates/style-print.css @@ -4,7 +4,7 @@ } html, body { - font-size: 11pt !important; + font-size: 10pt !important; font-family: Helvetica, sans-serif !important; } @@ -24,7 +24,7 @@ h1, h2, h3, h4, h5, h6 { h3, a, -.footnotes ol li a, +.footnotes a, .h-feed .h-entry, code, pre { @@ -43,10 +43,16 @@ td, th { border: 1pt solid #666; } -.footnote ol li a { +.footnotes a { display: block; overflow: visible; white-space: normal; + overflow:visible !important; + text-overflow:initial !important; +} + +.footnote-back { + display: none; } body > header, @@ -55,7 +61,7 @@ video, audio, .footnote-backref, .footnote-back, -.donation, +.encourage, .noprint { display:none !important; } @@ -80,4 +86,4 @@ pre { .h-feed .h-entry { page-break-after: always; -} +} \ No newline at end of file diff --git a/templates/style.css b/templates/style.css index f8c67db..b4c12a1 100644 --- a/templates/style.css +++ b/templates/style.css @@ -4,6 +4,10 @@ box-sizing: border-box; } +html { + background-color: #111; +} + body { margin: 0; padding: 0; @@ -214,8 +218,6 @@ body > footer { padding: 0.6em 0.6em; background-color: #111; text-align: center; -/*background-color: #424747; - text-shadow: 1px 1px #222;*/ } body > header nav { @@ -316,6 +318,7 @@ body > footer nav { margin: 1em 0; } +.replies .u-url, .footnotes a { display: inline-block; overflow: hidden; @@ -357,7 +360,8 @@ body > footer h2, } @media all and (min-width: 58em) { body > header > section, - body > footer > section { + body > footer > section, + .grid { text-align: left; display: flex; justify-content:space-between; @@ -372,6 +376,11 @@ body > footer h2, display: inline-block; vertical-align: top; } + + .grid iframe { + width: 32%; + height: 30em; + } } body > img { @@ -380,4 +389,5 @@ body > img { right: 0; width: 10em; height: auto; -} \ No newline at end of file +} + \ No newline at end of file