mirror of
https://github.com/ipdb/website.git
synced 2024-11-13 16:54:50 +01:00
155 lines
2.6 KiB
SCSS
155 lines
2.6 KiB
SCSS
@import 'variables';
|
|
|
|
.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: 1rem;
|
|
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 / 2;
|
|
}
|
|
|
|
.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 {
|
|
font-size: $font-size-small;
|
|
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: 0;
|
|
|
|
@media ($screen-md) {
|
|
position: relative;
|
|
left: auto;
|
|
top: auto;
|
|
bottom: -.95rem;
|
|
}
|
|
}
|
|
|
|
&.is-complete {
|
|
&:after {
|
|
content: '\2714';
|
|
color: $brand-03;
|
|
background: adjust-hue($brand-01, 170%);
|
|
}
|
|
}
|
|
|
|
&.is-progress {
|
|
&:after {
|
|
background: $brand-07;
|
|
}
|
|
}
|
|
}
|
|
|
|
.roadmap__net {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.roadmap__target {
|
|
color: $brand-07;
|
|
}
|
|
|
|
|
|
//
|
|
// Connect
|
|
//
|
|
.articles {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.article {
|
|
@media ($screen-sm) {
|
|
flex: 0 0 45%;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
}
|
|
|
|
.article__title {
|
|
font-size: $font-size-h6;
|
|
margin-top: 0;
|
|
}
|