首页两大板块对齐

This commit is contained in:
lmj
2022-10-22 11:27:52 +08:00
parent a226d96847
commit 682d61eacf
2 changed files with 14 additions and 12 deletions

View File

@@ -512,11 +512,11 @@
} }
.xindex-ranking-article{ .xindex-ranking-article{
height: 375px; height: 367px;
} }
.xindex-ranking-qa{ .xindex-ranking-qa{
height:124px; height:121px;
} }
.xindex-case { .xindex-case {
@@ -1008,7 +1008,8 @@
margin-right: 30px; margin-right: 30px;
margin-bottom: 30px; margin-bottom: 30px;
border-radius: 8px; border-radius: 8px;
background-color: #000000;
.xindex-course-image{ .xindex-course-image{
width: 340px; width: 340px;
height: 191px; height: 191px;
@@ -1021,19 +1022,19 @@
margin-top:30px; margin-top:30px;
} }
.xindex-ranking-course{ .xindex-ranking-course{
height: 616px; height: 612px;
} }
.xindex-ranking-case{ .xindex-ranking-case{
height: 300px; height: 395.5px;
} }
.xindex-ranking-article{ .xindex-ranking-article{
height: 455px; height: 452px;
} }
.xindex-ranking-qa{ .xindex-ranking-qa{
height:220px; height:222px;
} }
.xindex-case { .xindex-case {
@@ -1261,19 +1262,20 @@
margin-top:30px; margin-top:30px;
} }
.xindex-ranking-course{ .xindex-ranking-course{
height: 610px;
height: 630px;
} }
.xindex-ranking-case{ .xindex-ranking-case{
height: 260px; height: 295.5px;
} }
.xindex-ranking-article{ .xindex-ranking-article{
height: 420px; height: 452px;
} }
.xindex-ranking-qa{ .xindex-ranking-qa{
height:188px; height:222px;
} }
.xindex-case { .xindex-case {
// padding-right: 30px; // padding-right: 30px;

View File

@@ -315,7 +315,7 @@
</div> </div>
<!--内容块--> <!--内容块-->
<div class="xcontent2-minor"> <div class="xcontent2-minor">
<div style="margin-top:80px;padding-right:17px" class="portal-ranking ranking-bg"> <div style="margin-top:82px;padding-right:17px" class="portal-ranking ranking-bg">
<!-- 排行榜位置 --> <!-- 排行榜位置 -->
<p class="ranking-title">文章排行榜</p> <p class="ranking-title">文章排行榜</p>
<ul class="xindex-ranking-article"> <ul class="xindex-ranking-article">