1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-01 15:55:36 +01:00
site/_src/_assets/styles/bigchain/_sections.scss

121 lines
1.9 KiB
SCSS
Raw Normal View History

.section {
padding-top: ($spacer * 2);
padding-bottom: ($spacer * 2);
2016-01-22 16:03:56 +01:00
&:last-child { border-bottom: none; }
// 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) {
2015-12-20 19:31:36 +01:00
padding-top: ($spacer * 4);
padding-bottom: ($spacer * 4);
}
}
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;
}
}
.section-title {
font-size: $font-size-h2;
margin-top: 0;
margin-bottom: ($spacer * 2);
2015-12-20 19:31:36 +01:00
// the bottom line
2015-12-20 19:31:36 +01:00
&:after {
content: "";
2016-01-22 16:03:56 +01:00
height: 1px;
2015-12-20 19:31:36 +01:00
width: 5rem;
display: block;
margin: ($spacer * 2) auto 0 auto;
2016-01-22 16:03:56 +01:00
background: $gray;
}
}
.section-description {
font-size: $font-size-lg;
line-height: $line-height-lg;
margin-bottom: 0;
+ .section-description {
margin-top: $spacer;
}
}
.section-actions {
margin-top: $spacer;
.btn {
margin-left: 5px;
margin-right: 5px;
min-width: 200px;
}
}
//
// Section backgrounds
//
.background--blue {
2016-01-22 16:03:56 +01:00
background: $brand-main-blue;
}
2016-01-22 16:03:56 +01:00
.background--darker {
background: $gray-darker;
}
2016-01-10 02:11:27 +01:00
.background--light {
2016-01-22 16:03:56 +01:00
background: $gray-lightest;
.section-title,
p {
color: $gray;
}
2016-01-10 02:11:27 +01:00
}
2015-12-20 19:31:36 +01:00
.background--gray {
2016-01-22 16:03:56 +01:00
background: $brand-main-gray;
}
2016-01-29 18:45:09 +01:00
//
// Photo background
//
.background--photo {
@extend .color-overlay;
text-shadow: 0 1px 0 rgba(0,0,0,.1);
// background
background: url('../img/northern-lights-poster.jpg') no-repeat center center;
2016-01-29 18:45:09 +01:00
background-size: cover;
2016-02-10 02:16:04 +01:00
.row * {
position: relative;
z-index: 5;
}
2016-01-29 18:45:09 +01:00
.section-title,
.section-description,
.header__title {
//color: #fff;
}
}