header { background-image: url(../images/banner2.png) !important; position: relative; background-size: 100% 200%; } header .breadcrumb-row .col { position: relative; } .header-breadcrumb { position: absolute; right: 0; } header .breadcrumb-row { position: absolute; width: 100%; bottom: 1rem; padding: 0 10%; } header .breadcrumb-title { color: #ffffff; font-size: 30px; margin-bottom: 0; line-height: 48px; padding-left: 25%; } .header-breadcrumb .breadcrumb { background-color: rgba(0, 0, 0, 0); } .header-breadcrumb .breadcrumb .breadcrumb-item { color: #ffffff; } /* Container */ .Container { overflow: hidden; max-width: 1920px; width: 100%; margin: 0 auto !important; background-color: #ffffff; } .Container .ContainerLF { float: left; background-color: #F7F7F7; padding: 0; width: 25%; } .Container .ContainerRT { float: left; width: 75%; } .Container .ContainerLF .list-group-item { border: none; text-align: center; background-color: rgba(0, 0, 0, 0); line-height: 3rem; font-size: 1.1rem; margin: .75rem 0; padding: 0 1.25rem; font-family: 'PingFangSC-Regular', 'SourceHanSans-Medium', 'Microsoft YaHei', 'SimSun', 'SimHei', 'Lucida Grande', 'Tahoma', 'Arial', 'Helvetica', 'sans-serif' !important; } .Container .ContainerLF .list-group-item.on { background-color: #D4E6FD; color: #2776BD; } .Container .ContainerLF .list-group-item:hover { background-color: #D4E6FD; color: #2776BD; } .Container .ContainerLF .list-group-parent .list-group-item::before { content: ''; position: absolute; width: 15px; height: 15px; left: calc(40% - 25px); top: 17px; background: url(../images/sub_menu.png); background-size: 100% 100%; } .Container.row { margin: 0; } .Container .lf { float: left; } .Container .rt { padding-left: 2rem; width: calc(100% - 2rem); } .Content { margin-top: 30px; overflow: hidden; } /* Container-end */ /* list */ .Content .list-group-item:first-child { border-top-left-radius: 0; border-top-right-radius: 0; border-top: 0; border-bottom: 0; } .Content .list-group-item:last-child { border-bottom-right-radius: 0; border-bottom-left-radius: 0; } .Content .list-group-item { position: relative; } .Content .dropdown .dropdown-menu { width: 100% !important; position: relative; } .Content .list-group { width: 12rem; text-align: center; font-size: 1.1rem; line-height: 2rem; border-bottom: 1px solid rgba(0, 0, 0, .125); } .Content .father-channel { width: 12rem; display: block; text-align: center; font-size: 1.5rem; line-height: 5rem; height: 5rem; background-color: #6B0C84; color: #ffffff; } .Content .list-group-item.active { z-index: 2; color: #6B0C84; background-color: #f8f9fa; border-top: 1px solid rgba(0, 0, 0, .125); border-left: 1px solid rgba(0, 0, 0, .125); border-right: 1px solid rgba(0, 0, 0, .125); border-bottom: 1px solid rgba(0, 0, 0, .125); font-weight: bold; } .Content .dropMenu .list-group-item.active { border-bottom: none; } .Content .List li { display: block; height: 4rem; border-bottom: 1px dashed #bcbdbd; position: relative; } .Content .List li a { float: left; line-height: 4rem; width: calc(100% - 7rem); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1rem; color: #495057; } /*.Content .List li a::before {*/ /* width: 1rem;*/ /* height: 1rem;*/ /* position: absolute;*/ /* left: 0.5rem;*/ /* top: 2.3rem;*/ /* display: block;*/ /* background: url(../images/prefix.png) no-repeat;*/ /* z-index: 11;*/ /* content: '';*/ /* transition: all 0.3s ease-in-out;*/ /*}*/ .Content .List li span { float: right; line-height: 4rem; color: #bcbdbd; width: 7rem; font-size: 1rem; text-align: right; } /* list-end */ /* pagination */ .Content .pagination { display: block; text-align: right; padding-right: 1rem; } .Content .pagination li { display: inline-block; } .Content .page-box { position: relative; display: block; padding: .5rem .75rem; margin-left: -1px; line-height: 1.25; color: #333; background-color: #fff; border: 1px solid #dee2e6; } .Content .input-group { width: 10rem; } .Content .input-group .btn { border-top-right-radius: 0; border-bottom-right-radius: 0; color: #333; background-color: #fff; border: 1px solid #dee2e6; } .Content .form-control { border-top-left-radius: 0; border-bottom-left-radius: 0; } .Content .page-link { color: #333; } .Content .page-link:hover { z-index: 2; color: #ffffff; text-decoration: none; background-color: #12192D; border-color: #12192D; } .Content .active { z-index: 2; color: #ffffff; text-decoration: none; background-color: #12192D; border-color: #12192D; } /* pagination-end */ /* article */ .article { padding: 1rem; } .article .article-title { width: 100%; line-height: 5rem; font-size: 2rem; text-align: center; font-weight: bold; padding-bottom: 1rem; border-bottom: 1px solid #bcbdbd; margin-bottom: 1rem; } .article .article-sub { text-align: right; color: #8a8a8a; line-height: 3rem; } .article .article-sub span { padding-left: 1rem; } .article .article-content { margin-top: 1rem; } /* article-end */ /* drop */ .dp-menu { display: none; } .dp-menu .dp-menu-item { color: #333; display: block; line-height: 2rem; text-align: center; font-size: 1rem; padding: .5rem 1.25rem; } .dp-menu .dp-menu-item:hover { background-color: #f8f9fa; } .dropMenu.active .dp-menu { display: block; } .dp-menu .dp-menu-item.active { background-color: #f8f9fa; color: #6B0C84; font-weight: bold; } /* drop-end */ /* Teacher */ .list-group-parent .list-group-parent-title { border-bottom: 1px solid #bcbdbd; line-height: 3rem; font-size: 1.2rem; margin: .75rem 0; padding: 0 1.25rem; text-align: left; padding-left: 25%; font-family: 'PingFangSC-Regular', 'SourceHanSans-Medium', 'Microsoft YaHei', 'SimSun', 'SimHei', 'Lucida Grande', 'Tahoma', 'Arial', 'Helvetica', 'sans-serif' !important; } .list-group-parent .list-group-parent-title a { color: #495057; font-size: 1.2rem; } .list-group-parent .list-group-item { font-size: 1rem !important; text-align: left !important; padding-left: 40% !important; } .list-group-parent .list-group-item a { color: #495057; } .Teacher { overflow: hidden; position: relative; } .Teacher .mb-5, .my-5 { margin-bottom: 2rem !important; } .Teacher-item { width: 49%; height: 240px; float: left; margin-right: 2%; padding: 1rem; position: relative; border: 1px solid #bcbdbd; } .Teacher-item:nth-child(2n) { margin: 0; } .Teacher-item-lf { float: left; } .Teacher-item-rt { float: left; width: calc(100% - 10rem); padding: 1rem; } .Teacher-item-rt .title { line-height: 2rem; min-width: 200px; } .Teacher-item-rt .pos { line-height: 2rem; display: inline-block; } .Teacher-item-rt p { margin-top: 1rem; line-height: 2rem; display: block; height: 2rem; white-space: nowrap; /* 不换行 */ overflow: hidden; /* 隐藏溢出部分 */ text-overflow: ellipsis; /* 显示省略号 */ } .Teacher-item-rt .pos span { padding-left: 0.4rem !important; } .Teacher-item-rt .title h5 { display: inline-block; color: #333; font-weight: bold; } .Teacher-item-rt .title span { color: #8a8a8a; padding-left: 1rem; } .Teacher-item img { width: 10rem; height: 12rem; } .Teacher a { color: #333; } .Teacher a:hover { color: #333; } .Teacher-item-rt .summary { height: 4.5rem; margin-top: 1rem; color: #8a8a8a; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; } @media screen and (max-width: 1400px) { .Teacher-item { width: 100%; } }