代码拉取完成,页面将自动刷新
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
// pc端
@media screen and (min-width: 376px) {
/* 头部 */
.top {
background: linear-gradient(#660103, #9a0804);
}
.head {
margin: auto;
width: 90%;
display: flex;
justify-content: space-between;
.head-left {
.image0 {
display: none;
}
}
}
.ul1 {
margin-top: 30px;
list-style-type: none;
display: flex;
height: 30px;
color: white;
text-align: center;
}
.head-right {
display: flex;
justify-content: space-between;
}
.ul1 li {
padding-right: 20px;
line-height: 30px;
a {
text-decoration: none;
color: white;
}
}
.ul1 li:hover {
transform: scale(1.2);
}
.span1 {
font-size: 20px;
}
.input1 {
text-align: center;
border-radius: 40px;
height: 30px;
width: 150px;
margin-top: 30px;
border: 1px solid white;
position: relative;
}
/* 放大镜 */
.image2 {
width: 22px;
height: 22px;
position: absolute;
right: 200px;
top: 33px;
}
/* 轮播图 */
.image {
width: 100%;
height: 500px;
z-index: 1;
}
/* 新闻公告 */
.new {
background: linear-gradient(#ffffff, #f2f2f2);
.news {
padding-top: 30px;
width: 85%;
margin: auto;
.color {
margin-top: 30px;
margin-bottom: 30px;
background: linear-gradient(to top, #fdfdfd, #d6d6d6);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
font-weight: bold;
font-size: 22px;
text-align: center;
position: relative;
.newcolor {
font-weight: bold;
font-size: 30px;
color: #ca1818;
position: absolute;
right: 45%;
top: -10px;
}
}
.news1 {
width: 100%;
display: flex;
text-align: center;
justify-content: space-between;
.news-right {
background-color: white;
height: 400px;
border: 1px solid #f4f4f4;
border-radius: 5px;
width: 49%;
position: relative;
.border {
width: 70%;
margin-left: 20px;
border-bottom: 1px solid #ececec;
}
p:nth-child(1) {
font-weight: bold;
font-size: 26px;
color: black;
padding: 20px;
text-align: left;
}
p:nth-child(3) {
color: red;
position: absolute;
top: 95px;
right: 40px;
}
p:nth-child(4) {
padding-top: 50px;
padding-left: 20px;
padding-right: 20px;
color: black;
font-size: 20px;
text-align: left;
}
.bottom {
display: flex;
justify-content: space-between;
padding-left: 20px;
padding-right: 20px;
height: 50px;
line-height: 50px;
margin-top: 100px;
img:nth-child(1) {
margin-top: 5px;
width: 40px;
height: 40px;
}
img:nth-child(1):hover {
filter: drop-shadow(0 0 0 #e13840);
}
img:nth-child(2) {
margin-left: 15px;
transform: rotate(180deg);
width: 40px;
height: 40px;
}
img:nth-child(2):hover {
filter: drop-shadow(0 0 0 #e13840);
}
p {
color: #cbcbcb;
span {
font-size: 26px;
color: red;
}
}
}
}
.news-left {
width: 49%;
height: 400px;
.p1 {
display: none;
}
}
.image3 {
width: 100%;
height: 400px;
}
}
}
.all {
position: relative;
.news-bottom {
width: 100%;
margin: auto;
margin-top: 50px;
display: flex;
justify-content: space-between;
.left {
width: 30%;
height: 200px;
font-size: 18px;
padding-top: 30px;
padding-left: 20px;
padding-right: 20px;
border: 1px solid #000;
background-color: white;
z-index: 999;
.image11 {
display: none;
}
span {
font-weight: bold;
}
p:nth-child(2) {
padding: 20px;
text-align: right;
}
}
.left:hover {
color: #dc6363;
}
.center {
width: 30%;
height: 200px;
font-size: 18px;
padding-top: 30px;
padding-left: 20px;
padding-right: 20px;
border: 1px solid #000;
background-color: white;
z-index: 999;
.image11 {
display: none;
}
span {
font-weight: bold;
}
p:nth-child(2) {
padding: 20px;
text-align: right;
}
}
.center:hover {
color: #dc6363;
}
.right {
width: 30%;
height: 200px;
font-size: 18px;
padding-top: 30px;
padding-left: 20px;
padding-right: 20px;
border: 1px solid #000;
background-color: white;
z-index: 999;
.image11 {
display: none;
}
span {
font-weight: bold;
}
p:nth-child(2) {
padding: 20px;
text-align: right;
}
}
.right:hover {
color: #dc6363;
}
}
.empty {
width: 85%;
margin: auto;
height: 10px;
top: 50px;
left: 110px;
position: absolute;
background-color: #cfcfcf;
}
}
.news3 {
display: flex;
text-align: center;
align-items: center;
justify-content: center;
padding: 40px;
color: #c3c3c3;
img {
transform: rotate(180deg);
width: 20px;
height: 20px;
margin-left: 5px;
}
}
}
// 党建引领
.Party {
// padding: 20px 0;
width: 100%;
// 查看更多
.Party3 {
display: flex;
text-align: center;
align-items: center;
justify-content: center;
padding: 40px;
color: #c3c3c3;
img {
transform: rotate(180deg);
width: 20px;
height: 20px;
margin-left: 5px;
}
}
.Party-box {
width: 85%;
margin: 0 auto;
.Party-title {
padding-top: 20px;
text-align: center;
font-weight: bold;
div:nth-child(1) {
color: #c90000;
font-size: 25px;
position: absolute;
left: 46.2%;
}
div:nth-child(2) {
background: -webkit-linear-gradient(#d7d7d7, #f1f1f1);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
padding-top: 6px;
font-size: 20px;
}
}
.Party-middle {
padding-top: 20px;
display: flex;
justify-content: space-between;
.Party-m-para:hover {
border-bottom: 10px solid #c90c0c;
.Party-content {
.left {
background-color: #c90000;
}
}
}
.Party-m-para {
height: 380px;
width: 30%;
box-shadow: 2px 2px 2px 1px #dbdbdb;
margin-top: 30px;
.img {
width: 100%;
img {
width: 100%;
}
}
.Party-content {
width: 85%;
margin: 0 auto;
background-color: #fff;
display: flex;
justify-content: space-between;
padding: 10px 0;
.left {
color: #fff;
background-color: #e47f7f;
width: 20%;
height: 55px;
div:nth-child(1) {
margin-top: 10px;
text-align: center;
}
div:nth-child(2) {
font-size: 10px;
text-align: center;
}
}
.right {
letter-spacing: 2px;
width: 78%;
}
}
}
}
}
}
// 教研动态
.research {
width: 100%;
height: 100%;
background: url("../第一阶段项目/img/7-min.png");
background-repeat: no-repeat;
background-size: 100% 100%;
// 查看更多
.research3 {
display: flex;
text-align: center;
align-items: center;
justify-content: center;
padding: 40px;
color: #c3c3c3;
img {
transform: rotate(180deg);
width: 20px;
height: 20px;
margin-left: 5px;
}
}
.researchs {
padding-top: 30px;
width: 85%;
margin: auto;
.color {
margin-top: 30px;
margin-bottom: 30px;
background: linear-gradient(to top, #fdfdfd, #d6d6d6);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
font-weight: bold;
font-size: 22px;
text-align: center;
position: relative;
.newcolor {
font-weight: bold;
font-size: 30px;
color: #ca1818;
position: absolute;
right: 45%;
top: -10px;
}
}
.researchs1 {
width: 100%;
display: flex;
text-align: center;
justify-content: space-between;
.researchs-right {
height: 400px;
border-radius: 5px;
width: 49%;
position: relative;
.right-box:hover {
color: #d44949;
}
.right-box {
display: flex;
justify-content: space-between;
font-size: 24px;
border-bottom: 1px solid #dddddd;
height: 80px;
line-height: 80px;
}
}
.researchs1-left {
width: 49%;
height: 400px;
p {
width: 100%;
height: 60px;
line-height: 60px;
border: 1px solid #000;
margin-top: -64px;
// background: rgba($color: black, $alpha: 0.5);
background-color: black;
// border: 1px solid #000;
opacity: 0.3;
color: white;
}
.image3 {
width: 100%;
height: 400px;
}
}
}
}
}
// 社会服务
.societyone {
background: linear-gradient(#ffffff, #f2f2f2);
.society {
padding-top: 30px;
width: 85%;
margin: auto;
.color {
margin-top: 30px;
margin-bottom: 30px;
background: linear-gradient(to top, #fdfdfd, #d6d6d6);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
font-weight: bold;
font-size: 22px;
text-align: center;
position: relative;
.newcolor {
font-weight: bold;
font-size: 30px;
color: #ca1818;
position: absolute;
right: 45%;
top: -10px;
}
}
.society1 {
width: 100%;
display: flex;
text-align: center;
justify-content: space-between;
.society-right {
height: 400px;
// border: 1px solid red;
width: 49%;
.right-top:hover {
background-color: #e5e5e5;
}
.right-bottom:hover {
background-color: #e5e5e5;
}
.right-top {
display: flex;
align-items: center;
height: 49%;
width: 100%;
border: 3px solid #ebebeb;
img {
margin-left: 100px;
}
p {
margin-left: 30px;
font-size: 50px;
font-weight: bold;
color: #c90000;
}
}
.right-bottom {
margin-top: 7px;
display: flex;
align-items: center;
border: 3px solid #ebebeb;
height: 49%;
width: 100%;
img {
margin-left: 100px;
}
p {
margin-left: 30px;
font-size: 50px;
font-weight: bold;
color: #c90000;
}
}
}
.society-left {
width: 49%;
height: 400px;
.left-top {
width: 100%;
height: 59%;
.image3 {
width: 100%;
height: 100%;
}
}
// .left-bottom:hover {
// border: 3px solid #ce545a;
// }
.left-bottom {
// margin-top: 2%;
width: 100%;
height: 41%;
padding: 20px;
border-left: 3px solid #ce545a;
border-right: 3px solid #ce545a;
border-bottom: 3px solid #ce545a;
p:nth-child(1) {
text-align: left;
font-size: 22px;
}
p:nth-child(2) {
text-align: left;
margin-top: 20px;
font-size: 15px;
}
p:nth-child(3) {
display: flex;
align-items: center;
margin-top: 20px;
text-align: left;
span {
margin-left: 10px;
}
}
}
}
}
}
.news3 {
display: flex;
text-align: center;
align-items: center;
justify-content: center;
padding: 40px;
color: #c3c3c3;
img {
transform: rotate(180deg);
width: 20px;
height: 20px;
margin-left: 5px;
}
}
}
// 主题活动
.topic {
width: 100%;
height: 100%;
// background: url("../第一阶段项目/img/7-min.png");
// background-repeat: no-repeat;
// background-size: 100% 100%;
background-color: #f3e0e2;
// opacity: 0.2;
.news {
padding-top: 30px;
width: 85%;
margin: auto;
.color {
margin-top: 30px;
margin-bottom: 30px;
background: linear-gradient(to top, #fdfdfd, #d6d6d6);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
font-weight: bold;
font-size: 22px;
text-align: center;
position: relative;
.newcolor {
font-weight: bold;
font-size: 30px;
color: #ca1818;
position: absolute;
right: 45%;
top: -10px;
}
}
}
.all {
position: relative;
.news-bottom {
width: 85%;
margin: auto;
margin-top: 50px;
display: flex;
justify-content: space-between;
.center:hover {
margin-top: -20px;
.center-top {
p {
background-color: rgba($color: #a6c6e2, $alpha: 0.5);
}
}
}
.center {
width: 22%;
height: 340px;
border-radius: 10px;
background-color: white;
// z-index: 999;
.center-top {
border-radius: 10px;
width: 100%;
height: 60%;
position: relative;
img {
width: 100%;
height: 100%;
}
p {
width: 100%;
height: 100%;
border-radius: 10px;
padding: 50px;
font-size: 20px;
text-align: center;
background-color: rgba($color: #8f9498, $alpha: 0.5);
position: absolute;
top: 0;
color: white;
}
}
.center-bottom {
padding: 30px;
text-align: center;
font-size: 18px;
}
}
}
// .empty {
// width: 85%;
// margin: auto;
// height: 10px;
// top: 50px;
// left: 110px;
// position: absolute;
// background-color: #cfcfcf;
// }
}
.news3 {
display: flex;
text-align: center;
align-items: center;
justify-content: center;
padding: 40px;
color: #c3c3c3;
img {
transform: rotate(180deg);
width: 20px;
height: 20px;
margin-left: 5px;
}
}
}
// 马院风采
.mien {
position: relative;
.mien-photo {
display: none;
}
.news3 {
display: none;
}
.mien-title {
text-align: center;
padding-top: 20px;
position: relative;
margin-bottom: 60px;
.mien-title1 {
background: linear-gradient(
to bottom,
rgb(207, 206, 206),
rgb(255, 255, 255)
);
/* 设置背景以文字进行裁切 */
background-clip: text;
-webkit-background-clip: text;
/* 设置文本颜色透明以露出后面裁切成文本形状的渐变背景 */
color: transparent;
font-size: 20px;
font-weight: bold;
}
.mien-title2 {
color: #c90000;
font-weight: bold;
font-size: 30px;
position: absolute;
left: 46%;
top: 18%;
}
}
.mien-center {
margin-bottom: 30px;
.swiper {
width: 100%;
height: 100%;
}
.swiper-slide {
text-align: center;
font-size: 18px;
background: #fff;
display: flex;
justify-content: center;
align-items: center;
}
.swiper-slide img {
display: block;
width: 85%;
height: 200px;
object-fit: cover;
}
}
.mien-bottom {
width: 85%;
margin: auto;
margin-bottom: 20px;
.mien-bottom1 {
font-weight: bolder;
font-size: 18px;
margin-right: 25px;
}
.mien-bottom2 {
margin-left: 28px;
a {
text-decoration: none;
color: #000;
}
}
}
}
// 底部
.foot {
margin-top: 10px;
padding-top: 40px;
background-color: #c62b31;
.foottop {
// border: 1px solid #000;
.foot1 {
width: 85%;
margin: auto;
display: flex;
justify-content: space-between;
.foot1-1 {
width: 30%;
border-right: 1px solid rgba(255, 255, 255, 0.6);
img {
width: 95%;
height: 80px;
}
}
.foot1-2 {
width: 55%;
height: 80px;
line-height: 80px;
font-size: 20px;
color: white;
margin-left: 15px;
p {
text-align: left;
}
}
.foot1-3 {
width: 15%;
height: 80px;
img {
margin-left: 103px;
text-align: right;
width: 80px;
height: 80px;
}
}
}
}
.footbottom {
margin-top: 34px;
color: rgba(255, 255, 255, 0.6);
background-color: rgba(0, 0, 0, 0.6);
text-align: center;
height: 40px;
line-height: 40px;
font-size: 13px;
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。