DawnC commited on
Commit
df4d369
·
1 Parent(s): 8c6cdcb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -8
app.py CHANGED
@@ -1325,23 +1325,32 @@ with gr.Blocks(css="""
1325
  .health-disclaimer {
1326
  margin-top: 20px;
1327
  color: #666;
1328
- font-size: 1.05rem;
1329
- line-height: 1.6;
1330
  padding-top: 20px;
1331
  border-top: 1px solid #e1e4e8;
1332
  }
1333
-
1334
  .health-disclaimer p {
1335
- margin: 8px 0;
1336
- padding-left: 15px;
1337
  position: relative;
 
1338
  }
1339
-
1340
  .health-disclaimer p:before {
1341
- content: "»";
1342
  position: absolute;
1343
  left: 0;
1344
- color: #666;
 
 
 
 
 
 
 
 
1345
  }
1346
 
1347
  """) as iface:
 
1325
  .health-disclaimer {
1326
  margin-top: 20px;
1327
  color: #666;
1328
+ font-size: 0.95rem; /* 稍微縮小字體 */
1329
+ line-height: 1.5;
1330
  padding-top: 20px;
1331
  border-top: 1px solid #e1e4e8;
1332
  }
1333
+
1334
  .health-disclaimer p {
1335
+ margin: 6px 0;
1336
+ padding-left: 24px; /* 增加左邊距,讓雙箭頭有更多空間 */
1337
  position: relative;
1338
+ font-style: italic; /* 添加斜體效果 */
1339
  }
1340
+
1341
  .health-disclaimer p:before {
1342
+ content: "»»"; /* 改為雙箭頭 */
1343
  position: absolute;
1344
  left: 0;
1345
+ color: #999; /* 淡化箭頭顏色 */
1346
+ letter-spacing: -2px; /* 讓雙箭頭靠得更近 */
1347
+ }
1348
+
1349
+ /* 為來源資訊添加特殊樣式 */
1350
+ .health-disclaimer p:first-child {
1351
+ font-style: normal; /* 來源不使用斜體 */
1352
+ font-weight: 500; /* 加粗來源文字 */
1353
+ color: #4A5568; /* 來源使用深色 */
1354
  }
1355
 
1356
  """) as iface: