further changes to catalog view css

This commit is contained in:
towards-a-new-leftypol 2024-02-11 15:09:52 -05:00
parent 964fed6860
commit 5fcfa7cd03
2 changed files with 25 additions and 16 deletions

View File

@ -860,16 +860,17 @@ pre {
vertical-align: top;
text-align: center;
font-weight: normal;
margin-top: 2px;
margin-bottom: 2px;
padding: 2px;
height: 300px;
width: 205px;
max-height: 300px;
width: 180px;
overflow: hidden;
position: relative;
font-size: 11px;
max-height: 300px;
max-height:300px;
font-size: 10pt;
margin-top: 5px;
margin-bottom: 20px;
}
.theme-catalog .thread .meta {
font-size: 11px;
}
.theme-catalog div.thread strong {
@ -891,22 +892,28 @@ pre {
}
.theme-catalog div.grid-size-vsmall {
min-width:90px; max-width: 90px;
min-width:90px;
max-width: 90px;
max-height: 148px;
}
.theme-catalog div.grid-size-small img {
max-height: 33%;
max-width: 95%
}
.theme-catalog div.grid-size-small {
min-width: 50px;
min-height: 50px;
max-width: 150px;
max-width: 150px;
}
.theme-catalog .thread.grid-size-small .replies {
max-width: 150px;
padding: 0 15px;
}
.theme-catalog div.grid-size-small {
width: 180px;
}
.theme-catalog div.grid-size-medium img {
max-height: 33%;
max-width: 95%

View File

@ -52,7 +52,7 @@
<div class="threads">
<div id="Grid">
{% for post in recent_posts %}
<div class="mix"
<div class=""
data-reply="{{ post.replies }}"
data-bump="{{ post.bump }}"
data-time="{{ post.time }}"
@ -70,7 +70,9 @@
id="img-{{ post.id }}" data-subject="{% if post.subject %}{{ post.subject|e }}{% endif %}" data-name="{{ post.name|e }}" data-muhdifference="{{ post.muhdifference }}" class="{{post.board}} thread-image" title="{{post.bump|date('%b %d %H:%M')}}">
</a>
<div class="replies">
<span>R:</span><strong>{{ post.replies }}</strong><span> / I: </span><strong>{{ post.images }}{% if post.sticky %} (sticky){% endif %}{% if post.sage %} (sage){% endif %}{% if (config.reply_limit > 0) and (post.replies >= config.reply_limit) %} (full){% endif %}{% if post.locked %} <span class="fa fa-lock">&nbsp;</span>{% endif %}</strong>
<div class="meta">
<span>R: </span><b>{{ post.replies }}</b><span> / I: </span><b>{{ post.images }}{% if post.sticky %} (sticky){% endif %}{% if post.sage %} (sage){% endif %}{% if (config.reply_limit > 0) and (post.replies >= config.reply_limit) %} (full){% endif %}{% if post.locked %} <span class="fa fa-lock">&nbsp;</span>{% endif %}</b>
</div>
{% if post.subject %}
<p class="intro">
<span class="subject">