.timeline {
    position: relative;
    color: #000;
}

.timeline:after {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 4px;
    width: 2px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

.timeline-row {
    position: relative;
    z-index: 10;
    padding: 0 0 20px 20px;
}

.timeline-icon {
    position: absolute;
    top: 22px;
    left: 0;
    z-index: 100;
    width: 10px;
    height: 10px;
    padding: 3px;
    overflow: hidden;
    text-align: center;
    border-radius: 50%;
    background-color: #eb3c00;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    color: #FFFFFF;
}

.timeline-line {
    position: absolute;
    left: 4px;
    top: 26px;
    width: 16px;
    height: 2px;
    background: rgba(0, 0, 0, 0.2);
}

.titmeline-title {
    font: 400 16px/30px "微软雅黑";
}

.titmeline-body {
    font: 400 14px/18px '微软雅黑';
    color: #666;
}

@media (min-width: 1200px) {
    .timeline:after {
        left: 50%;
        width: 4px;
        margin-left: -2px;
    }

    .timeline-row {
        padding-bottom: 10px;
    }

    .timeline-row:nth-child(2n+1) {
        padding-right: 50%;
        text-align: right;
    }

    .timeline-row:nth-child(2n) {
        padding-left: 50%;
    }

    .timeline-icon {
        top: 20px;
        left: 50%;
        z-index: 100;
        width: 20px;
        height: 20px;
        margin-left: -10px;
        padding: 3px;
        font-size: 14px;
    }

    .timeline-line {
        position: absolute;
        left: 50%;
        top: 28px;
        width: 30px;
        height: 4px;
        margin-left: -30px;
    }

    .timeline-row:nth-child(2n) .timeline-line {
        margin: 0;
    }

    .titmeline-title {
        padding-left: 30px;
        font: 400 18px/30px "微软雅黑";
    }

    .titmeline-body {
        padding-left: 30px;
        font: 400 14px/18px '微软雅黑';
    }

    .timeline-row:nth-child(2n+1) .titmeline-title {
        padding-left: 0;
        padding-right: 30px;
    }

    .timeline-row:nth-child(2n+1) .titmeline-body {
        padding-left: 0;
        padding-right: 30px;
    }
}