From 808abda50eb4c1b006f6790b68ed27f621f3d073 Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Wed, 15 Dec 2021 12:20:59 -0300 Subject: [PATCH] Revert "Justify text on blog posts" That was a mistake. --- _layouts/post.html | 2 +- assets/css/style-print.css | 7 +++---- assets/css/style-reduced.css | 4 ---- assets/css/style.css | 7 ------- 4 files changed, 4 insertions(+), 16 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index 5018be1..e743f0a 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,6 +1,6 @@ {% capture title_override %}Blog: {{ page.title }}{% endcapture %} {% include header.html %} -
+
{% include postheader.html post=page %}

{{ content }} diff --git a/assets/css/style-print.css b/assets/css/style-print.css index a9870e0..3dd5cf5 100644 --- a/assets/css/style-print.css +++ b/assets/css/style-print.css @@ -36,10 +36,6 @@ a, a:visited { } /* Blog */ -main.blog { - text-align: justify; - text-justify: inter-word; -} .image { text-align: center; } @@ -87,6 +83,9 @@ iframe.youtube { height: 64px; padding-bottom: 8pt; } +button.ytp-button { + display: none; +} /* Advanced features here, to avoid upsetting retro browsers. */ tr:nth-child(odd) { diff --git a/assets/css/style-reduced.css b/assets/css/style-reduced.css index 7305bbe..599829d 100644 --- a/assets/css/style-reduced.css +++ b/assets/css/style-reduced.css @@ -77,10 +77,6 @@ div#socialnew { } /* Blog */ -main.blog { /* requires JS on IE6 */ - text-align: justify; - text-justify: inter-word; -} img.heading, img.image { text-align: center; max-width: 100%; /* N/A on IE6 */ diff --git a/assets/css/style.css b/assets/css/style.css index a2c2aa5..33dea7f 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -150,16 +150,9 @@ div#socialold { } /* Blog */ -main.blog { - text-align: justify; - text-justify: inter-word; -} .image { text-align: center; } -div.image { - margin: 1em; -} img.heading { max-width: 100%; width: auto;