1
0
mirror of https://github.com/ipdb/website.git synced 2024-11-12 00:04:48 +01:00
website/_src/_assets/scss/_caretakers.scss

41 lines
760 B
SCSS
Raw Normal View History

2017-08-24 15:02:12 +02:00
.caretakers {
margin-top: $spacer;
margin-bottom: $spacer;
}
.caretaker {
text-align: center;
display: block;
box-shadow: none;
2017-08-28 15:22:11 +02:00
max-width: 130px;
2017-08-24 15:02:12 +02:00
margin: auto;
transition: .25s ease-out;
&:hover,
&:focus {
.logo-caretaker {
opacity: 1;
2017-08-29 11:20:22 +02:00
fill: $link-color;
color: $link-color;
2017-08-24 15:02:12 +02:00
}
}
}
.logo-caretaker {
fill: $brand-04;
color: $brand-04;
opacity: .6;
max-width: 100%;
height: 20px; // need to hardcode some size to overwrite browser's default 150px height for SVGs
transition: .25s ease-out;
@media ($screen-sm) {
2017-08-28 15:22:11 +02:00
height: auto;
max-height: 40px;
2017-08-24 15:02:12 +02:00
}
}
2017-08-28 15:22:11 +02:00
.logo-caretaker--internet-archive {
transform: scale(1.5);
}