open-consul/website/source/assets/stylesheets/consul-connect/components/_section.scss

42 lines
738 B
SCSS
Raw Normal View History

2018-06-11 22:59:00 +00:00
.g-section {
overflow: hidden;
padding: 56px 0;
@media (min-width: 768px) {
padding: 96px 0;
}
2018-06-11 22:59:00 +00:00
@media (min-width: 992px) {
padding: 120px 0;
}
2018-06-11 22:59:00 +00:00
&.bg-light {
background: #f7f8fa !important; //TODO - !important is to override the `#page-home section` #fff background;
}
&.bg-dark {
background: #252937 !important; //TODO - !important is to override the `#page-home section` #fff background;
color: #fff;
}
2018-06-11 22:59:00 +00:00
&.border-top {
border-top: 1px solid #e5e6eb;
}
2018-06-15 20:07:21 +00:00
& .intro {
margin: 0 auto 24px;
max-width: 784px;
padding: 0 16px;
text-align: center;
2018-06-15 20:07:21 +00:00
@media (min-width: 767px) {
margin-bottom: 64px;
}
& h2,
& h3 {
margin: 0 0 24px;
}
}
2018-06-11 22:59:00 +00:00
}