body{
    font-size: 18px;
    font-family: Microsoft JhengHei;
    background-color: #202020;
    color: #eee;
}

body a{
    color: #eee;
}

#page-bar{
    margin-bottom: 8px;
    padding: 0 10px 8px 10px;
    background-color: #232323;
    border-bottom: 0.5px solid #eee;
    max-height: 20vh;
    overflow-y: overlay;
}

#page-bar span, #random-bar span{
    display: inline-block;
    margin: 0;
    cursor: pointer;
    color: #eee;
    padding: 2px 5px;
}

#page-bar span + span:before{
    display: inline-block;
    width: 0px;
    height: 14px;
    margin-right: 10px;
    content: "";
    border-right: 1px solid #8e8e8e;
}

#page-bar .bold{
    font-weight: 600;
    text-decoration: underline;
}

#no-bar a{
    display: inline-block;
    margin: auto 5px;
}

#code-box > div{
    margin: 40px auto 100px auto;
}

#code-box a{
    font-size: 15px;
}

#code-box > div > a {
    margin-bottom: 10px;
    display: inline-block;
    font-size: 18px;
}

#code-box pre{
    border-radius: 0;
    font-size: 15px;
    background-color: #1e1e1e;
    white-space: pre;
    overflow: auto;
    padding: 10px 5px;
    width: 95%;
    margin: 1em auto;
    line-height: 20px;
}

#to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #f9f9f9;
    border-radius: 5px;
    text-align: center;
    line-height: 63px;
    color: #1e1e1e;
    font-weight: 600;
    font-size: 36px;
    cursor: pointer;
    text-decoration: none;
    opacity: 0.5;
    transition-duration: 0.1s;
}

#to-top:hover {
    opacity: 1;
    transition-duration: 0.1s;
}

#loading{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: table;
    background-color: #00000088;
}

#loading > div{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.loading-icon {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.loading-icon div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #fff;
    border-radius: 50%;
    animation: loading-icon 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #fff transparent transparent transparent;
}

.loading-icon div:nth-child(1) {
    animation-delay: -0.45s;
}

.loading-icon div:nth-child(2) {
    animation-delay: -0.3s;
}

.loading-icon div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes loading-icon {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.disable{
    display: none !important;
}

@media (max-width: 575.99px) {
    #code-box pre {
        font-size: 14px;
    }
}