smoothly increase body size from 600 to 800

This commit is contained in:
acarril 2023-08-22 15:15:20 -04:00
parent 70e8d8b85b
commit ce6b757859

View file

@ -1,9 +1,10 @@
@media (min-width: 770px) {
body {
width: 600px;
line-height: 1.5;
@media (min-width: 768px) and (max-width: 967px) {
body {
width: calc(600px + (200 * (100vw - 768px) / 200)); /* This will proportionally increase the width */
}
}
main#content hr {
width: 108%;
margin-left: -3.8%;