mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-27 17:00:52 +01:00
Merge pull request #828 from Zankaria/catalog-styling
Adjust the catalog styling
This commit is contained in:
commit
eb2ac9c75a
@ -620,6 +620,10 @@ pre {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.theme-catalog .controls > span {
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
.theme-catalog div.thread img {
|
||||
float: none!important;
|
||||
margin: auto;
|
||||
@ -629,13 +633,20 @@ pre {
|
||||
border: 2px solid rgba(153,153,153,0);
|
||||
}
|
||||
|
||||
/* Still for the catalog theme */
|
||||
#Grid {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
align-content: center;
|
||||
gap: 0.2em;
|
||||
}
|
||||
|
||||
.theme-catalog div.thread {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
text-align: center;
|
||||
font-weight: normal;
|
||||
margin-top: 2px;
|
||||
margin-bottom: 2px;
|
||||
padding: 2px;
|
||||
height: 300px;
|
||||
width: 205px;
|
||||
@ -653,7 +664,6 @@ pre {
|
||||
|
||||
.theme-catalog div.threads {
|
||||
text-align: center;
|
||||
margin-left: -20px;
|
||||
}
|
||||
|
||||
.theme-catalog div.thread:hover {
|
||||
|
@ -19,20 +19,24 @@
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<span>{% trans 'Sort by' %}: </span>
|
||||
<select id="sort_by" style="display: inline-block">
|
||||
<option selected value="bump:desc">{% trans 'Bump order' %}</option>
|
||||
<option value="time:desc">{% trans 'Creation date' %}</option>
|
||||
<option value="reply:desc">{% trans 'Reply count' %}</option>
|
||||
<option value="random:desc">{% trans 'Random' %}</option>
|
||||
</select>
|
||||
<span>
|
||||
<span>{% trans 'Sort by' %}: </span>
|
||||
<select id="sort_by" style="display: inline-block">
|
||||
<option selected value="bump:desc">{% trans 'Bump order' %}</option>
|
||||
<option value="time:desc">{% trans 'Creation date' %}</option>
|
||||
<option value="reply:desc">{% trans 'Reply count' %}</option>
|
||||
<option value="random:desc">{% trans 'Random' %}</option>
|
||||
</select>
|
||||
</span>
|
||||
|
||||
<span>{% trans 'Image size' %}: </span>
|
||||
<select id="image_size" style="display: inline-block">
|
||||
<option value="vsmall">{% trans 'Very small' %}</option>
|
||||
<option selected value="small">{% trans 'Small' %}</option>
|
||||
<option value="large">{% trans 'Large' %}</option>
|
||||
</select>
|
||||
<span>
|
||||
<span>{% trans 'Image size' %}: </span>
|
||||
<select id="image_size" style="display: inline-block">
|
||||
<option value="vsmall">{% trans 'Very small' %}</option>
|
||||
<option selected value="small">{% trans 'Small' %}</option>
|
||||
<option value="large">{% trans 'Large' %}</option>
|
||||
</select>
|
||||
</span>
|
||||
<div class="threads">
|
||||
<div id="Grid">
|
||||
{% for post in recent_posts %}
|
||||
|
Loading…
Reference in New Issue
Block a user