refactor: 修改样式文件命名
This commit is contained in:
170
public/static/index/pc/css/article_index.css
Executable file
170
public/static/index/pc/css/article_index.css
Executable file
@@ -0,0 +1,170 @@
|
||||
.orico_Page_category {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
height: auto;
|
||||
min-height: 100vh;
|
||||
padding-bottom: 3.75rem;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
background: #f2f2f2;
|
||||
margin-top: 3.75rem;
|
||||
}
|
||||
.orico_Page_category .categoryMain {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
.orico_Page_category .categoryMain .categorybgimg {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.orico_Page_category .categoryMain .tabs {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-top: 2%;
|
||||
}
|
||||
.orico_Page_category .categoryMain .tabs .tabitme {
|
||||
padding: 10px 20px;
|
||||
font-size: 1.25em;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
font-weight: 400;
|
||||
}
|
||||
.orico_Page_category .categoryMain .tabs .tabitme.on {
|
||||
color: #009fdf;
|
||||
}
|
||||
.orico_Page_category .categoryMain .categorySearch {
|
||||
width: 67%;
|
||||
height: 3rem;
|
||||
margin: 2rem auto;
|
||||
position: relative;
|
||||
}
|
||||
.orico_Page_category .categoryMain .categorySearch .search_icon {
|
||||
width: 1.25rem;
|
||||
height: 1.25rem;
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: 1.875rem;
|
||||
top: 0.9375rem;
|
||||
background: url(/static/index/pc/images/search.png);
|
||||
z-index: 9;
|
||||
}
|
||||
.orico_Page_category .categoryMain .categorySearch .search {
|
||||
width: 100%;
|
||||
height: 3rem;
|
||||
line-height: 2.875rem;
|
||||
border: 1px solid #dbdbdb;
|
||||
border-radius: 0.125rem;
|
||||
text-indent: 3.75rem;
|
||||
background: #fff;
|
||||
color: #414446;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
.orico_Page_category .categoryMain .tabConten {
|
||||
width: 80%;
|
||||
max-width: 101.25rem;
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
background: #fff;
|
||||
}
|
||||
.orico_Page_category .categoryMain .tabConten .tbmain {
|
||||
position: relative;
|
||||
padding: 2% 1.5rem;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.orico_Page_category .categoryMain .tabConten .tbmain .Contenitem {
|
||||
float: left;
|
||||
width: 29.9%;
|
||||
height: auto;
|
||||
margin: 0 0 1.4% 0;
|
||||
background: #f5f5f5;
|
||||
padding: 1.2%;
|
||||
position: relative;
|
||||
/* min-height: 32rem; */
|
||||
overflow: hidden;
|
||||
margin-right: 1.5%;
|
||||
}
|
||||
.orico_Page_category .categoryMain .tabConten .tbmain .Contenitem:nth-child(3n){
|
||||
margin-right: 0
|
||||
}
|
||||
.orico_Page_category .categoryMain .tabConten .tbmain .Contenitem a {
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
transition: all 0.2s linear;
|
||||
-webkit-transition: all 0.2s linear;
|
||||
}
|
||||
.orico_Page_category .categoryMain .tabConten .tbmain .Contenitem a img {
|
||||
width: 100%;
|
||||
max-height: 18.75rem;
|
||||
}
|
||||
.orico_Page_category .categoryMain .tabConten .tbmain .Contenitem a h3 {
|
||||
color: #252525;
|
||||
font-size: 1.25rem;
|
||||
font-weight: bold;
|
||||
line-height: 1.875rem;
|
||||
margin: 0.75rem 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 3;
|
||||
max-height: 4rem;
|
||||
}
|
||||
.orico_Page_category .categoryMain .tabConten .tbmain .Contenitem a p {
|
||||
height: 4.5rem;
|
||||
overflow: hidden;
|
||||
color: #929292;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 400;
|
||||
line-height: 1.5rem;
|
||||
margin-bottom: 0.75rem;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 3;
|
||||
line-clamp: 3;
|
||||
}
|
||||
.orico_Page_category .categoryMain .tabConten .tbmain .Contenitem span {
|
||||
color: #929292;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 400;
|
||||
line-height: 1.5rem;
|
||||
margin-bottom: 0.75rem;
|
||||
position: absolute;
|
||||
bottom: 1rem;
|
||||
}
|
||||
.orico_Page_category .categoryMain .tabConten .pagination {
|
||||
zoom: 1;
|
||||
text-align: center;
|
||||
color: #555;
|
||||
clear: both;
|
||||
padding-bottom: 2rem;
|
||||
}
|
||||
.orico_Page_category .categoryMain .tabConten .pagination span {
|
||||
padding: 0px 0px;
|
||||
display: inline-block;
|
||||
}
|
||||
.orico_Page_category .categoryMain .tabConten .pagination li {
|
||||
display: inline-block;
|
||||
width: 34px;
|
||||
height: 22px;
|
||||
line-height: 22px;
|
||||
font-size: 16px;
|
||||
}
|
||||
.orico_Page_category .categoryMain .tabConten .pagination li.active {
|
||||
background-color: #444444;
|
||||
color: #ffffff;
|
||||
}
|
||||
/*屏幕兼容性*/
|
||||
@media screen and (min-width:750px) and (max-width:1280px){}
|
||||
@media screen and (min-width:1281px) and (max-width:1360px) {}
|
||||
@media screen and (min-width:1361px) and (max-width:1460px) {}
|
||||
@media screen and (min-width:1461px) and (max-width:1660px) {}
|
||||
@media screen and (min-width:1661px) and (max-width:1760px) {}
|
||||
@media screen and (min-width:1761px) and (max-width:1960px) {}
|
||||
@media screen and (min-width:1980px) {}
|
||||
Reference in New Issue
Block a user