@font-face {
    font-family: 'SourceCodePro';
    src:url("../font/SourceCodePro-Bold.otf") format('opentype');
}

pre{
    font-family: 'SourceCodePro' !important;
    color: white;
    background-color: black;
    padding-left: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: 500;
    font-size: 18px;
    line-height: 23px;
    overflow:auto;
}
pre.menu_child{
    display: none;
    overflow:auto;
}

.line_number {
    counter-increment: line-number;
    display: list-item;
    padding-left: 1rem;
    margin-left: 1rem;
}
.line_number::marker {
    content: counter(line-number);
    color: #aaa;
    border: 1px #cc0066;
}

.parent.active + pre.menu_child{
    display: block;
}

.open_close + .menu_child{
    margin: 0;
}

.open_close{
    color: #FFF;
    background: #6bb6ff;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    transition: 0.2s ease-in-out;
    font-weight: 500;
    margin-top: 10px;
}
.open_close:after {
    position: absolute;
    top: 50%;
    bottom: 0;
    right: 2rem;
    font-size: 170%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 6px;
    height: 6px;
}
.open_close.parent.active:after{
    right: 2rem;
    font-size: 250%;
}


.open_close:hover {
    color: #313131;
    background: #eee;
    cursor: pointer;
}

.str { color: #ce9178; }
.code_comment { color: #6a9955; }
.regular { color: #cc0066; }
.num { color: #a7ce9b; }
.keyword { color: #c57991; }
.variable { color: #9cdcfe; }
.property { color: #9cdcfe; }
.function { color: #dcdcaa; }
.others { color: #ffc813; }
.import { color: #32bbb0; }
