bianjiang 1 년 전
부모
커밋
9112e0e6a8
2개의 변경된 파일25개의 추가작업 그리고 9개의 파일을 삭제
  1. 23 7
      xihuaTemplate/css/media.css
  2. 2 2
      xihuaTemplate/css/style.css

+ 23 - 7
xihuaTemplate/css/media.css

@@ -149,11 +149,7 @@
     flex: 2;
     padding: 20px 20px 40px;
   }
-  .spe_cards .cards_item:hover .card_icon img {
-    width: 54px;
-    height: 54px;
-    transition: all 0.3s ease-in-out;
-  }
+
   .spe_cards .cards_item:hover .card_tit {
     padding-left: 10px;
     font-size: 18px;
@@ -320,7 +316,7 @@
   .page_tabs_box .page_tab_list .page_list_item {
     flex-shrink: 1;
   }
-  .page_tabs_box .page_tab_list .page_list_item + .page_list_item{
+  .page_tabs_box .page_tab_list .page_list_item + .page_list_item {
     margin-left: 0;
   }
   .page_tabs_box .page_tab_list .page_list_item .item_link {
@@ -342,7 +338,7 @@
   }
   .page_teacher_list .item {
     height: 300px;
-  } 
+  }
 }
 @media screen and (max-width: 576px) {
   .page_article_list,
@@ -350,3 +346,23 @@
     grid-template-columns: repeat(1, 1fr);
   }
 }
+@media screen and (max-width: 1366px) {
+  .spe_cards .cards_item:hover .card_icon img,
+  .spe_cards .cards_item .card_icon {
+    width: 54px;
+    height: 54px;
+    transition: all 0.3s ease-in-out;
+  }
+  .spe_cards .cards_item .card_desc .desc {
+    max-height: 100px;
+    overflow: hidden;
+    font-size: 12px;
+  }
+  .spe_cards .cards_item .card_desc .more .more_text {
+    font-size: 14px;
+  }
+  .spe_cards .cards_item .card_desc .more .arrow {
+    width: 14px;
+    height: 14px;
+  }
+}

+ 2 - 2
xihuaTemplate/css/style.css

@@ -341,13 +341,13 @@
 }
 .spe_cards {
   display: flex;
-  height: 520px;
+  height: 460px;
 }
 .spe_cards .cards_item {
   position: relative;
   flex: 1;
   margin: 0 1px;
-  height: 520px;
+  height: 460px;
   padding: 70px 20px 40px;
   color: #fff;
   box-sizing: border-box;