.grex {
display: flex;
position: relative;
justify-content: center;
flex-direction: column;
box-sizing: border-box;
width: auto;
height: auto;
min-width: 20px;
min-height: 30px;
padding: 0 0 0 23px;
text-align: left;
vertical-align: middle;
margin: 32px 15px 32px 0;
border: none;
background-color: transparent;
background-image:
radial-gradient(circle at 0 0, rgba(0,0,0,0) 6px, #000 6px, #000 8px, rgba(0,0,0,0) 8px),
radial-gradient(circle at 0 14.5px, rgba(0,0,0,0) 6px, #000 6px, #000 8px, rgba(0,0,0,0) 8px);
background-size: 8px 14px;
background-position: left center;
background-repeat: no-repeat;
overflow: visible;
}
.grex::before {
content: "";
display: block;
position: absolute;
left: 20px;
top: -6px;
box-sizing: border-box;
width: 100%;
height: 50%;
margin-left: -14px;
border-left: 2px solid #000;
border-top-left-radius: 10px calc(10% + 10px);
}
.grex::after {
content: "";
display: block;
position: absolute;
left: 20px;
bottom: -6px;
box-sizing: border-box;
width: 100%;
height: 50%;
margin-left: -14px;
border-left: 2px solid #000;
border-bottom-left-radius: 10px calc(10% + 10px);
}
.grex ol,
.grex ul {
padding-left: 0;
margin-left: 1em;
}
.grex > ol > li,
.grex > ul > li {
margin-top: 1em;
}
.grex > :first-child,
.grex > ol > li:first-of-type,
.grex > ul > li:first-of-type {
margin-top: 0;
}
.grex > :last-child {
margin-bottom: 0;
}