Browse Source

update title

SyuanYu 2 years ago
parent
commit
e9502b12e3

+ 1 - 1
layouts/youtube-views-zh/single.html

@@ -33,7 +33,7 @@
       <div class="container">
         <div class="row g-0">
           <div class="col-12 col-md-4">
-            <h2 class="header-title">{{ .Params.packageTitle }}</h2>
+            <h2 class="header-title">{{ .Params.packageTitle }} <br> <small>{{ .Params.packageSub }}</small></h2>
             <p>
               您費盡心思製作的影片沒有達到理想的觀看數嗎?<br>
               想在短時間內提升 YouTube 影片瀏覽量嗎?<br>

+ 9 - 0
static/css/style.css

@@ -2230,6 +2230,7 @@
   margin-bottom: 30px;
   font-size: 40px;
   color: #ea5413;
+  line-height: 44px;
 }
 @media (max-width: 991px) {
   #youtube-views-zh .header .header-title {
@@ -2241,6 +2242,14 @@
     font-size: 34px;
   }
 }
+#youtube-views-zh .header .header-title small {
+  font-size: 28px;
+}
+@media (max-width: 991px) {
+  #youtube-views-zh .header .header-title small {
+    font-size: 22px;
+  }
+}
 #youtube-views-zh .header .banner {
   width: 100vw;
   height: 1420px;

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


+ 7 - 0
static/css/style.scss

@@ -2098,12 +2098,19 @@
       margin-bottom: 30px;
       font-size: 40px;
       color: #ea5413;
+      line-height: 44px;
       @media (max-width: 991px) {
         padding-top: 5rem;
       }
       @media (max-width: 414px) {
         font-size: 34px;
       }
+      small {
+        font-size: 28px;
+        @media (max-width: 991px) {
+          font-size: 22px;
+        }
+      }
     }
     .banner {
       width: 100vw;

+ 1 - 2
webSite/content/youtube-views-zh/dm.md

@@ -6,8 +6,7 @@ categories = ["video-making"]
 layout = "video-making"
 banner = ""
 packageTitle = "網紅加速器"
-packageSub1 = ""
-packageSub2 = ""
+packageSub = "你成為網紅的最短距離"
 packageBg = ""
 description_01 = ""
 description_02 = ""

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