From 2a3fbc35dbfcfbd294cc571964f56867fe80ec89 Mon Sep 17 00:00:00 2001 From: Jacob Leonard Date: Sun, 23 Jul 2023 16:12:32 -0700 Subject: [PATCH 1/3] Update style.css Adjusts content text spacing to improve readability. --- public/style.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/style.css b/public/style.css index 4cef8b7..050394c 100644 --- a/public/style.css +++ b/public/style.css @@ -79,7 +79,7 @@ summary { overflow:hidden; } .comment .content { - line-height: 20px; + line-height: 1.4286em; overflow:hidden; max-width: 840px; } @@ -592,8 +592,8 @@ form.nsfw div { border-color: #666; } .expando p, .comment p, .message p { - margin-top: 0; - margin-bottom: 2px; + margin-top: .357em; + margin-bottom: .357em; } .search { font-size: 13px; From 0ab29dee625f0980df79f5f006656318ce639267 Mon Sep 17 00:00:00 2001 From: Jacob Leonard Date: Mon, 24 Jul 2023 18:02:14 -0700 Subject: [PATCH 2/3] adjust submission content formatting --- public/style.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/public/style.css b/public/style.css index 050394c..931583c 100644 --- a/public/style.css +++ b/public/style.css @@ -577,7 +577,8 @@ form.nsfw div { padding: 5px 10px; margin: 5px auto; max-width: 578px; - font-size: 14px; + font-size: 1.0em; + line-height: 1.4286em; overflow: auto; } .expando .md img { @@ -591,6 +592,13 @@ form.nsfw div { color: #ddd; border-color: #666; } + +.md a { + + color: #0079d3; + text-decoration: none; + +} .expando p, .comment p, .message p { margin-top: .357em; margin-bottom: .357em; From dfd08380ec58b8d3358412613f4ee29aa9964325 Mon Sep 17 00:00:00 2001 From: Jacob Leonard Date: Tue, 25 Jul 2023 12:11:19 -0700 Subject: [PATCH 3/3] Update style.css - Adjust line-height of submission body contents - Remove hyperlink underlining - widen submission body content (.md) width - Tweak comment paragraph margins --- public/style.css | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/public/style.css b/public/style.css index 931583c..e4121db 100644 --- a/public/style.css +++ b/public/style.css @@ -83,6 +83,7 @@ summary { overflow:hidden; max-width: 840px; } + .comment.hidden { padding-bottom:5px; } @@ -219,6 +220,8 @@ summary { font-size: 10px; margin-bottom: 6px; } + + .meta a, .activity .meta a { color: #369; text-decoration: none; @@ -576,11 +579,14 @@ form.nsfw div { border-radius: 7px; padding: 5px 10px; margin: 5px auto; - max-width: 578px; - font-size: 1.0em; + margin-left: 120px; + width: 60em; + max-width: 60em; + font-size: 14px; line-height: 1.4286em; overflow: auto; } + .expando .md img { max-width: 100%; } @@ -599,10 +605,24 @@ form.nsfw div { text-decoration: none; } + +.content p { + margin-top: 0; +} + +.content div > :first-child { + margin-top: 0; +} + +.content div > :last-child { + margin-bottom: 0; +} + .expando p, .comment p, .message p { margin-top: .357em; margin-bottom: .357em; } + .search { font-size: 13px; color: gray;