Commit 042a6ab2 authored by sbiego's avatar sbiego

better mobile layouts

parent 6da1e0f7
......@@ -330,7 +330,8 @@ header .intro-text .intro-lead-in {
/* === SECTION === */
section {
padding: 90px 20px;
padding: 90px 10%;
transition: all .3s;
}
section h2.section-heading {
......@@ -344,6 +345,24 @@ section h3.section-subheading {
margin: 20px 30px 40px 30px;
}
@media (max-width: 768px) {
section {
padding: 50px 5%;
transition: all .3s;
}
section h2.section-heading {
padding: 10px;
}
section h3.section-subheading {
padding: 0 15px;
margin: 20px 0 40px 0;
}
}
@media (max-width: 500px) {
section {
padding: 40px 5px;
}
}
/* === ABOUT === */
......@@ -539,17 +558,6 @@ section h3.section-subheading {
#SenzaParole .portfolio-item .portfolio-caption {
box-shadow: 0 0 15px -6px #000;
}
section {
padding: 40px 5px;
}
section h2.section-heading {
padding: 10px;
}
section h3.section-subheading {
padding: 0 15px;
margin: 20px 0 40px 0;
}
}
#portfolio_title h2, #portfolio_title h3 {
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment