optimize for small screens;

This commit is contained in:
2013-07-13 13:19:34 +02:00
parent b88908cd7c
commit 1d39a62cea
2 changed files with 22 additions and 1 deletions
@@ -4,7 +4,7 @@
}
$screen: "only screen";
$small: "only screen and (max-width: 480px)";
$small: "only screen and (max-width: 767px)";
html
{
@@ -94,7 +94,13 @@ div[data-part="gettingstarted"]
.app-main
{
width: 500px;
max-width: 100%;
float: right;
@media #{$small}
{
float: none;
}
}
.app-nav
@@ -114,6 +120,7 @@ div[data-part="gettingstarted"]
color: white;
float: left;
cursor: pointer;
outline-color: transparent !important;
&.is-active
{
@@ -122,5 +129,11 @@ div[data-part="gettingstarted"]
}
&:first-child { border-radius: 4px 0 0 4px; }
&:last-child { border-radius: 0 4px 4px 0; }
@media #{$small}
{
display: block;
float: none;
}
}
}
@@ -10,6 +10,14 @@
{
//margin-bottom: 10px;
}
@media #{$small}
{
width: 100%;
float: none;
position: relative;
margin-bottom: 30px;
}
}
.app-description