Footer updates

This commit is contained in:
Karol Orzeł 2015-01-19 18:04:29 +01:00
parent 10df81cded
commit 3cc8fae333
6 changed files with 111 additions and 94 deletions

View file

@ -860,12 +860,15 @@ ul.pagination {
content: ""; content: "";
display: table; display: table;
clear: both; } clear: both; }
.modular .footer a, .modular .footer a:hover, .modular .footer h4 { .modular .footer a {
color: #fff; } color: #9A9898; }
.modular .footer h4 { .modular .footer h4 {
line-height: 2rem; line-height: 2rem;
margin-top: 0; margin-top: 0;
text-align: left; } text-align: left;
color: #fff; }
.modular .footer hr {
border-color: rgba(154, 152, 152, 0.5); }
.modular .footer .footer-items { .modular .footer .footer-items {
margin-top: 2rem; } margin-top: 2rem; }
@supports not (flex-wrap: wrap) { @supports not (flex-wrap: wrap) {
@ -904,15 +907,17 @@ ul.pagination {
content: ""; content: "";
display: table; display: table;
clear: both; } clear: both; }
.modular .footer .logo h3 a {
color: #fff; }
.modular .footer .quickmenu { .modular .footer .quickmenu {
margin: 0; margin: 0;
padding: 0; padding: 0;
list-style: none; } list-style: none;
font-family: "novecento_sans_widedemibold", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif; }
.modular .footer .quickmenu i { .modular .footer .quickmenu i {
padding-right: 0.5rem; padding-right: 0.5rem;
color: #fff; } color: #fff;
.modular .footer .quickmenu li a { font-size: 0.7rem; }
color: #9A9898; }
.modular .footer .footer-modules { .modular .footer .footer-modules {
display: block; display: block;
padding-bottom: 1.5rem; } padding-bottom: 1.5rem; }
@ -922,14 +927,18 @@ ul.pagination {
clear: both; } clear: both; }
.modular .footer .footer-copyright { .modular .footer .footer-copyright {
width: 50%; width: 50%;
font-family: "novecento_sans_widedemibold", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
display: inline-block; display: inline-block;
float: left; float: left;
text-align: left; } text-align: left;
text-transform: uppercase; }
.modular .footer .footer-menu { .modular .footer .footer-menu {
float: right; float: right;
display: inline-block; display: inline-block;
width: 50%; width: 50%;
text-align: right; } text-align: right;
text-transform: uppercase;
font-family: "novecento_sans_widedemibold", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif; }
.modular .footer .footer-menu ul { .modular .footer .footer-menu ul {
margin: 0; margin: 0;
padding: 0; padding: 0;

File diff suppressed because one or more lines are too long

View file

@ -1,7 +1,7 @@
// Font Family // Font Family
$font-family-default: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; $font-family-default: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
$font-family-header: "novecento_sans_widedemibold", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif; $font-family-header: "novecento_sans_widedemibold", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
$font-family-logo: "Pacifico", "monospace"; $font-family-logo: "Pacifico", "monospace";
$font-family-mono: "Inconsolata", monospace; $font-family-mono: "Inconsolata", monospace;
$font-family-serif: "Georgia", "Times", "Times New Roman", serif; $font-family-serif: "Georgia", "Times", "Times New Roman", serif;

View file

@ -69,9 +69,7 @@
} }
&.big { &.big {
text-align: center; text-align: center;
.feature { .feature {
width: 33.33%; width: 33.33%;
@include breakpoint(small-mobile-range) { @include breakpoint(small-mobile-range) {

View file

@ -1,103 +1,112 @@
// Modular Showcase styling // Modular Showcase styling
.modular { .modular {
.footer { .footer {
background: #333; background: #333;
width: 100%;
@extend .padding-horiz;
padding-top: 4rem;
@include clearfix;
a {
color: $core-text;
}
h4 {
line-height: 2rem;
margin-top: 0;
text-align: left;
color: $white;
}
hr {
border-color: transparentize($core-text, 0.5);
}
.footer-items {
margin-top: 2rem;
@supports not (flex-wrap: wrap) {
overflow: hidden;
}
@include clearfix;
}
.footer-module {
&.large {
width: 40%;
}
display: block;
float: left;
width: 20%;
vertical-align: top;
padding-right: 2rem;
@include breakpoint(large-mobile-range) {
margin-top: 1rem;
width: 50%;
}
@include breakpoint(small-mobile-range) {
margin-top: 1rem;
width: 100%; width: 100%;
@extend .padding-horiz; }
padding-top: 4rem; span {
@include clearfix; @include clearfix;
a, a:hover, h4 { }
color: $white; strong {
color: $white;
} }
h4 {
line-height: 2rem;
margin-top: 0;
text-align: left;
}
.footer-items {
margin-top: 2rem;
@supports not (flex-wrap: wrap) {
overflow: hidden;
}
@include clearfix;
}
.footer-module {
&.large {
width: 40%;
}
display:block;
float: left;
width: 20%;
vertical-align: top;
padding-right: 2rem;
@include breakpoint(large-mobile-range) {
margin-top: 1rem;
width: 50%;
}
@include breakpoint(small-mobile-range) {
margin-top: 1rem;
width: 100%;
}
span {
@include clearfix;
}
strong {
color: $white;
}
} }
.logo { .logo {
border-bottom: 0 none; border-bottom: 0 none;
@include clearfix; @include clearfix;
color: $white;
h3 a {
color: $white; color: $white;
}
} }
.quickmenu { .quickmenu {
margin: 0; margin: 0;
padding: 0; padding: 0;
list-style: none; list-style: none;
i { font-family: $font-family-header;
padding-right: 0.5rem; i {
color: $white; padding-right: 0.5rem;
} color: $white;
li a { font-size: 0.7rem;
color: $core-text; }
}
} }
.footer-modules { .footer-modules {
@include clearfix; @include clearfix;
display: block; display: block;
padding-bottom: 1.5rem; padding-bottom: 1.5rem;
} }
.footer-copyright { .footer-copyright {
width: 50%; width: 50%;
display: inline-block; font-family: $font-family-header;
float: left; display: inline-block;
text-align: left; float: left;
} text-align: left;
.footer-menu { text-transform: uppercase;
float: right; }
display: inline-block; .footer-menu {
width: 50%; float: right;
text-align: right; display: inline-block;
ul { width: 50%;
text-align: right;
text-transform: uppercase;
font-family: $font-family-header;
ul {
margin: 0; margin: 0;
padding: 0; padding: 0;
list-style: none; list-style: none;
li { li {
display: inline-block;
&:after {
content: "/";
margin: 0 0.5rem;
display: inline-block; display: inline-block;
}
&:last-child {
&:after { &:after {
content: "/"; display: none;
margin: 0 0.5rem;
display: inline-block;
}
&:last-child {
&:after {
display: none;
} }
}
} }
}
} }
} }
}
}
} }

View file

@ -6,6 +6,7 @@
{% block social %} {% block social %}
{% include 'partials/social.html.twig' %} {% include 'partials/social.html.twig' %}
{% endblock %} {% endblock %}
</div> </div>
{% if page.header.description %} {% if page.header.description %}
<p>{{ page.header.description }}</p> <p>{{ page.header.description }}</p>