Add the new footer
This commit is contained in:
parent
336e6120a6
commit
f9b4469660
5 changed files with 107 additions and 0 deletions
69
app/assets/stylesheets/new_footer.scss
Normal file
69
app/assets/stylesheets/new_footer.scss
Normal file
|
@ -0,0 +1,69 @@
|
|||
@import "constants";
|
||||
@import "mixins";
|
||||
@import "placeholders";
|
||||
@import "typography";
|
||||
|
||||
.footer {
|
||||
@extend %new-type;
|
||||
@include vertical-padding(72px);
|
||||
background-color: $light-grey;
|
||||
}
|
||||
|
||||
.footer-inner-content {
|
||||
width: $page-width;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.footer-columns {
|
||||
@extend %horizontal-list;
|
||||
}
|
||||
|
||||
$footer-column-width: 320px;
|
||||
$footer-column-count: 3;
|
||||
|
||||
.footer-column {
|
||||
@extend %horizontal-list-item;
|
||||
width: $footer-column-width;
|
||||
margin-right: calc((#{$page-width} - (#{$footer-column-width} * #{$footer-column-count})) / (#{$footer-column-count} - 1));
|
||||
font-size: 14px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.footer-logos,
|
||||
.footer-links {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.footer-link {
|
||||
margin-bottom: 14px;
|
||||
|
||||
&:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-logo:hover {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.footer-logo-rf {
|
||||
width: 75px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.footer-logo-beta-gouv-fr {
|
||||
width: 190px;
|
||||
}
|
||||
|
||||
.footer-link a {
|
||||
color: $black;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: $blue;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue