homepage sizing fixes

This commit is contained in:
towards-a-new-leftypol 2024-03-17 17:35:25 -04:00
parent 98b038bdb8
commit 2d53302e33
2 changed files with 13 additions and 2 deletions

View File

@ -29,8 +29,9 @@
body {
display: grid;
grid-template-columns: repeat(auto-fill,minmax(200px, 1fr));
grid-template-columns: repeat(auto-fill,minmax(120px, 20%));
gap: 20px;
min-height: 100vh;
}
.modlog {
@ -66,6 +67,16 @@
li a.system {
font-weight: bold;
}
footer {
grid-column: 1 / 9;
}
div.news.ban {
width: 100%;
max-width: 100%;
box-sizing: border-box;
}
@media (max-width:768px) {
body{

View File

@ -25,7 +25,7 @@
</header>
</div>
<div class="content">
<div class="ban">
<div class="ban news">
{% if not news %}
<p style="text-align:center" class="unimportant">{% trans %}(No news to show.){% endtrans %}</p>
{% else %}