mirror of https://github.com/hashicorp/consul
55 lines
1.6 KiB
SCSS
55 lines
1.6 KiB
SCSS
.g-section {
|
|
overflow: hidden;
|
|
padding: 56px 0;
|
|
|
|
@media (min-width: 768px) {
|
|
padding: 96px 0;
|
|
}
|
|
|
|
&.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;
|
|
}
|
|
|
|
&.border-top {
|
|
border-top: 1px solid #e5e6eb;
|
|
}
|
|
|
|
& .intro {
|
|
margin: 0 auto 24px;
|
|
max-width: 784px;
|
|
text-align: center;
|
|
|
|
@media (min-width: 767px) {
|
|
margin-bottom: 64px;
|
|
}
|
|
|
|
& h2,
|
|
& h3 {
|
|
margin: 0 0 24px;
|
|
}
|
|
}
|
|
|
|
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;
|
|
}
|
|
}
|
|
}
|