hugo-theme-almeida/assets/scss/components/_side_section.scss

40 lines
731 B
SCSS
Raw Normal View History

2020-08-16 12:21:35 +00:00
.sideSection {
display: block;
margin-bottom: 3rem;
2020-08-17 07:39:41 +00:00
@include avoid-break;
2020-08-16 12:21:35 +00:00
&__heading {
2020-08-29 11:16:29 +00:00
width: 100%;
2020-08-16 12:21:35 +00:00
overflow: hidden;
text-align: center;
margin-bottom: 1rem;
}
&__title {
position: relative;
&::after,
&::before {
2020-08-29 11:16:29 +00:00
content: '';
2020-08-16 12:21:35 +00:00
position: absolute;
2020-08-29 11:16:29 +00:00
border-top: 1px solid $color-secondary;
border-bottom: 1px solid $color-secondary;
2020-08-16 12:21:35 +00:00
width: 10rem;
height: 4px;
margin-top: 1.1rem;
}
2020-08-29 11:16:29 +00:00
&::after {
2020-08-16 12:21:35 +00:00
margin-left: 1rem;
}
2020-08-29 11:16:29 +00:00
&::before {
2020-08-16 12:21:35 +00:00
margin-left: -11rem;
}
}
& li {
list-style: none;
}
}