admin/official/css/resource.css

284 lines
4.8 KiB
CSS

.sec-nav {
line-height: 60px;
height: 60px;
background: #f8f8f8;
border-bottom: 1px solid #999;
color: #666;
}
.sec-nav-con {
max-width: 1200px;
text-align: center;
margin: 0 auto;
display: flex;
justify-content: center;
}
.sec-nav-one {
flex: 0 0 250px;
text-align: center;
display: inline-block;
cursor: pointer;
}
.sec-nav-one-selected {
color: #00a2ff;
}
.menu {
max-width: 1200px;
margin: 0 auto;
padding: 30px 0;
}
.article {
max-width: 1200px;
margin: 0 auto;
}
.article-con {
display: flex;
justify-content: space-between;
margin-bottom: 30px;
}
.article-one {
box-sizing: border-box;
flex: 0 0 200px;
padding: 20px;
box-shadow: #ccc 5px 10px 10px;
height: 800px;
overflow-y: auto;
}
.article-one::-webkit-scrollbar {
width: 5px;
height: 1px;
background-color: #f5f5f5;
}
.article-one::-webkit-scrollbar-thumb {
/*滚动条里面小方块*/
border-radius: 10px;
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
background: #535353;
}
.rticle-one-title {
font-size: 18px;
font-weight: 600;
}
.rticle-one-li {
padding: 30px 0;
line-height: 36px;
}
.rticle-one-col {
display: flex;
align-items: center;
height: 36px;
font-size: 18px;
cursor: pointer;
}
.rticle-one-col-word {
width: 130px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
font-size: 16px;
}
.word-blue {
color: #00a2ff;
}
.article-two {
flex: 1;
margin-left: 50px;
}
.article-two-li {
padding: 15px 10px;
border-bottom: 1px solid #aaa;
height: 140px;
overflow: hidden;
display: flex;
box-sizing: border-box;
/* align-items: center; */
cursor: pointer;
}
.article-two-li:hover {
border: #00a2ff 2px solid;
}
.article-two-left {
flex: 0 0 160px;
text-align: center;
}
.article-two-left img {
width: 150px;
height: 105px;
}
.article-two-right {
flex: 1;
padding: 0 20px;
}
.article-two-right-title {
font-size: 18px;
overflow: hidden;
font-weight: 600;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
letter-spacing: 0.7px;
}
.article-two-right-content {
padding-top: 5px;
font-size: 14px;
overflow: hidden;
color: #666;
height: 60px;
line-height: 20px;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
letter-spacing: 0.7px;
}
.article-two-right-tip {
display: flex;
justify-content: space-between;
font-size: 12px;
color: #666;
padding-top: 5px;
}
.article-author {
text-align: left;
}
.article-author {
text-align: right;
}
.sec {
background-color: #fdfdfd;
}
.guide {
max-width: 1200px;
margin: 0 auto;
text-align: center;
}
.guide-con {
display: flex;
justify-content: space-between;
}
.guide-one {
width: 270px;
height: 200px;
overflow: hidden;
background-color: #fff;
box-shadow: #ddd 0px 0px 10px 1px;
border-radius: 5px;
}
.video-title {
padding: 10px;
text-align: center;
}
.attestation {
max-width: 1200px;
margin: 0 auto;
text-align: center;
}
.attestation-con {
display: flex;
}
.attestation-one {
display: flex;
align-items: center;
flex: 1;
margin: 0 30px 30px 30px;
height: 250px;
box-shadow: #ddd 0px 0px 10px 1px;
overflow: hidden;
}
.attestation-one-left {
text-align: center;
flex: 0 0 200px;
}
.attestation-one-left img {
width: 141px;
height: 141px;
}
.contract {
max-width: 1200px;
margin: 0 auto;
text-align: center;
}
.contract-con {
display: flex;
justify-content: space-between;
margin: 0 50px;
margin-bottom: 50px;
}
.contract-one {
flex: 0 0 200px;
}
.contract-one-img {
padding: 50px;
border-bottom: 2px solid #f4b800;
margin-bottom: 40px;
}
.contract-one-img img {
width: 65px;
height: 65px;
}
.contract-one-word {
font-size: 18px;
}
.search {
height: 330px;
background-image: url(./../images/resource_part1_1.png);
background-repeat: no-repeat;
display: flex;
align-items: center;
justify-content: center;
}
.search-con {
}
.search-input {
border: 0;
border-radius: 3px;
outline-style: none;
font-size: 18px;
padding: 0 20px;
width: 350px;
line-height: 40px;
height: 40px;
}
.search-btn {
display: inline-block;
padding: 0 25px;
height: 40px;
line-height: 40px;
background: #00a2ff;
color: #fff;
cursor: pointer;
border-radius: 5px;
}
.problem {
max-width: 1200px;
margin: 0 auto;
text-align: center;
}
.problem-li {
text-align: left;
background: #fefefe;
margin: 10px 0;
padding: 10px;
border-bottom: 1px solid #aaa;
}
.problem-title {
font-size: 16px;
cursor: pointer;
padding-bottom: 15px;
}
.problem-detail {
padding-bottom: 15px;
line-height: 36px;
color: #666;
font-size: 15px;
}
.detail-content{
padding:30px 0;
overflow: hidden;
}
.detail-content img{
max-width: 100%;
}