@c1: #3b52f6; .item-wrap(@num,@between,@mb) { display: flex; flex-wrap: wrap; .item { width: calc((100% - (@num - 1) * @between) / @num); margin-right: @between; margin-bottom: @mb; &:nth-of-type(@{num}n) { margin-right: 0; } } } .dot { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dots(@num) { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: @num; //行数 -webkit-box-orient: vertical; } .setBetween { display: flex; justify-content: space-between; } .setRowCenter { display: flex; justify-content: 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); } .tit-line(@fs,@pb,@mb,@width,@height,@color) { font-size: @fs; padding-bottom: @pb; margin-bottom: @mb; position: relative; &::after { content: ""; position: absolute; bottom: 0; left: 0; width: @width; border-bottom: @height solid @color; } } .tit-line-center(@fs,@pb,@mb,@width,@height,@color) { font-size: @fs; padding-bottom: @pb; margin-bottom: @mb; position: relative; &::after { content: ""; position: absolute; bottom: 0; left: 50%; width: @width; border-bottom: @height solid @color; transform: translateX(-50%); } } .btn { padding: 0.3rem 1rem; background-color: @c1; color: #fff; border-radius: 2rem; font-size: 0.7rem; &.s1 { background-color: transparent; border: 1px solid @c1; color: @c1; } } .a-hover { &:hover { color: @c1; } } .fb { font-family: "puhuiti-2-115"; } .list-banner{ .left{ p{ font-size: 1.2rem; color: @c1; } } } .main-title{ margin-bottom: 2rem; *{ text-align: left; } h2{ margin-bottom: 0; line-height: 1.4 !important; } p{ color: #000; max-width: 100%; margin-top: 0 !important; } } .credit { .main-1{ padding-top: 0; } section{ &:not(:first-of-type){ padding-top: 0; } } .container { * { line-height: 2; } p { margin-top: 1rem; } em { font-weight: bold; .fb; font-size: 1rem; } .f-img { img { float: right; max-width: 21rem; } } .item-list1 { display: flex; justify-content: space-between; h6 { .fb; text-align: center; line-height: 1.4; min-height: 3.2rem; margin-bottom: 1rem; } .item { width: 30%; position: relative; border: 1px solid #000; margin-top: 1rem; padding: 1rem; &::after { content: attr(num); position: absolute; bottom: 0; right: 1rem; font-size: 1.4rem; color: @c1; .fb; } } } .item-list2 { .item { position: relative; margin-top: 2rem; box-shadow: 0rem 0.15rem 0.8rem 0rem rgba(32, 30, 29, 0.35); padding: 1rem; &::before { content: ""; position: absolute; right: calc(100% + 1rem); top: 0; width: 1rem; height: 1rem; background-color: @c1; } } } } .con3 { .f-img { p { margin-bottom: 1rem; } } } .con4 { .bor { border-radius: 0.25rem; padding: 2rem; font-size: 1.2rem; font-weight: bold; max-width: 66rem; margin: 2rem auto; background-image: url(../images/4623.png); background-size: 100% 100%; background-repeat: no-repeat; p{ margin-top: 0; } } } .con6{ *{ text-align: center; } h4{ color: @c1; line-height: 1.2; } } } @media screen and (max-width: 768px) { .credit .container .f-img img{ display: none; } .credit .con4 .bor{ background-image: none; box-shadow: 0 0 .5rem #ebebeb; } .credit { .main-1{ .container{ *{ font-size: 1rem; line-height: 1.6; } h4{ font-size: 1.4rem; } strong{ font-size: 1rem; } .f-img{ img{ display: none; } } .item-list1{ flex-wrap: nowrap; overflow-x: scroll; .item{ flex-shrink: 0; width: 15rem; margin-right: 1rem; &:last-of-type{ margin-right: 0; } } } } } .main-2 { .c-tit { h2 { font-size: 1.4rem; } } .school { h3 { margin-bottom: 1rem; font-size: 1.4rem; } } .item { & > div { width: 100% !important; } .img { display: none; } .text { padding-top: 1rem; div { padding-bottom: 1rem; } } } } } }