ensl.org/app/assets/stylesheets/scss/layout/_footer.scss

77 lines
1.3 KiB
SCSS
Raw Normal View History

.footer {
$footer-background: desaturate(darken($base-accent-color, 20), 30);
$footer-color: white;
$footer-link-color: transparentize($footer-color, .6);
$footer-disclaimer-color: transparentize($footer-color, .6);
background: $footer-background;
padding: $base-line-height*2 $gutter;
width: 100%;
.footer-logo {
text-align: center;
margin-bottom: 2em;
img {
height: 3em;
}
}
.footer-links {
@include clearfix;
margin-bottom: $base-line-height;
@include media($medium-screen) {
@include shift(3);
}
}
ul {
margin-bottom: $base-line-height*2;
@include media($medium-screen) {
@include span-columns(3);
@include omega(3n);
@include clearfix;
}
}
li {
text-align: center;
@include media($medium-screen) {
text-align: left;
}
}
li a {
color: $footer-link-color;
&:hover {
color: transparentize($footer-color, 0);
}
}
li h3 {
color: $footer-color;
font-size: 1em;
font-weight: 800;
margin-bottom: .4em;
}
hr {
border: 1px solid transparentize($footer-disclaimer-color, .3);
margin: 0 auto $base-line-height;
width: 12em;
}
p {
color: $footer-disclaimer-color;
font-size: .9em;
line-height: 1.5em;
margin: auto;
max-width: 35em;
text-align: center;
}
}