grav-theme-libretic/scss/template/_footer.scss

160 lines
3.3 KiB
SCSS
Raw Normal View History

.footer {
2015-01-20 12:31:35 +01:00
font-size: $core-font-size - 0.1rem;
2015-01-19 18:04:29 +01:00
background: #333;
width: 100%;
@extend .padding-horiz;
padding-top: 2rem;
2015-01-19 18:04:29 +01:00
@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);
}
2015-01-21 15:15:06 +01:00
@include breakpoint(mobile-only) {
.social-icons {
float: none;
clear: both;
width: 100%;
padding-top: 2rem;
}
}
@include breakpoint(tablet-range) {
.social-icons {
float: none;
clear: both;
width: 100%;
padding-top: 2rem;
}
}
2015-01-19 18:04:29 +01:00
.footer-items {
margin-top: 2rem;
2015-01-21 15:15:06 +01:00
@include breakpoint(mobile-only) {
margin-top: 0;
}
2015-01-19 18:04:29 +01:00
@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;
2015-01-16 14:39:31 +01:00
width: 100%;
2015-01-19 18:04:29 +01:00
}
span {
2015-01-16 14:39:31 +01:00
@include clearfix;
2015-01-19 18:04:29 +01:00
}
strong {
color: $white;
}
2015-01-21 15:15:06 +01:00
@include breakpoint(mobile-only) {
width: 100% !important;
float: none;
}
2015-01-19 12:43:44 +01:00
}
.logo {
2015-01-19 18:04:29 +01:00
border-bottom: 0 none;
@include clearfix;
color: $white;
h3 a {
2015-01-19 12:43:44 +01:00
color: $white;
2015-01-19 18:04:29 +01:00
}
2015-01-19 12:43:44 +01:00
}
.quickmenu {
2015-01-19 18:04:29 +01:00
margin: 0;
padding: 0;
list-style: none;
i {
padding-right: 0.5rem;
color: $white;
font-size: 0.7rem;
}
2015-01-16 14:39:31 +01:00
}
2015-01-19 12:43:44 +01:00
.footer-modules {
2015-01-19 18:04:29 +01:00
@include clearfix;
display: block;
padding-bottom: 1.5rem;
}
.footer-copyright {
width: 50%;
font-family: $font-family-header;
display: inline-block;
float: left;
text-align: left;
text-transform: uppercase;
2015-01-21 15:15:06 +01:00
@include breakpoint(mobile-only) {
width: 100%;
float: none;
text-align: left;
margin-bottom: 1rem;
}
2015-01-19 18:04:29 +01:00
}
.footer-menu {
float: right;
display: inline-block;
width: 50%;
text-align: right;
text-transform: uppercase;
font-family: $font-family-header;
2015-01-21 15:15:06 +01:00
@include breakpoint(mobile-only) {
width: 100%;
float: none;
text-align: left;
}
2015-01-19 18:04:29 +01:00
ul {
2015-01-19 12:43:44 +01:00
margin: 0;
padding: 0;
list-style: none;
li {
2015-01-19 18:04:29 +01:00
display: inline-block;
&:after {
content: "/";
margin: 0 0.5rem;
2015-01-19 12:43:44 +01:00
display: inline-block;
2015-01-19 18:04:29 +01:00
}
&:last-child {
2015-01-19 12:43:44 +01:00
&:after {
2015-01-19 18:04:29 +01:00
display: none;
2015-01-19 12:43:44 +01:00
}
2015-01-19 18:04:29 +01:00
}
2015-01-19 12:43:44 +01:00
}
2015-01-19 18:04:29 +01:00
}
2015-01-19 12:43:44 +01:00
}
2015-01-20 16:30:17 +01:00
.newsletter {
input {
display: inline-block;
height: 2.5rem;
border: 0 none;
}
input[type=text] {
background-color: transparentize($header-text, 0.8);
color: $white;
}
input[type=submit] {
background-color: transparentize($header-text, 0.5);
color: $white;
padding: 0 1.2rem;
vertical-align: top;
}
}
}