Mobile refining and structural fixes

This commit is contained in:
nnwhen 2025-03-19 12:48:40 +02:00
parent 3ce2b1fe29
commit 353bb53485
3 changed files with 15 additions and 23 deletions

View file

@ -3,22 +3,18 @@
flex-direction: row;
flex-wrap: wrap;
}
#ndx-ndx > section {
margin: auto;
}
#ndx-ndx article > :last-child {
margin-bottom: 5px;
}
#ndx-news,
#ndx-decree,
#ndx-more {
margin: 0;
}
#ndx-news,
#ndx-more {
display: flex;
flex-direction: column;
min-width: 270px;
margin-left: min(2%, 25px);
margin-right: min(2%, 25px);
flex-grow: 1;
max-width: min(90%, 500px);
}
#ndx-news article,
#ndx-more article {
@ -28,6 +24,7 @@
}
#ndx-decree {
max-width: min(90%, 670px);
flex-grow: 2;
text-align: center;
border: var(--text) double 8px;
@ -48,10 +45,6 @@
text-align: left;
}
#ndx-news {
width: 10%;
flex-grow: 1;
}
#ndx-news h1,
#ndx-news h2 {
margin: 5px auto;
@ -61,11 +54,6 @@
font-size: small;
}
#ndx-more {
width: 10%;
flex-grow: 1;
max-width: 500px;
}
#ndx-more img {
width: 100%;
}