This commit is contained in:
@@ -26,6 +26,13 @@
|
|||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* nav-menu 的第一个菜单项额外增加 20px 左边距,与 banner-list 对齐 */
|
||||||
|
#index .nav-menu {
|
||||||
|
margin-left: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 首页导航文字颜色 */
|
||||||
#index .nav-menu .nav-item {
|
#index .nav-menu .nav-item {
|
||||||
color: #E5E7EB;
|
color: #E5E7EB;
|
||||||
border-bottom-color: transparent;
|
border-bottom-color: transparent;
|
||||||
@@ -188,7 +195,7 @@
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* 轮播文字层:使用与 section-content 相同的左边距计算 */
|
/* 轮播文字层:使用与 banner-list 相同的左边距计算 */
|
||||||
.banner-cont .swiper-slide .section-content {
|
.banner-cont .swiper-slide .section-content {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
@@ -196,7 +203,7 @@
|
|||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 1440px;
|
max-width: 1440px;
|
||||||
padding: 0 20px;
|
padding: 0 40px; /* 40px = section-content的20px + banner-list的20px */
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
|||||||
Reference in New Issue
Block a user