mirror of
https://github.com/ipdb/website.git
synced 2024-11-13 16:54:50 +01:00
300 lines
5.5 KiB
SCSS
300 lines
5.5 KiB
SCSS
@import 'variables';
|
|
@import 'hero';
|
|
|
|
.section--intro {
|
|
.section__description {
|
|
margin-bottom: $spacer * 2;
|
|
}
|
|
}
|
|
|
|
.feature {
|
|
padding-top: $spacer;
|
|
padding-bottom: $spacer;
|
|
|
|
&:first-child {
|
|
padding-top: $spacer * 2;
|
|
}
|
|
}
|
|
|
|
.feature__image {
|
|
margin: 0;
|
|
background: $brand-05;
|
|
padding: $spacer;
|
|
padding-bottom: 0;
|
|
border-radius: $border-radius;
|
|
min-height: 9rem;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
|
|
svg {
|
|
width: 100%;
|
|
height: auto;
|
|
max-width: 100%;
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.feature__title {
|
|
font-size: $font-size-h4;
|
|
margin-bottom: $spacer / $line-height;
|
|
}
|
|
|
|
.feature__list {
|
|
margin: 0;
|
|
padding: 0;
|
|
margin-top: $spacer;
|
|
|
|
li {
|
|
display: block;
|
|
color: $brand-02;
|
|
|
|
@media ($screen-sm) {
|
|
display: inline-block;
|
|
margin-left: $spacer * 2;
|
|
|
|
&:first-child {
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
|
|
&:before {
|
|
content: '\2714';
|
|
font-size: $font-size-small;
|
|
color: $brand-success;
|
|
margin-right: $spacer / 4;
|
|
}
|
|
}
|
|
}
|
|
|
|
.connect__title {
|
|
font-size: $font-size-h3;
|
|
}
|
|
|
|
.roadmap {
|
|
border-left: .2rem solid $brand-02;
|
|
margin-left: $spacer * 2;
|
|
padding-left: $spacer;
|
|
width: 100%;
|
|
margin-top: $spacer * 2;
|
|
margin-bottom: $spacer * 2;
|
|
|
|
@media ($screen-sm) {
|
|
margin-left: $spacer * 3;
|
|
padding-left: 0;
|
|
}
|
|
|
|
@media ($screen-md) {
|
|
margin-left: 0;
|
|
border-left: 0;
|
|
border-bottom: .2rem solid $brand-02;
|
|
|
|
.row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
}
|
|
|
|
.roadmap__step {
|
|
position: relative;
|
|
margin-bottom: $spacer * 2;
|
|
|
|
@media ($screen-md) {
|
|
text-align: center;
|
|
margin-bottom: 0;
|
|
padding-left: $spacer / 2;
|
|
padding-right: $spacer / 2;
|
|
}
|
|
|
|
&:after {
|
|
content: '\2714';
|
|
color: transparent;
|
|
text-align: center;
|
|
font-size: $font-size-mini;
|
|
line-height: 2;
|
|
width: 1.75rem;
|
|
height: 1.75rem;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
background: $brand-05;
|
|
border: .2rem solid #fff;
|
|
position: absolute;
|
|
left: -2.95rem;
|
|
top: -.25rem;
|
|
|
|
@media ($screen-md) {
|
|
position: relative;
|
|
left: auto;
|
|
top: auto;
|
|
bottom: -.95rem;
|
|
}
|
|
}
|
|
|
|
&.is-complete {
|
|
&:after {
|
|
content: '\2714';
|
|
color: $brand-03;
|
|
background: $brand-success;
|
|
}
|
|
}
|
|
|
|
&.is-progress {
|
|
&:after {
|
|
background: $brand-07;
|
|
}
|
|
}
|
|
}
|
|
|
|
.roadmap__net,
|
|
.roadmap__target {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.roadmap__target {
|
|
color: $brand-07;
|
|
}
|
|
|
|
.roadmap__time {
|
|
color: $brand-02;
|
|
font-size: $font-size-small;
|
|
|
|
@media ($screen-md) {
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: -70%;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
//
|
|
// Get started
|
|
//
|
|
.section--getstarted {
|
|
counter-reset: getstarted-steps;
|
|
|
|
.feature__image {
|
|
background: rgba(255, 255, 255, .5);
|
|
}
|
|
|
|
.section__actions {
|
|
border-top: 0;
|
|
padding-top: 0;
|
|
margin-top: $spacer * 2;
|
|
}
|
|
}
|
|
|
|
.getstarted-bigchaindb {
|
|
padding-top: $spacer * 3;
|
|
margin-top: $spacer * 3;
|
|
border-top: 1px solid darken($brand-05, 8%);
|
|
}
|
|
|
|
.getstarted {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: flex-start;
|
|
height: 100%;
|
|
padding: $spacer;
|
|
color: $brand-05;
|
|
background: $link-color;
|
|
cursor: pointer;
|
|
counter-increment: getstarted-steps;
|
|
|
|
.grid__col:first-child & {
|
|
border-top-left-radius: $border-radius;
|
|
border-bottom-left-radius: $border-radius;
|
|
border-right: .2rem solid $brand-05;
|
|
}
|
|
|
|
.grid__col:last-child & {
|
|
border-top-right-radius: $border-radius;
|
|
border-bottom-right-radius: $border-radius;
|
|
border-left: .2rem solid $brand-05;
|
|
}
|
|
|
|
&:hover,
|
|
&:focus {
|
|
background: darken($link-color, 10%);
|
|
color: $brand-05;
|
|
}
|
|
|
|
code {
|
|
color: inherit;
|
|
}
|
|
}
|
|
|
|
.getstarted__title {
|
|
font-size: $font-size-h3;
|
|
color: #fff;
|
|
margin-bottom: $spacer / 3;
|
|
|
|
&:before {
|
|
content: counter(getstarted-steps);
|
|
display: block;
|
|
background: rgba($brand-05, .3);
|
|
width: 1.75rem;
|
|
height: 1.75rem;
|
|
border-radius: 50%;
|
|
text-align: center;
|
|
line-height: 1.75rem;
|
|
font-size: $font-size-base;
|
|
font-weight: $font-weight-bold;
|
|
margin-bottom: $spacer / 1.5;
|
|
}
|
|
}
|
|
|
|
.getstarted__text {
|
|
opacity: .9;
|
|
}
|
|
|
|
|
|
//
|
|
// Connect
|
|
//
|
|
.articles {
|
|
max-width: 100%;
|
|
margin-bottom: $spacer * 4;
|
|
}
|
|
|
|
.article {
|
|
margin-bottom: 6%;
|
|
transition: .15s ease-out;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
transform: translateY(-1px);
|
|
|
|
.article__title {
|
|
color: $link-color;
|
|
}
|
|
|
|
.article__image {
|
|
background-color: $link-color;
|
|
}
|
|
}
|
|
|
|
&:active {
|
|
transition: none;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.article__image {
|
|
width: 100%;
|
|
min-height: 6.5rem;
|
|
background-position: center center;
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
margin-bottom: $spacer / 3;
|
|
border: 1px solid $brand-05;
|
|
border-radius: $border-radius;
|
|
}
|
|
|
|
.article__title {
|
|
font-size: $font-size-base;
|
|
color: $text-color;
|
|
margin: 0;
|
|
align-self: flex-end;
|
|
transition: .15s ease-out;
|
|
}
|