fix blog page flex div

This commit is contained in:
ngn
2024-07-24 01:47:55 +03:00
parent 7a85e0fed2
commit e3b5e3a921
2 changed files with 12 additions and 16 deletions

View File

@ -128,27 +128,23 @@ main {
color: white;
display: flex;
flex-direction: row;
justify-content: center;
align-items: start;
}
@media only screen and (max-width: 816px) {
main {
padding: 50px 20% 50px 20%;
}
}
.content {
padding: 35px;
background: var(--dark-four);
border-radius: var(--radius);
box-shadow: var(--box-shadow);
}
@media only screen and (max-width: 1316px) {
main {
padding: 50px 5% 50px 5%;
flex-direction: column;
}
.content {
background: var(--dark-four);
border-radius: 0 0 var(--radius) var(--radius);
box-shadow: var(--box-shadow);
}
width: auto;
width: 100%;
}
.votes {
@ -157,7 +153,7 @@ main {
text-align: center;
text-shadow: var(--text-shadow);
gap: 10px;
padding: 10px;
padding: 15px 5px 15px 5px;
margin-left: 10px;
}