homepage sizing fixes
This commit is contained in:
parent
1095f773e0
commit
ac08768094
|
@ -29,8 +29,9 @@
|
||||||
|
|
||||||
body {
|
body {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fill,minmax(200px, 1fr));
|
grid-template-columns: repeat(auto-fill,minmax(120px, 20%));
|
||||||
gap: 20px;
|
gap: 20px;
|
||||||
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modlog {
|
.modlog {
|
||||||
|
@ -67,6 +68,16 @@
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
grid-column: 1 / 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.news.ban {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width:768px) {
|
@media (max-width:768px) {
|
||||||
body{
|
body{
|
||||||
display: grid;
|
display: grid;
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
</header>
|
</header>
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="ban">
|
<div class="ban news">
|
||||||
{% if not news %}
|
{% if not news %}
|
||||||
<p style="text-align:center" class="unimportant">{% trans %}(No news to show.){% endtrans %}</p>
|
<p style="text-align:center" class="unimportant">{% trans %}(No news to show.){% endtrans %}</p>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
Loading…
Reference in New Issue