basic layout for 480px

This commit is contained in:
G14 2016-06-21 19:36:40 +05:00
parent bbf2f48b21
commit 3cafd7d8bd
4 changed files with 79 additions and 1 deletions

View File

@ -888,6 +888,17 @@ footer {
background-size: 43px; background-size: 43px;
background-repeat: no-repeat; } background-repeat: no-repeat; }
.footer-logo-mobile {
display: none;
margin: 0 auto;
margin-bottom: 40px;
width: 43px;
height: 39px;
background-image: url("../img/logo-gray.svg");
background-position: center;
background-size: 43px;
background-repeat: no-repeat; }
.footer-links { .footer-links {
margin-top: 40px; } margin-top: 40px; }
.footer-links a { .footer-links a {
@ -1195,7 +1206,26 @@ body input:required:valid, body textarea:required:valid {
.main-logo { .main-logo {
left: 45%; } left: 45%; }
.logo-shadow { .logo-shadow {
left: 42%; } } left: 42%; }
footer {
position: relative; }
.footer-wrapper {
width: 100%; }
.footer-links {
display: none; }
.footer-logo {
position: absolute;
top: 0;
left: 50%; }
.footer-half {
padding: 0;
width: 100%; }
.footer-half:nth-child(2) {
display: none; }
.footer-logo-mobile {
display: block; }
.section-heading-odd {
margin-left: 0; } }
/* Custom, iPhone Retina */ /* Custom, iPhone Retina */
/*========== Mobile First Method ========== */ /*========== Mobile First Method ========== */

View File

@ -385,6 +385,7 @@
<div class="container"> <div class="container">
<div class="footer-wrapper"> <div class="footer-wrapper">
<div class="footer-half"> <div class="footer-half">
<a class="footer-logo-mobile"></a>
<p>Status Platform <p>Status Platform
<br>Kemperplatz 1 <br>Kemperplatz 1
Berlin, Germany Berlin, Germany

View File

@ -73,6 +73,41 @@
left: 42%; left: 42%;
} }
footer {
position: relative;
}
.footer-wrapper {
width: 100%;
}
.footer-links {
display: none;
}
.footer-logo {
position: absolute;
top: 0;
left: 50%;
}
.footer-half {
padding: 0;
width: 100%;
}
.footer-half:nth-child(2) {
display: none;
}
.footer-logo-mobile {
display: block;
}
.section-heading-odd {
margin-left: 0;
}
} }
/* Custom, iPhone Retina */ /* Custom, iPhone Retina */

View File

@ -911,6 +911,18 @@ footer {
background-repeat: no-repeat; background-repeat: no-repeat;
} }
.footer-logo-mobile {
display: none;
margin: 0 auto;
margin-bottom: 40px;
width: 43px;
height: 39px;
background-image: url('../img/logo-gray.svg');
background-position: center;
background-size: 43px;
background-repeat: no-repeat;
}
.footer-links { .footer-links {
margin-top: 40px; margin-top: 40px;
a { a {