homepage sizing fixes
This commit is contained in:
parent
98b038bdb8
commit
2d53302e33
|
@ -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{
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue