From 4162d94f15cdb1a3e5deb7ce1d4d07cf87976429 Mon Sep 17 00:00:00 2001 From: towards-a-new-leftypol Date: Tue, 15 Aug 2023 01:44:10 -0400 Subject: [PATCH] Revert "Fix catalog page when having hats on" This reverts commit 0bfd622131be91b7afb72ca3ad86e63f5d0d7be4. --- stylesheets/style.css | 38 +++++---------------------- templates/themes/catalog/catalog.html | 4 +-- 2 files changed, 8 insertions(+), 34 deletions(-) diff --git a/stylesheets/style.css b/stylesheets/style.css index 107874e9..6bd5fab0 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -353,7 +353,7 @@ form table tr td div label { */ /* -.thread .files { +.thread { position: relative; } @@ -364,7 +364,6 @@ form table tr td div label { left: 0px; } - [data-board] > .files > :nth-child(1).multifile > a:before { content: url('/static/partyhat.png'); position: absolute; @@ -372,29 +371,8 @@ form table tr td div label { left: -20px; } - -.grid_thread_wrapper_for_hats:before { - content: ""; - position: absolute; - width: 60px; - height: 75px; - top: -52px; - left: 20px; - background-image: url('/static/partyhat.png'); - background-size: cover; /* You can adjust this value to fit your needs */ - background-repeat: no-repeat; - background-position: center; -} */ -.grid_thread_wrapper_for_hats { - overflow: hidden; -} - -.theme-catalog div.thread { - overflow: visible !important; -} - .file:not(.multifile) { float: none; } @@ -911,8 +889,7 @@ pre { max-width: 95% } -.theme-catalog div.grid-size-vsmall, -.grid-size-vsmall .grid_thread_wrapper_for_hats { +.theme-catalog div.grid-size-vsmall { min-width:90px; max-width: 90px; max-height: 148px; } @@ -922,8 +899,7 @@ pre { max-width: 95% } -.theme-catalog div.grid-size-small, -.grid-size-small .grid_thread_wrapper_for_hats { +.theme-catalog div.grid-size-small { min-width:140px; max-width: 140px; max-height: 192px; } @@ -933,8 +909,7 @@ pre { max-width: 95% } -.theme-catalog div.grid-size-medium, -.grid-size-medium .grid_thread_wrapper_for_hats { +.theme-catalog div.grid-size-medium { min-width:200px; max-width: 200px; max-height: 274px; } @@ -944,8 +919,7 @@ pre { max-width: 95% } -.theme-catalog div.grid-size-large, -.grid-size-large .grid_thread_wrapper_for_hats { +.theme-catalog div.grid-size-large { min-width: 256px; max-width: 256px; max-height: 384px; } @@ -973,7 +947,7 @@ pre { margin-right: 0; } - .theme-catalog .grid_thread_wrapper_for_hats { + .theme-catalog div.threads { overflow: hidden; } div.post .body { diff --git a/templates/themes/catalog/catalog.html b/templates/themes/catalog/catalog.html index 57e97458..3be4152e 100644 --- a/templates/themes/catalog/catalog.html +++ b/templates/themes/catalog/catalog.html @@ -60,7 +60,7 @@ data-sticky="{% if post.sticky %}true{% else %}false{% endif %}" data-locked="{% if post.locked %}true{% else %}false{% endif %}" > -
+ {% endfor %}