Browse Source

update css

SyuanYu 1 year ago
parent
commit
a8144e2976
3 changed files with 35 additions and 0 deletions
  1. 19 0
      static/css/style.css
  2. 0 0
      static/css/style.css.map
  3. 16 0
      static/css/style.scss

+ 19 - 0
static/css/style.css

@@ -4193,6 +4193,13 @@
   background-repeat: no-repeat;
   background-size: cover;
 }
+@media (max-width: 767px) {
+  .news-main-content h1 {
+    padding: 40px 20px 60px;
+    font-size: 24px;
+    background-position: initial;
+  }
+}
 .news-main-content h1::after {
   position: absolute;
   width: 6rem;
@@ -4202,6 +4209,13 @@
   content: "";
   background-color: #EA5413;
 }
+@media (max-width: 767px) {
+  .news-main-content h1::after {
+    height: 0.2rem;
+    top: 83%;
+    left: 40%;
+  }
+}
 .news-main-content h2 {
   padding-left: 10px;
   margin: 30px 0;
@@ -4209,6 +4223,11 @@
   font-weight: bold;
   border-left: 4px solid #ea5413;
 }
+@media (max-width: 767px) {
+  .news-main-content h2 {
+    font-size: 1.4rem;
+  }
+}
 .news-main-content p {
   font-size: 16px;
   margin-bottom: 50px;

File diff suppressed because it is too large
+ 0 - 0
static/css/style.css.map


+ 16 - 0
static/css/style.scss

@@ -4537,6 +4537,12 @@
     background-repeat: no-repeat;
     background-size: cover;
 
+    @media (max-width: 767px) {
+      padding: 40px 20px 60px;
+      font-size: 24px;
+      background-position: initial;
+    }
+
     &::after {
       position: absolute;
       width: 6rem;
@@ -4545,6 +4551,12 @@
       left: 45%;
       content: "";
       background-color: #EA5413;
+
+      @media (max-width: 767px) {
+        height: 0.2rem;
+        top: 83%;
+        left: 40%;
+      }
     }
   }
 
@@ -4554,6 +4566,10 @@
     font-size: 1.8rem;
     font-weight: bold;
     border-left: 4px solid #ea5413;
+
+    @media (max-width: 767px) {
+      font-size: 1.4rem;
+    }
   }
 
   p {

Some files were not shown because too many files changed in this diff