Change margins for the main block

This commit is contained in:
Théophile Bastian 2017-09-22 19:15:58 +02:00
parent 72202a4630
commit 7023cac661

View file

@ -56,7 +56,7 @@ body {
display: block; display: block;
padding: 20px; padding: 20px;
overflow-x: hidden; overflow-x: hidden;
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */ overflow-y: visible; /* Scrollable contents if viewport is shorter than content. */
background-color: #eba367; background-color: #eba367;
} }
} }
@ -98,15 +98,15 @@ body {
} }
.main { .main {
padding: 20px; padding: 40px;
background-color: white; background-color: white;
border-top-left-radius: 50px; border-top-left-radius: 50px;
} }
@media (min-width: 768px) { @media (min-width: 768px) {
.main { .main {
padding-left: 60px;
padding-right: 40px; padding-right: 40px;
padding-left: 40px;
} }
} }
.main .page-header { .main .page-header {