mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-30 18:24:29 +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;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.theme-catalog .controls > span {
|
||||||
|
margin-right: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
.theme-catalog div.thread img {
|
.theme-catalog div.thread img {
|
||||||
float: none!important;
|
float: none!important;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
@ -629,13 +633,20 @@ pre {
|
|||||||
border: 2px solid rgba(153,153,153,0);
|
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 {
|
.theme-catalog div.thread {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
margin-top: 2px;
|
|
||||||
margin-bottom: 2px;
|
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
height: 300px;
|
height: 300px;
|
||||||
width: 205px;
|
width: 205px;
|
||||||
@ -653,7 +664,6 @@ pre {
|
|||||||
|
|
||||||
.theme-catalog div.threads {
|
.theme-catalog div.threads {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-left: -20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-catalog div.thread:hover {
|
.theme-catalog div.thread:hover {
|
||||||
|
@ -19,20 +19,24 @@
|
|||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<span>{% trans 'Sort by' %}: </span>
|
<span>
|
||||||
<select id="sort_by" style="display: inline-block">
|
<span>{% trans 'Sort by' %}: </span>
|
||||||
<option selected value="bump:desc">{% trans 'Bump order' %}</option>
|
<select id="sort_by" style="display: inline-block">
|
||||||
<option value="time:desc">{% trans 'Creation date' %}</option>
|
<option selected value="bump:desc">{% trans 'Bump order' %}</option>
|
||||||
<option value="reply:desc">{% trans 'Reply count' %}</option>
|
<option value="time:desc">{% trans 'Creation date' %}</option>
|
||||||
<option value="random:desc">{% trans 'Random' %}</option>
|
<option value="reply:desc">{% trans 'Reply count' %}</option>
|
||||||
</select>
|
<option value="random:desc">{% trans 'Random' %}</option>
|
||||||
|
</select>
|
||||||
|
</span>
|
||||||
|
|
||||||
<span>{% trans 'Image size' %}: </span>
|
<span>
|
||||||
<select id="image_size" style="display: inline-block">
|
<span>{% trans 'Image size' %}: </span>
|
||||||
<option value="vsmall">{% trans 'Very small' %}</option>
|
<select id="image_size" style="display: inline-block">
|
||||||
<option selected value="small">{% trans 'Small' %}</option>
|
<option value="vsmall">{% trans 'Very small' %}</option>
|
||||||
<option value="large">{% trans 'Large' %}</option>
|
<option selected value="small">{% trans 'Small' %}</option>
|
||||||
</select>
|
<option value="large">{% trans 'Large' %}</option>
|
||||||
|
</select>
|
||||||
|
</span>
|
||||||
<div class="threads">
|
<div class="threads">
|
||||||
<div id="Grid">
|
<div id="Grid">
|
||||||
{% for post in recent_posts %}
|
{% for post in recent_posts %}
|
||||||
|
Loading…
Reference in New Issue
Block a user