www.lightcourse.com/public/static/home/new/css/program.css

145 lines
2.9 KiB
CSS

.dot {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.setBetween {
display: flex;
justify-content: space-between;
}
.setRowCenter {
display: flex;
align-items: center;
}
.setColumnCenter {
display: flex;
align-items: center;
}
.setCenter {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.ra {
border-radius: 0.2rem;
overflow: hidden;
}
.bs {
box-shadow: 0 0 0.5rem #ebebeb;
}
.box-shadow {
box-shadow: 0rem 0.3rem 0.5rem 0rem rgba(36, 65, 116, 0.1);
}
.btn {
padding: 0.3rem 0.9rem;
background-color: #3b52f6;
color: #fff;
border-radius: 2rem;
font-size: 0.9rem;
}
.btn.s1 {
background-color: transparent;
border: 1px solid #3b52f6;
color: #3b52f6;
}
.a-hover:hover {
color: #3b52f6;
}
.program .main-1 {
padding-top: 0;
}
.program .main-1 .container .link {
display: block;
margin: 3rem 0;
}
.program .main-1 .container .link .con {
display: flex;
justify-content: space-between;
}
.program .main-1 .container .link .img {
width: 23rem;
height: 13.7rem;
flex-shrink: 0;
background-color: #ccc;
}
.program .main-1 .container .link .img img {
width: 100%;
height: 100%;
object-fit: cover;
}
.program .main-1 .container .link .text {
flex: 1;
margin-left: 1.3rem;
}
.program .main-1 .container .link .text h3 {
font-size: 1.3rem;
line-height: 2;
}
.program .main-1 .container .link .text h3 span {
font: inherit;
font-weight: normal;
}
.program .main-1 .container .link .text .field {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
margin-top: 0.9rem;
}
.program .main-1 .container .link .text .field > div {
width: 48%;
line-height: 3;
font-size: 0.9rem;
display: flex;
align-items: center;
}
.program .main-1 .container .link .link-btn {
margin-top: 0.9rem;
display: flex;
align-items: center;
justify-content: flex-end;
}
.program .main-1 .container .link .link-btn a {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 8rem;
height: 2rem;
border: 1px solid #ebebeb;
border-radius: 0.4rem;
color: #999;
margin-left: 0.9rem;
}
.program .main-1 .container .link .link-btn a.b {
background-color: #3b52f6;
color: #fff;
}
@media screen and (max-width: 820px) {
.program .main-1 .container .link .img {
width: 18rem;
height: 12rem;
}
}
@media screen and (max-width: 768px) {
.program .main-1 .container .link .con {
flex-direction: column;
}
.program .main-1 .container .link .con .img {
width: 100%;
height: 10rem;
margin-bottom: 0.9rem;
}
.program .main-1 .container .link .con .text {
margin-left: 0;
}
.program .main-1 .container .link .con .text h3 {
/*overflow: hidden;*/
/*text-overflow: ellipsis;*/
/*white-space: nowrap;*/
}
.program .main-1 .container .link .con .text .field > div {
width: auto;
}
}