1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-02 08:21:58 +01:00
site/_src/_assets/styles/_sections/_section-partners.scss

78 lines
1.3 KiB
SCSS
Raw Normal View History

.partner {
text-align: center;
display: block;
box-shadow: none;
max-width: 120px;
margin: auto;
&:hover,
&:focus {
background: none;
.partner__logo {
fill: $brand-main-green;
fill-opacity: 1;
}
}
}
//
// All logos
//
.partner__logo {
@include transition;
fill: $brand-main-blue-light;
fill-opacity: .6;
max-width: 100%;
height: 20px; // need to hardcode some size to overwrite browser's default 150px height for SVGs
@media ($screen-sm) {
height: 30px;
}
}
//
// Visual weight tweaks
//
// using transforms so we don't affect layout
// or have to hardcode any sizes
//
.partner__logo--ipdb {
2017-02-08 16:39:27 +01:00
transform: scale(1.2);
}
.partner__logo--interledger {
transform: scale(1.2);
}
.partner__logo--rethinkdb {
transform: translateY(.4rem);
}
.partner__logo--mongodb {
transform: translateY(.3rem);
}
.partner__logo--innogy {
2017-04-13 13:57:00 +02:00
transform: scale(1.5);
.stroke {
fill: none;
stroke: $brand-main-blue-light;
stroke-width: 4px;
}
}
2017-04-13 13:57:00 +02:00
.partner__logo--porsche {
@media ($screen-sm) {
transform: scale(1.3);
transform-origin: top center;
}
2017-04-13 13:57:00 +02:00
}
.partner__logo--volkswagen {
transform: scale(1.1);
}