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

40 lines
803 B
SCSS

.sideSection {
display: block;
margin-bottom: 3rem;
@include avoid-break;
&__heading {
width: 100%;
overflow: hidden;
text-align: center;
margin-bottom: 1rem;
color: $color-right-col-heading-text;
}
&__title {
position: relative;
&::after,
&::before {
content: '';
position: absolute;
border-top: 1px solid $color-right-col-heading-text;
border-bottom: 1px solid $color-right-col-heading-text;
width: 10rem;
height: 4px;
margin-top: 1.1rem;
}
&::after {
margin-left: 1rem;
}
&::before {
margin-left: -11rem;
}
}
& li {
list-style: none;
}
}