mr_web_nuxt/assets/css/business/news/index.scss

130 lines
2.7 KiB
SCSS

// 新闻类型
.news-titile-pos-box {
width: 100%;
display: flex;
justify-content: center;
margin: 50px 0;
.news-title-box {
display: flex;
align-items: center;
.news-title {
font-size: 24px;
font-weight: bold;
cursor: pointer;
transition: .4s;
}
.news-title:hover {
color: #f08519;
}
.news-title-active{
color: #f08519;
}
.news-title-line {
width:1px;
height: 36px;
background-color: #999999;
margin: 0 30px;
}
}
}
// 新闻内容盒子
.news-container-box {
width: 100%;
.news-big-box {
width: 105%;
display: flex;
// justify-content: center;
// flex-wrap: wrap;
.news-box {
padding: 20px;
transition: 0.4s;
.news-s-box {
height: 450px;
border-radius: 10px;
transition: 0.4s;
padding: 20px;
cursor: pointer;
.jump {
text-decoration: dashed;
color: black;
}
&:hover {
box-shadow: 0 0 15px 10px rgb(227, 225, 225);
}
.news-img-box {
width: 100%;
height: 70%;
overflow: hidden;
img {
width: 100%;
height: 100%;
object-fit: cover;
}
}
.news-content-box {
width: 100%;
height: 30%;
display: flex;
flex-direction: column;
justify-content: space-around;
margin-top: 10px;
.news-content-title {
font-size: 25px;
font-weight: bold;
}
.news-content-line {
width: 100%;
height: 1px;
background: rgba(204, 204, 204, 1);
}
}
}
}
}
}
// ted栏
.Top_navigation {
display: flex;
justify-content: center;
z-index: 9;
position: relative;
}
// 分页
.page-box {
width: 100%;
display: flex;
justify-content: center;
.page {
margin-bottom: 80px;
}
}
.news-content-sublevel {
display: flex;
justify-content: space-between;
}
.jump {
text-decoration: dashed;
color: black;
}