summaryrefslogtreecommitdiff
path: root/views/forum_view.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-13 19:59:06 +0200
committerTor Andersson <tor@ccxvii.net>2023-10-13 22:41:09 +0200
commit4c5d2e4afe02479dcfb770fa1d6cfccb499e4fff (patch)
tree9206a2c5472c5c1480ad5c035b776a74d74a602f /views/forum_view.pug
parent5cdc7862b20c8642a235e8ea46686939e5f6032a (diff)
downloadserver-4c5d2e4afe02479dcfb770fa1d6cfccb499e4fff.tar.gz
Clean up stylesheet and improve layout on small and large screens.
Use variables for color theming.
Diffstat (limited to 'views/forum_view.pug')
-rw-r--r--views/forum_view.pug7
1 files changed, 6 insertions, 1 deletions
diff --git a/views/forum_view.pug b/views/forum_view.pug
index 1f70c8c..983ccf2 100644
--- a/views/forum_view.pug
+++ b/views/forum_view.pug
@@ -8,12 +8,17 @@ html
style.
.unread { font-weight: bold }
tbody a { display: block }
+ @media (max-width: 400px) {
+ td:nth-child(2) { display: none }
+ th:nth-child(2) { display: none }
+ }
+
body
include header
article
h1 Forum
- table
+ table.wide.striped
thead
tr
th Subject