.xy-manual-container {
    position: relative;
    min-height: 500px;
    padding: 0 170px 144px 64px;
    overflow: hidden;
    font-size: 14px;

    h1,
    h2,
    h3 {
        margin-top: 8px;
        margin-bottom: 20px;
        color: #0d1a26;
        font-weight: 500;
        font-size: 30px;
        font-family: Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
            sans-serif;
        line-height: 38px;
        text-indent: 13px;
    }

    p {
        color: #314659;
        font-size: 14px;
        line-height: 2;
        text-shadow: none;
    }

    .top-affix {
        position: fixed;
        top: 8px;
        right: 20px;
    }

    .code-boxes {
        margin-left: -8px;
        margin-right: -8px;
        position: relative;
        height: auto;
        zoom: 1;
        display: block;
        box-sizing: border-box;

        &:after,
        &:before {
            content: "";
            display: table;
            box-sizing: border-box;
        }
        &:after {
            clear: both;
        }
    }

    .code-boxes-col {
        padding-left: 8px;
        padding-right: 8px;
        display: block;
        box-sizing: border-box;
        flex: 0 0 auto;
        float: left;
        position: relative;
        min-height: 1px;
        width: 100%;
    }
}

@media (min-width: 1200px) {
    .xy-manual-container .code-boxes-col {
        display: block;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        width: 50%;
    }
}

.demo-top {
    position: fixed;
    right: 10px;
    margin: 16px 0;
    padding-left: 0;
    font-size: 12px;
    list-style: none;
    border-left: 1px solid #ebedf0;

    a {
        display: block;
        width: 110px;
        margin-left: -1px;
        padding-left: 16px;
        overflow: hidden;
        color: #314659;
        white-space: nowrap;
        text-overflow: ellipsis;
        border-left: 1px solid transparent;
        transition: all 0.3s ease;
        text-decoration: none;

        &:hover {
            color: #1890ff;
        }
    }

    & > li {
        margin-left: 0;
        padding-left: 0;
        line-height: 1.5;
        list-style: none;

        &:not(:last-child) {
            margin-bottom: 4px;
        }
    }
}
