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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -11
app.py CHANGED
@@ -1324,34 +1324,39 @@ with gr.Blocks(css="""
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;
1332
  }
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:
 
1324
 
1325
  .health-disclaimer {
1326
  margin-top: 20px;
 
 
 
1327
  padding-top: 20px;
1328
  border-top: 1px solid #e1e4e8;
1329
  }
1330
 
1331
  .health-disclaimer p {
1332
  margin: 6px 0;
1333
+ padding-left: 20px;
1334
  position: relative;
1335
+ color: #888; /* 統一設定灰色 */
1336
+ font-size: 0.95rem;
1337
+ line-height: 1.5;
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
  .health-disclaimer p:first-child {
1351
+ font-style: normal; /* 取消斜體 */
1352
+ font-weight: 500; /* 加粗 */
1353
+ color: #666; /* 稍深的灰色 */
1354
+ }
1355
+
1356
+ .health-disclaimer p span,
1357
+ .health-disclaimer p strong,
1358
+ .health-disclaimer p em {
1359
+ color: inherit;
1360
  }
1361
 
1362
  """) as iface: