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

51 lines
1.6 KiB
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
&.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;
}
& .intro {
margin: 0 auto 64px;
max-width: 784px;
text-align: center;
& h2,
& h3 {
margin: 0 0 24px;
}
}
2018-06-14 22:25:34 +00:00
li {
list-style-type: none;
margin: 16px 0;
&:before {
background-position: center;
background-repeat: no-repeat;
background-size: 100%;
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="23" height="22" viewBox="0 0 23 22"><path fill="#CA2171" d="M21.293 1.298L11 11.591 8.707 9.298a1 1 0 1 0-1.414 1.414l3 3a.997.997 0 0 0 1.414 0l11-11a1 1 0 1 0-1.414-1.414M22 10.075v.93a10.925 10.925 0 0 1-3.227 7.777A10.926 10.926 0 0 1 11 22h-.007C4.929 21.996-.003 17.058 0 10.993a10.927 10.927 0 0 1 3.226-7.776A10.927 10.927 0 0 1 10.999 0h.008c1.551 0 3.055.32 4.47.952a1 1 0 1 1-.815 1.826A8.926 8.926 0 0 0 11.006 2H11a8.938 8.938 0 0 0-6.36 2.632A8.938 8.938 0 0 0 2 10.994c-.003 4.963 4.032 9.003 8.995 9.006H11c2.401 0 4.66-.935 6.36-2.633A8.936 8.936 0 0 0 20 11.005v-.93a1 1 0 1 1 2 0"/></svg>');
content: "";
display: block;
float: left;
height: 24px;
margin: 4px 0 0 -40px;
width: 24px;
}
}
2018-06-11 22:59:00 +00:00
}