This commit is contained in:
Karol Orzeł 2015-01-16 17:53:46 +01:00
parent 37b4d9fd96
commit e6d1e26eb3
4 changed files with 46 additions and 7 deletions

View file

@ -864,7 +864,8 @@ ul.pagination {
color: #fff; } color: #fff; }
.modular .footer h4 { .modular .footer h4 {
line-height: 2rem; line-height: 2rem;
margin-top: 0; } margin-top: 0;
text-align: left; }
.modular .footer .footer-items { .modular .footer .footer-items {
margin-top: 2rem; } margin-top: 2rem; }
@supports not (flex-wrap: wrap) { @supports not (flex-wrap: wrap) {
@ -877,8 +878,11 @@ ul.pagination {
.modular .footer .footer-module { .modular .footer .footer-module {
display: block; display: block;
float: left; float: left;
width: 25%; width: 20%;
vertical-align: top; } vertical-align: top;
padding-right: 2rem; }
.modular .footer .footer-module.large {
width: 40%; }
@media only all and (min-width: 30.063em) and (max-width: 47.938em) { @media only all and (min-width: 30.063em) and (max-width: 47.938em) {
.modular .footer .footer-module { .modular .footer .footer-module {
margin-top: 1rem; margin-top: 1rem;
@ -887,6 +891,12 @@ ul.pagination {
.modular .footer .footer-module { .modular .footer .footer-module {
margin-top: 1rem; margin-top: 1rem;
width: 100%; } } width: 100%; } }
.modular .footer .footer-module span:after {
content: "";
display: table;
clear: both; }
.modular .footer .footer-module strong, .modular .footer .footer-module label, .modular .footer .footer-module th {
color: #fff; }
.modular .footer .logo { .modular .footer .logo {
border-bottom: 0 none; border-bottom: 0 none;
color: #fff; } color: #fff; }

File diff suppressed because one or more lines are too long

View file

@ -13,6 +13,7 @@
h4 { h4 {
line-height: 2rem; line-height: 2rem;
margin-top: 0; margin-top: 0;
text-align: left;
} }
.footer-items { .footer-items {
margin-top: 2rem; margin-top: 2rem;
@ -22,10 +23,14 @@
@include clearfix; @include clearfix;
} }
.footer-module { .footer-module {
&.large {
width: 40%;
}
display:block; display:block;
float: left; float: left;
width: 25%; width: 20%;
vertical-align: top; vertical-align: top;
padding-right: 2rem;
@include breakpoint(large-mobile-range) { @include breakpoint(large-mobile-range) {
margin-top: 1rem; margin-top: 1rem;
width: 50%; width: 50%;
@ -34,6 +39,12 @@
margin-top: 1rem; margin-top: 1rem;
width: 100%; width: 100%;
} }
span {
@include clearfix;
}
strong {
color: $white;
}
} }
.logo { .logo {
border-bottom: 0 none; border-bottom: 0 none;

View file

@ -11,8 +11,26 @@
<p>{{ page.header.description }}</p> <p>{{ page.header.description }}</p>
{% endif %} {% endif %}
</div> </div>
<div class="footer-module"><h4>{{ page.header.contact_title }}</h4></div> <div class="footer-module"><h4>{{ page.header.contact_title }}</h4>
<div class="footer-module"><h4>{{ page.header.links_title }}</h4></div> <p>
{% for item in site.contact.address %}
<span>{{ item.line }}</span>
{% endfor %}
</p>
<p>{{ site.author.email }}</p>
<p><strong>{{ site.contact.gps }}</strong></p>
</div>
<div class="footer-module"><h4>{{ page.header.links_title }}</h4>
<ul class="quickmenu">
{% for module in page.collection() %}
<li><i class="fa fa-chevron-right"></i><a href="#{{ _self.pageLinkName(module.menu) }}">{{ module.menu }}</a></li>
{% endfor %}
</ul>
</div>
<div class="footer-module"> <div class="footer-module">
<h4>{{ page.header.newsletter_title }}</h4> <h4>{{ page.header.newsletter_title }}</h4>
<p>{{ page.header.newsletter_description }}</p> <p>{{ page.header.newsletter_description }}</p>