74 lines
1.5 KiB
SCSS
74 lines
1.5 KiB
SCSS
.footer {
|
|
background-color: $black;
|
|
color: rgba($white, 0.15);
|
|
font-size: 1rem;
|
|
padding-right: env(safe-area-inset-right);
|
|
padding-left: env(safe-area-inset-left);
|
|
position: relative;
|
|
|
|
@media (max-width: 980px) {
|
|
&::before {
|
|
width: 3rem; height: 100%;
|
|
right: 0; bottom: 0;
|
|
|
|
background-image: linear-gradient(90deg, rgba($black, 0), $black 50%, $black); // iOS Safari cannot handle `transparent`
|
|
content: "";
|
|
position: absolute;
|
|
z-index: 2;
|
|
}
|
|
}
|
|
|
|
> div:first-of-type {
|
|
@media (max-width: 980px) {
|
|
width: 100%;
|
|
|
|
overflow: auto;
|
|
overflow-scrolling: touch; // sass-lint:disable-line no-misspelled-properties
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
ul {
|
|
list-style-type: none;
|
|
padding-top: 2rem;
|
|
padding-bottom: 2rem;
|
|
|
|
@media (min-width: 981px) {
|
|
align-items: stretch;
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
}
|
|
|
|
li {
|
|
padding-right: 0.5rem;
|
|
padding-left: 0.5rem;
|
|
vertical-align: bottom;
|
|
|
|
@media (max-width: 980px) {
|
|
display: inline-block;
|
|
transform: translate3d(0, 0, 0);
|
|
transition: opacity 0.2s 0.2s ease, transform 0.4s 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
|
|
&:last-of-type {
|
|
margin-right: 3rem;
|
|
}
|
|
}
|
|
|
|
&:first-of-type {
|
|
flex: 1;
|
|
}
|
|
}
|
|
}
|
|
|
|
a {
|
|
transition: color 0.2s;
|
|
|
|
&:not(:hover) {
|
|
color: $white;
|
|
}
|
|
|
|
&:hover {
|
|
color: $teal;
|
|
}
|
|
}
|
|
}
|