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

59 lines
1.0 KiB
SCSS
Raw Normal View History

2017-08-24 15:02:12 +02:00
.caretakers {
margin-top: $spacer;
margin-bottom: $spacer;
2017-08-29 16:28:23 +02:00
max-width: 100%;
2017-08-24 15:02:12 +02:00
}
.caretaker {
display: flex;
align-items: center;
justify-content: center;
2017-08-24 15:02:12 +02:00
box-shadow: none;
2017-08-28 15:22:11 +02:00
max-width: 130px;
2017-08-24 15:02:12 +02:00
margin: auto;
height: 100%;
2017-08-24 15:02:12 +02:00
transition: .25s ease-out;
&:hover,
&:focus {
.logo-caretaker {
2017-08-29 11:20:22 +02:00
fill: $link-color;
color: $link-color;
2017-08-24 15:02:12 +02:00
}
.caretaker__name {
color: $link-color;
}
2017-08-24 15:02:12 +02:00
}
}
.logo-caretaker {
fill: $brand-04;
color: $brand-04;
max-width: 100%;
2017-09-07 14:05:37 +02:00
height: 1.5rem; // need to hardcode some size to overwrite browser's default 150px height for SVGs
2017-08-24 15:02:12 +02:00
transition: .25s ease-out;
@media ($screen-sm) {
2017-08-28 15:22:11 +02:00
height: auto;
2017-09-07 14:05:37 +02:00
max-height: 2.2rem;
2017-08-24 15:02:12 +02:00
}
}
2017-08-28 15:22:11 +02:00
.logo-caretaker--internet-archive {
transform: scale(1.5);
}
2017-09-25 10:12:01 +02:00
.logo-caretaker--human-data-commons-foundation {
transform: scale(1.3);
}
//
// The logo fallback
//
.caretaker__name {
font-size: $font-size-base;
color: $brand-04;
vertical-align: middle;
}