1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-12-02 05:57:18 +01:00
site/_src/_assets/styles/_page-features.scss

222 lines
3.9 KiB
SCSS

.page-features {
.section-cta {
background: url('../img/nosprite/starbase-drivers.svg') no-repeat center bottom;
background-size: contain;
}
}
.feature {
display: flex;
margin-bottom: $spacer * 2;
&:first-of-type { padding-top: 0; }
}
.feature__icon {
flex: 0 0 15%;
margin-right: 3%;
margin-top: 2px;
margin-bottom: 0;
width: 3rem;
height: 3rem;
}
.feature__detail {
flex: 0 0 82%;
}
.feature__title {
@extend .h5;
color: $brand-main-blue-light;
margin-top: 0;
margin-bottom: ($spacer / 3);
display: flex;
align-items: center;
}
.feature__text {
p {
margin-bottom: 0;
}
}
.feture_roadmap {
padding: 1rem 0 0;
}
.feature__title__comingsoon,
.feature__title__new {
font-family: $headings-font-family;
font-size: $font-size-sm;
color: $gray-light;
background: $gray-dark;
display: inline-block;
margin-left: ($spacer / 2);
padding: ($spacer / 6) ($spacer / 2);
border-radius: 2px;
}
.feature__title__new {
background: $brand-main-blue-light;
color: $brand-main-blue-dark;
}
.stacks__title {
font-size: $font-size-h3;
}
.stacks__image {
figcaption { margin: $spacer 0; }
}
.table--comparison {
td {
text-align: center;
}
tbody td:first-child {
text-align: left;
}
.icon-check {
width: 1rem;
height: 1rem;
margin: auto;
display: block;
stroke-width: 3;
stroke: #fff;
}
a {
display: inline-block;
box-shadow: none;
.icon-check {
stroke: $brand-primary;
}
}
}
.section-usecases {
> .row {
> .section-header {
margin-bottom: 0;
> .section-description { // stylelint-disable-line selector-max-compound-selectors
margin-bottom: $spacer * 3;
padding-bottom: $spacer * 3;
border-bottom: 2px solid lighten($gray-dark, 10%);
}
}
}
}
//
// Industry section
//
.section--industry {
&:first-child {
margin-top: $spacer * 4;
}
.section-header {
margin-bottom: $spacer * 2;
.icon {
width: 48px;
height: 48px;
margin-bottom: -($spacer / 3);
margin-right: $spacer / 2;
stroke-width: 2;
}
}
.section-title,
.section-description {
text-align: left;
}
.section-title {
@extend .h2;
margin-top: 0;
margin-bottom: $spacer * 2;
&:after {
display: none;
}
}
}
.featuredusecase {
border-top: 2px solid lighten($gray-dark, 10%);
padding-top: $spacer * 2;
margin-top: $spacer * 2;
@media ($screen-sm) {
display: flex;
justify-content: space-between;
}
}
.featuredusecase__logo {
box-shadow: none;
transition: .2s ease-out;
display: block;
&:hover,
&:focus {
background: none;
svg {
fill: $brand-main-green;
}
}
@media ($screen-sm) {
flex: 0 0 20%;
order: 2;
margin-left: 5%;
}
img,
svg {
width: 80px;
max-width: 80px;
max-height: 60px;
height: auto;
margin-bottom: $spacer / 2;
opacity: .6;
align-self: flex-start; // work around stretched images flexbox bug
fill: $brand-main-blue-light;
transition: .2s ease-out;
@media ($screen-sm) {
width: 120px;
max-width: 120px;
max-height: 90px;
height: auto;
margin-bottom: 0;
}
}
}
.featuredusecase__content {
flex: 0 0 75%;
}
.featuredusecase__title {
@extend .h3;
margin-top: 0;
margin-bottom: $spacer;
a {
color: $brand-main-green;
box-shadow: none;
&:hover,
&:focus {
color: #fff;
}
}
}