ソースを参照

时间样式修改

liyangwenqi 5 ヶ月 前
コミット
c31ef51e4f
1 ファイル変更6 行追加3 行削除
  1. 6 3
      src/layouts/components/VabLogo/index.vue

+ 6 - 3
src/layouts/components/VabLogo/index.vue

@@ -15,7 +15,7 @@
       <span class="time-line utc-time">
         {{ "天文时间:" + formattedUTCTime }}
       </span>
-      <br />
+ &nbsp;&nbsp;
       <span class="time-line local-time">
         {{ "绝对时间:" + formattedLocalTime }}
       </span>
@@ -142,6 +142,7 @@
   }
 
   .compact-time-display {
+    font-size: 20px;
     font-family: "Courier New", monospace;
     padding: 12px;
     border-radius: 6px;
@@ -157,14 +158,16 @@
 
       &.utc-time {
         color: #8d978f;
-        font-size: 1rem;
+        font-size: 18px;
         font-weight: 800;
+
       }
 
       &.local-time {
         color: #8d978f;
-        font-size: 1rem;
+        font-size: 18px;
       }
     }
   }
+
 </style>