cycat-project-website/_sass/components/_footer.scss

66 lines
1.4 KiB
SCSS
Raw Permalink Normal View History

2018-12-09 08:21:01 +01:00
.footer {
2020-08-23 12:01:06 +02:00
background: $footer-background-color;
padding-top: 15px;
padding-bottom: 15px;
.footer-inner {
display: flex;
2018-12-09 08:21:01 +01:00
justify-content: space-between;
2020-08-23 12:01:06 +02:00
flex-direction: column;
align-items: flex-start;
@include media-breakpoint-up(sm) {
justify-content: space-between;
flex-direction: row;
align-items: center;
}
2018-12-09 08:21:01 +01:00
}
.footer-title {
color: #ffffff;
font-size: 1.3rem;
font-family: $font-family-heading;
2020-08-23 12:01:06 +02:00
font-weight: bold;
2018-12-09 08:21:01 +01:00
margin-bottom: 10px;
@include media-breakpoint-up(sm) {
margin: 0;
}
}
ul {
list-style: none;
margin: 0;
padding: 0;
li {
2020-08-23 12:01:06 +02:00
color: $footer-text-color;
font-size: 1rem;
2018-12-09 08:21:01 +01:00
a {
2020-08-23 12:01:06 +02:00
color: $footer-text-color;
2018-12-09 08:21:01 +01:00
text-decoration: none;
2020-08-23 12:01:06 +02:00
padding: 12px 14px 12px 0;
display: block;
2018-12-09 08:21:01 +01:00
&:hover {
text-decoration: underline;
}
}
}
@include media-breakpoint-up(sm) {
height: inherit;
display: flex;
list-style: none;
margin: 0;
padding: 0;
align-items: center;
justify-content: flex-end;
li {
list-style: none;
2020-08-23 12:01:06 +02:00
margin-right: 10px;
&:last-of-type {
margin-right: 0;
}
2018-12-09 08:21:01 +01:00
a {
display: inline-block;
height: 40px;
padding: 10px 8px 10px 8px;
}
}
}
}
}