DawnC commited on
Commit
622ec8f
·
1 Parent(s): df4d369

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -11
app.py CHANGED
@@ -1324,8 +1324,8 @@ with gr.Blocks(css="""
1324
 
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;
@@ -1333,24 +1333,25 @@ with gr.Blocks(css="""
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:
 
1324
 
1325
  .health-disclaimer {
1326
  margin-top: 20px;
1327
+ color: #888; /* 調整為更柔和的灰色 */
1328
+ font-size: 0.95rem;
1329
  line-height: 1.5;
1330
  padding-top: 20px;
1331
  border-top: 1px solid #e1e4e8;
 
1333
 
1334
  .health-disclaimer p {
1335
  margin: 6px 0;
1336
+ padding-left: 20px; /* 縮小左邊距 */
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
+ font-style: normal; /* 符號不要斜體 */
1347
+ font-weight: 500;
1348
  }
1349
 
1350
+ /* 來源資訊特殊樣式 */
1351
  .health-disclaimer p:first-child {
1352
+ font-style: normal;
1353
+ font-weight: 500;
1354
+ color: #666;
1355
  }
1356
 
1357
  """) as iface: