1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-22 17:50:07 +01:00
site/_src/_assets/styles/_sections.scss

94 lines
1.6 KiB
SCSS
Raw Normal View History

.section {
padding-top: ($spacer * 3);
padding-bottom: ($spacer * 3);
&:last-child { border-bottom: 0; }
2016-01-22 16:03:56 +01:00
// use this so animated elements coming in from outside of screen
// don't affect layout
overflow: hidden;
2016-02-08 14:35:02 +01:00
.row {
flex: 0 0 100%;
}
@media ($screen-sm) {
padding-top: ($spacer * 5);
padding-bottom: ($spacer * 5);
}
}
2015-12-20 19:31:36 +01:00
.section-header {
margin-bottom: ($spacer * 4);
}
.section-title,
.section-description {
text-align: center;
2015-12-20 19:31:36 +01:00
@media ($screen-sm) {
max-width: 100%;
margin-left: auto;
margin-right: auto;
}
2017-04-12 16:36:57 +02:00
.text-left & {
text-align: left;
}
}
.section-title {
2017-04-12 18:31:59 +02:00
@extend .h2;
margin-top: 0;
margin-bottom: ($spacer * 2);
2015-12-20 19:31:36 +01:00
// the bottom line
2017-05-31 00:22:14 +02:00
&:after {
content: '';
2017-03-28 14:22:01 +02:00
height: 2px;
width: 3rem;
2015-12-20 19:31:36 +01:00
display: block;
margin: ($spacer * 2) auto 0;
background: $gray-light;
}
2017-04-12 16:36:57 +02:00
.text-left & {
&:after {
margin-left: 0;
}
}
}
.section-description {
font-size: $font-size-lg;
margin-bottom: 0;
color: $brand-main-gray-lighter;
2017-04-19 18:35:16 +02:00
+ .section-description,
+ p {
margin-top: $spacer;
}
}
.section-actions {
margin-top: $spacer;
.btn {
margin-left: 5px;
margin-right: 5px;
min-width: 200px;
}
}
//
// Specific sections
//
@import '_sections/section-cta-whitepaper';
2018-04-05 15:34:17 +02:00
@import '_sections/section-cta-services';
@import '_sections/section-partners';
@import '_sections/section-blog';
2018-04-06 11:33:52 +02:00
@import '_sections/section-getstarted';
2018-05-09 12:32:44 +02:00
@import '_sections/section-newsletter';