science_competition.css 2.5 KB
.main {
    width: 80rem;
    min-height: 900px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    /* border:1px solid #FA8564; */
    position: relative;
}

.main_left {
    position: absolute;
    width: 16.7777777%;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-right: 3px solid #7177b0;
    background-color: #f7f9fc;
}

.bulbs {
    position: absolute;
    top: 50%;
    right: -1.5rem;
    width: 3rem;
    height: 3rem;
}

.main_left li:nth-child(1) {
    height: 6.5rem;
    line-height: 6.5rem;
    text-align: center;
    color: #fff;
    font-size: 1.8rem;
    background: no-repeat center/100% url(../img/achievement_bg.png);
}

.main_left li {
    line-height: 4rem;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    color: #555;
    border-bottom: 2px solid #ebecee;
}

.left_active {
    color: #242e85 !important;
    border-left: 5px solid #f39800;
    font-weight: bold !important;
}

.main_right {
    position: absolute;
    width: 60rem;
    left: 20%;
}

.title {
    position: relative;
    width: 100%;
    height: 6rem;
    padding: 1.5rem 0;
    border-bottom: 0.2rem solid #dee0ed;
}

.title_left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 9rem;
    height: 40px;
    padding: 0 14px;
    font-size: 1rem;
    border-left: 0.3rem solid #f39800;
}


/* 科技竞赛 */

.science_competition_item {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 10rem;
    padding: 1rem 0;
    border-bottom: 1px solid #ebecee;
}

.science_competition_item img {
    width: 12rem;
    height: 100%;
    object-fit: cover;
}

.item_left {
    position: relative;
    width: 12rem;
}

.sign {
    position: absolute;
    top: 0;
    right: 0;
    width: 3.2rem;
    height: 1.5rem;
    text-align: center;
    line-height: 1.5rem;
    color: #fff !important;
    border: none;
    background-color: rgb(225, 24, 44);
}

.item_right {
    width: 46rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.item_right p {
    width: 100%;
    font-size: 0.875rem;
    margin: 0;
    color: #000;
}

.item_right .item_title {
    font-size: 1rem;
    color: #000;
    font-weight: bold;
}

.item_right .item_title:hover {
    color: #f39800;
}

.item_content {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
}


/* 科技竞赛 */