mirror of
https://github.com/LukasJoswiak/etch.git
synced 2024-05-17 05:28:31 -04:00
smoothly increase body size from 600 to 800
This commit is contained in:
parent
70e8d8b85b
commit
ce6b757859
|
@ -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%;
|
||||
|
|
Loading…
Reference in a new issue