houde_web_api/public/static/css/news.css
2023-04-16 23:05:17 +08:00

632 lines
9.6 KiB
CSS

body {
margin: 0;
padding: 0;
}
/* 临时修改 */
.news-header-nav {
z-index: 99999;
}
.news-header-nav-item {
background-color: rgb(255, 255, 255, 0.32);
display: flex;
justify-content: left;
align-items: center;
padding-left: 10%;
font-size: 15px;
}
.news_border {
padding: 20px;
}
.news-content-item-title {
background: white;
padding: 20px;
}
.news-content-item-title>div {
padding-bottom: 10px;
}
.news-content-item-title>div:nth-of-type(3) {
/*padding: 10px 10px 0px 10px!important;*/
padding-bottom: 0 !important;
}
/* */
@media (max-width: 767px) {
#_phone {
display: block !important;
}
}
@media (max-width: 767px) {
.news-header-nav-item {
display: none !important;
}
}
#_phone {
display: none;
background: rgb(244, 245, 247);
}
a {
text-decoration: none !important;
color: white;
}
.news_img {
width: 100%;
height: auto;
}
.news_img img {
width: 100%;
height: 100%;
}
#news {
width: 90%;
height: 60px;
align-items: center;
justify-content: center;
}
.news_box {
width: 90%;
height: 20%;
margin-top: 10px;
}
.news_box_left {
width: 40%;
height: 100%;
margin-top: 5px;
float: left;
}
.size1 {
font-size: 40px;
font-weight: 600;
}
.size2 {
font-size: 30px;
}
#news span {
color: rgb(187, 186, 186);
font-size: 15px;
line-height: 20px;
}
.news_box_right {
/* width: 300px;
height: 100%; */
float: left;
font-size: 18px;
}
.news_box_right img {
width: 20px;
height: 20px;
}
.news_border1 {
display: flex;
align-items: center;
margin-top: 20px;
flex-direction: row-reverse;
}
.news_border1 span {
font-size: 14px;
}
.news_border span {
padding-bottom: 4px;
}
.news_border span:hover {
border-bottom: 3px solid white;
}
#news_visible {
width: 100%;
height: 120px;
background-color: rgb(0, 167, 134);
}
.news_visible_box {
width: 80%;
height: 80%;
position: relative;
top: 10%;
margin: auto;
}
.news_visible_top {
width: 100%;
height: 50%;
display: flex;
align-items: center;
}
.news_visible_top span {
color: white;
font-size: 24px;
font-weight: 600;
}
.news_visible_bottom {
width: 100%;
height: 50%;
display: flex;
align-items: center;
}
.news_visible_border a {
width: 65px;
font-size: 14px;
float: left;
border-right: 1px solid white;
margin-right: 10px;
}
#news_list {
width: 100%;
height: auto;
/* display: flex; */
justify-content: center;
}
.news_list_content {
width: 80%;
height: 200px;
margin: 20px auto;
/* border-bottom: 1px solid rgb(190, 190, 190); */
/* background: #7b14db; */
}
.news_list_content_img {
width: 30%;
height: 200px;
/* margin: 0 50px; */
float: left;
/* display: flex; */
justify-content: center;
align-items: center;
cursor: pointer;
text-align: center;
line-height: 200px;
object-fit: cover;
}
.news_list_content_img img {
width: 90%;
height: 90%;
object-fit: cover;
margin-right: 30px;
}
.news_list_content_title {
width: 100%;
height: 25%;
}
.news_list_content_name {
width: 100%;
height: 25%;
}
.news_list_content_time {
width: 100%;
height: 25%;
word-break: break-all;
/* line-height: 80px; */
font-size: 15px;
color: #898989;
/* padding: 40px 0; */
font-family: "Microsoft YaHei", ;
}
.news_list_content_outline {
width: 70%;
height: 45px;
word-break: break-all;
font-size: 15px;
color: #898989;
margin: 20px 0;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
font-family: "Microsoft YaHei", ;
}
#news_list_visible {
width: 100%;
height: auto;
margin-top: 10px;
border-bottom: 10px solid #f5f5f5;
}
.news_list_content_visible {
width: 90%;
height: 100%;
margin: 0 auto;
}
.content_visible_box {
width: 100%;
height: 100%;
}
.news_list_content_visible_img {
width: 20%;
height: 50px;
float: left;
display: flex;
justify-content: center;
align-items: center;
}
.news_list_content_visible_img img {
/* width: 50px;
height: 50px; */
width: 80%;
height: 200px;
margin: 0 10%;
float: left;
justify-content: center;
align-items: center;
cursor: pointer;
text-align: center;
line-height: 200px;
object-fit: cover;
"
}
.news_list_content_visible_title {
width: 100%;
height: 33%;
float: left;
font-weight: 600;
font-size: 15px;
}
.news_list_content_visible_name {
width: 80%;
height: 33%;
float: left;
}
.news_list_content_visible_time {
width: 100%;
height: 33%;
float: left;
color: #ccc;
}
#toggle_bar {
width: 100%;
height: 80px;
display: flex;
justify-content: center;
align-items: center;
}
.toggle_bar_page {
display: flex;
justify-content: center;
align-items: center;
}
.toggle_bar_page_size {
display: flex;
justify-content: center;
align-items: center;
}
.toggle_bar_page_size div {
cursor: pointer;
padding: 8px 15px 8px 14px;
border: 1px solid #eeeeee;
height: 42px;
width: 46px;
text-align: center;
}
.toggle_bar_page button {
border-style: none;
height: 42px;
width: 46px;
border: 1px solid #eeeeee;
margin: 10px;
}
#toggle_bar_page_button1 {
background-color: rgb(255, 255, 255);
}
#toggle_bar_page_button2 {
background-color: #fff;
}
#toggle_bar_page_button1 img {
width: 15px;
height: 18px;
}
#toggle_bar_page_button2 img {
width: 15px;
height: 18px;
}
#toggle_bar_page_button1:hover {
color: rgb(240, 18, 18);
}
#toggle_bar_page_button2:hover {
color: white;
}
#toggle_bar_visible {
width: 100%;
height: 50px;
margin-bottom: 10px;
}
.toggle_bar_page_visible {
width: 90%;
height: 100%;
margin: 0 auto;
display: flex;
justify-content: space-around;
}
.toggle_bar_page_visible button {
border-style: none;
width: 38%;
height: 80%;
float: left;
margin-top: 10px;
margin-bottom: 10px;
}
#visible_bottom1 {
/* margin-left: 3%; */
background: #11bea0;
font-size: 18px;
display: flex;
justify-content: space-around;
align-items: center;
color: #fff;
}
#visible_bottom1 img {
width: 20px;
height: 20px;
}
#visible_bottom2 {
/* margin-left: 5%; */
background: #11bea0;
font-size: 18px;
display: flex;
justify-content: space-around;
align-items: center;
color: #fff;
}
#visible_bottom2 img {
width: 20px;
height: 20px;
}
.borderBottom {
width: 0;
transition: all 0.3s;
height: 3px;
background-color: rgb(0, 182, 142);
margin: auto;
}
.barGs:hover .borderBottom {
width: 50px;
margin: auto;
}
.barGs123 {
border-bottom: 2px solid #00a587;
}
.news_list_content_visible_outline {
font-size: 14px;
width: 80%;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.productPage {
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 50px;
margin-top: 20px;
}
.productPage>.page {
margin: 0 5px 0 5px;
cursor: pointer;
padding: 8px 15px 8px 14px;
border: 1px solid #eeeeee;
height: 42px;
width: 46px;
text-align: center;
font-size: 15px;
}
.productPage img {
height: 62%;
width: 100%;
object-fit: cover;
}
.toggle_bar_page_visible a {
width: 20px;
height: 80%;
}
/*page*/
.page {
transition: 0.4s;
}
.page:hover {
background: #11bea0;
color: white;
}
.pageBigBox {
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 50px;
flex-wrap: wrap;
}
.pageBigBox>div {
margin: 10px 0;
}
.productPage {
display: flex;
justify-content: center;
align-items: center;
}
.pageActive {
background: #11bea0;
color: white;
}
.productPage>.page {
border: 1px solid #eeeeee;
height: 42px;
width: 46px;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
}
.productPage>div {
margin: 0 5px 0 5px;
cursor: pointer;
padding: 8px 15px 8px 14px;
}
.pageMoreInput {
display: flex;
justify-content: center;
align-items: center;
}
.pageMoreInput label {
margin-bottom: 0 !important;
}
.pageMoreInput input {
width: 40px;
border: 1px solid #a8a8a8;
}
.pageMore {
margin: 0 !important;
padding: 8px 7px 8px 7px;
}
.productPage img {
height: 62%;
width: 100%;
object-fit: cover;
}
.pageMoreInput {
display: flex;
justify-content: center;
align-items: center;
}
.pageMoreInput>* {
padding-left: 4px;
padding-right: 4px;
color: #898989;
font-size: 16px;
}
.productJump {
cursor: pointer;
transition: 0.4s;
background: #00a587;
color: white;
padding: 5px 10px;
}
.productJump:hover {
color: #00a587;
background: white;
}
@media (min-width: 1540px) {
.container {
padding-top: 10px !important;
max-width: 100% !important;
margin: 0 !important;
background: rgb(248, 246, 246);
}
}
.phone {
width: 100%;
height: 100%;
}
.news_box {
margin: 10px 0;
width: 80%;
height: 500px;
margin: auto;
}
.f2 {}
.news_img_box {
width: 100%;
height: 60%;
background: white;
}
.news_img_box img {
width: 100%;
height: 100%;
padding: 10px;
object-fit: cover;
}