From ed0c17a14f0c0488c5dd13c953d90cbc715c2c0b Mon Sep 17 00:00:00 2001 From: Wirlaburla Date: Fri, 9 Jun 2023 20:51:47 -0500 Subject: [PATCH] Add mobile styling for forum --- style.css | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/style.css b/style.css index ede89cb..3ea2209 100644 --- a/style.css +++ b/style.css @@ -1036,13 +1036,21 @@ body.forum.thread table.post-display { table-layout: fixed; } -body.forum.thread table.post-display td.author-cell { +body.forum.thread table.post-display td.author-cell, +body.forum.thread table.post-display tr.author-row { background: var(--post-author); border: var(--post-author-border); +} + +body.forum.thread table.post-display td.author-cell { vertical-align: top; text-align: center; } +body.forum.thread table.post-display td.author-cell img.avatar { + display: inline-block; +} + body.forum.thread table.post-display tr.button-row, body.forum.thread table.post-display tr.info-row { background: var(--post-bottombar); @@ -1100,7 +1108,17 @@ body.forum.thread table.reply-display tr.title-row th:nth-of-type(2) button { cursor: pointer; } +@media only screen and (orientation: landscape) { + body.forum.thread table.post-display tr.author-row { + display: none; + } +} +@media only screen and (orientation: portrait) { + body.forum.thread table.post-display td.author-cell { + display: none; + } +} heading .button {