plice13 commited on
Commit
4482de0
·
verified ·
1 Parent(s): ae15bc9

Upload style.css

Browse files
Files changed (1) hide show
  1. style.css +31 -18
style.css CHANGED
@@ -24,7 +24,7 @@
24
  --color-translation-text: var(--text-primary);
25
 
26
  --shadow-card: 0 4px 14px rgba(0, 0, 0, 0.45);
27
- --shadow-header-badge: 0 3px 12px rgba(0, 0, 0, 0.4), 0 0 8px rgba(212, 175, 55, 0.3);
28
 
29
  --modal-overlay-bg: rgba(0, 0, 0, 0.85);
30
  --modal-card-bg: #262222;
@@ -97,7 +97,8 @@ gradio-app {
97
  gap: 12px !important;
98
  }
99
 
100
- h1 {
 
101
  text-align: center;
102
  color: var(--gold) !important;
103
  font-weight: 800 !important;
@@ -107,7 +108,8 @@ h1 {
107
  white-space: nowrap !important;
108
  }
109
 
110
- h2 {
 
111
  text-align: center;
112
  color: var(--text-body) !important;
113
  font-weight: 400 !important;
@@ -187,7 +189,7 @@ h3, .card-title {
187
  4. PRIMARY ACTION BUTTONS
188
  ============================================================================== */
189
  .translate-btn, .modal-done-btn, button.primary {
190
- background: linear-gradient(135deg, var(--gold) 0%, #be9007 100%) !important;
191
  color: #221f1f !important;
192
  font-weight: 800 !important;
193
  font-size: 18px !important;
@@ -241,7 +243,7 @@ h3, .card-title {
241
  margin: 0 0 0 0 !important;
242
  text-transform: uppercase !important;
243
  letter-spacing: 1px !important;
244
- text-shadow: 0 0 2px var(--gold) !important;
245
  }
246
 
247
  .examples-row .gradio-html,
@@ -642,21 +644,24 @@ input[type="file"] {
642
  .info-markdown h1,
643
  .info-markdown h2 {
644
  color: var(--gold) !important;
645
- font-size: 15.5px !important;
646
- font-weight: 700 !important;
647
  text-align: left !important;
648
- margin: 16px 0 8px 0 !important;
649
- letter-spacing: 0.4px !important;
650
- border-bottom: 1px solid var(--gold-border-subtle) !important;
651
- padding-bottom: 4px !important;
 
652
  }
653
 
654
  .info-markdown h3 {
655
- color: var(--text-primary) !important;
656
  font-size: 14.5px !important;
657
  font-weight: 700 !important;
658
  text-align: left !important;
659
  margin: 14px 0 6px 0 !important;
 
 
660
  }
661
 
662
  .info-markdown p {
@@ -1299,16 +1304,24 @@ gradio-app.light-theme,
1299
  .light-theme blockquote,
1300
  .light-theme .info-text,
1301
  .light-theme .info-markdown,
1302
- .light-theme .info-markdown *,
 
 
 
 
1303
  .light-theme .prose,
1304
- .light-theme .prose * {
1305
  color: #1e293b !important;
1306
  }
1307
 
1308
- .light-theme h1,
1309
- .light-theme h2,
1310
- .light-theme h3,
1311
- .light-theme h4,
 
 
 
 
1312
  .light-theme strong {
1313
  color: #0f172a !important;
1314
  }
 
24
  --color-translation-text: var(--text-primary);
25
 
26
  --shadow-card: 0 4px 14px rgba(0, 0, 0, 0.45);
27
+ --shadow-header-badge: 0 3px 12px rgba(0, 0, 0, 0.4), 0 0 8px var(--gold-glow);
28
 
29
  --modal-overlay-bg: rgba(0, 0, 0, 0.85);
30
  --modal-card-bg: #262222;
 
97
  gap: 12px !important;
98
  }
99
 
100
+ .header-titles h1,
101
+ .app-title {
102
  text-align: center;
103
  color: var(--gold) !important;
104
  font-weight: 800 !important;
 
108
  white-space: nowrap !important;
109
  }
110
 
111
+ .header-titles h2,
112
+ .app-subtitle {
113
  text-align: center;
114
  color: var(--text-body) !important;
115
  font-weight: 400 !important;
 
189
  4. PRIMARY ACTION BUTTONS
190
  ============================================================================== */
191
  .translate-btn, .modal-done-btn, button.primary {
192
+ background: linear-gradient(135deg, var(--gold) 0%, #b8860b 100%) !important;
193
  color: #221f1f !important;
194
  font-weight: 800 !important;
195
  font-size: 18px !important;
 
243
  margin: 0 0 0 0 !important;
244
  text-transform: uppercase !important;
245
  letter-spacing: 1px !important;
246
+ text-shadow: none !important;
247
  }
248
 
249
  .examples-row .gradio-html,
 
644
  .info-markdown h1,
645
  .info-markdown h2 {
646
  color: var(--gold) !important;
647
+ font-size: 16.5px !important;
648
+ font-weight: 800 !important;
649
  text-align: left !important;
650
+ margin: 20px 0 10px 0 !important;
651
+ letter-spacing: 0.5px !important;
652
+ border-bottom: 1.5px solid var(--gold-border-subtle) !important;
653
+ padding-bottom: 5px !important;
654
+ opacity: 1 !important;
655
  }
656
 
657
  .info-markdown h3 {
658
+ color: var(--gold) !important;
659
  font-size: 14.5px !important;
660
  font-weight: 700 !important;
661
  text-align: left !important;
662
  margin: 14px 0 6px 0 !important;
663
+ letter-spacing: 0.3px !important;
664
+ opacity: 1 !important;
665
  }
666
 
667
  .info-markdown p {
 
1304
  .light-theme blockquote,
1305
  .light-theme .info-text,
1306
  .light-theme .info-markdown,
1307
+ .light-theme .info-markdown p,
1308
+ .light-theme .info-markdown span,
1309
+ .light-theme .info-markdown li,
1310
+ .light-theme .info-markdown ul,
1311
+ .light-theme .info-markdown ol,
1312
  .light-theme .prose,
1313
+ .light-theme .prose p {
1314
  color: #1e293b !important;
1315
  }
1316
 
1317
+ .light-theme .info-markdown h1,
1318
+ .light-theme .info-markdown h2,
1319
+ .light-theme .info-markdown h3 {
1320
+ color: #b8860b !important;
1321
+ opacity: 1 !important;
1322
+ border-color: var(--gold-border-subtle) !important;
1323
+ }
1324
+
1325
  .light-theme strong {
1326
  color: #0f172a !important;
1327
  }