mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-01 15:55:36 +01:00
Matthias Kretschmann
6ede38abfc
- start linting scss based on Airbnb style guide - add includePaths to css & js tasks
135 lines
2.2 KiB
SCSS
135 lines
2.2 KiB
SCSS
|
|
.section {
|
|
padding-top: ($spacer * 3);
|
|
padding-bottom: ($spacer * 3);
|
|
|
|
&:last-child { border-bottom: 0; }
|
|
|
|
// use this so animated elements coming in from outside of screen
|
|
// don't affect layout
|
|
overflow: hidden;
|
|
|
|
.row {
|
|
flex: 0 0 100%;
|
|
}
|
|
|
|
@media ($screen-sm) {
|
|
padding-top: ($spacer * 5);
|
|
padding-bottom: ($spacer * 5);
|
|
}
|
|
}
|
|
|
|
.section-header {
|
|
margin-bottom: ($spacer * 4);
|
|
}
|
|
|
|
.section-title,
|
|
.section-description {
|
|
text-align: center;
|
|
|
|
@media ($screen-sm) {
|
|
max-width: 100%;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
}
|
|
|
|
.section-title {
|
|
@extend .h2;
|
|
margin-top: 0;
|
|
margin-bottom: ($spacer * 2);
|
|
|
|
// the bottom line
|
|
&::after {
|
|
content: '';
|
|
height: 2px;
|
|
width: 3rem;
|
|
display: block;
|
|
margin: ($spacer * 2) auto 0;
|
|
background: $gray-light;
|
|
}
|
|
}
|
|
|
|
.section-description {
|
|
font-size: $font-size-lg;
|
|
margin-bottom: 0;
|
|
color: $brand-main-gray-lighter;
|
|
|
|
+ .section-description {
|
|
margin-top: $spacer;
|
|
}
|
|
}
|
|
|
|
.section-actions {
|
|
margin-top: $spacer;
|
|
|
|
.btn {
|
|
margin-left: 5px;
|
|
margin-right: 5px;
|
|
min-width: 200px;
|
|
}
|
|
}
|
|
|
|
|
|
//
|
|
// Section backgrounds
|
|
//
|
|
.background--blue {
|
|
background: $brand-main-blue;
|
|
}
|
|
|
|
.background--darker {
|
|
background: $gray-dark;
|
|
}
|
|
|
|
.background--light {
|
|
background: $brand-main-gray-lighter;
|
|
|
|
.section-title,
|
|
p {
|
|
color: $brand-main-gray;
|
|
}
|
|
}
|
|
|
|
.background--gray {
|
|
background: $brand-main-gray;
|
|
}
|
|
|
|
|
|
//
|
|
// Photo background
|
|
//
|
|
.background--photo {
|
|
@include color-overlay;
|
|
|
|
// background
|
|
background: url('../img/hero-berlin.jpg') no-repeat top center;
|
|
background-size: cover;
|
|
|
|
.row * {
|
|
position: relative;
|
|
z-index: 5;
|
|
}
|
|
|
|
.section-title {
|
|
&::after {
|
|
background: rgba($brand-main-blue-light, .5);
|
|
}
|
|
}
|
|
|
|
.section-title,
|
|
.section-description,
|
|
.header__title {
|
|
color: #fff;
|
|
}
|
|
}
|
|
|
|
|
|
//
|
|
// Specific sections
|
|
//
|
|
@import '_sections/section-cta-whitepaper';
|
|
@import '_sections/section-cta-features';
|
|
@import '_sections/section-cta-community';
|
|
@import '_sections/section-partners';
|