majorSearch.css 1.1 KB
/* 左侧 */

.major_l_box,
.branch_major {
    padding: 21px 23px 6px 29px;
    background-color: #fff;
    margin-bottom: 20px;
}

.major_name {
    width: 100%;
}


/* 收藏专业 */

.collect_major {
    padding: 6px 18px;
    background-color: #409eff;
    color: #fff;
    border-radius: 3px;
    font-size: 14px;
}

.induc_box {
    margin: 18px 0 0 0;
}

h2 {
    margin-bottom: 16px;
}

h2::after {
    height: 0;
}

.subject_induction {
    margin: 0 0 10px 10px;
    width: 770px;
}

.subject_induction span {
    color: #8c9198!important;
}


/* 下属专业 */

.branch_det {
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
}

.branch_det:hover {
    background-color: #f1f2f1;
}

h3 {
    color: #34485e;
    font-size: 16px;
    margin-left: -8px;
    position: relative;
}

.branch_det:hover h3 {
    color: #409eff
}


/* 专业概述 */

.branch_summary {
    margin-top: 10px;
    color: #8c9198;
    font-size: 14px;
    line-height: 22px;
    text-align: left;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}