From 70da316e601c31195287f481db296287b59f2401 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 25 Nov 2024 00:13:04 +0300 Subject: Thread cleanup and redesign --- src/main/assets/style.css | 30 ++++++++++---------------- src/main/resources/templates/views/thread.html | 17 +++++++-------- 2 files changed, 19 insertions(+), 28 deletions(-) (limited to 'src/main') diff --git a/src/main/assets/style.css b/src/main/assets/style.css index 99cefffa..00f92ef3 100644 --- a/src/main/assets/style.css +++ b/src/main/assets/style.css @@ -392,12 +392,12 @@ article .ir a { display: block; } -article .ir img { +article .ir img, .msg-media img { max-width: 100%; } article > nav.l, .msg-cont > nav.l { - border-top: 1px solid var(--border-color); + border-bottom: 1px solid var(--border-color); display: flex; align-items: center; justify-content: space-around; @@ -490,8 +490,16 @@ article .tags > a::before, .msg-cont { background: var(--text-background-color); border: 1px solid var(--border-color); + border-bottom: 1px solid transparent; line-height: 140%; - margin-bottom: 12px; +} + +#replies .msg-cont { + border-top: 1px solid transparent; +} + +#replies .msg-cont:last-child { + border-bottom: 1px solid var(--border-color); } .reply-new .msg-cont { @@ -580,22 +588,6 @@ article .tags > a::before, margin: 0; } -.title2 { - background: var(--text-background-color); - margin: 20px 0; - padding: 10px 20px; -} - -.title2-right { - float: right; - line-height: 24px; -} - -#content .title2 h2 { - font-size: x-large; - margin: 0; -} - /* #endregion */ /* #region user-generated texts */ diff --git a/src/main/resources/templates/views/thread.html b/src/main/resources/templates/views/thread.html index ab751294..bb497730 100644 --- a/src/main/resources/templates/views/thread.html +++ b/src/main/resources/templates/views/thread.html @@ -6,7 +6,7 @@