Kieran Fraser commited on
Commit
7b81f05
1 Parent(s): cdc285d

updated css

Browse files

Signed-off-by: Kieran Fraser <[email protected]>

Files changed (1) hide show
  1. app.py +13 -2
app.py CHANGED
@@ -25,7 +25,19 @@ from art.attacks.poisoning.perturbations import insert_image
25
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
26
 
27
  css = """
28
-
 
 
 
 
 
 
 
 
 
 
 
 
29
  .input-image { margin: auto !important }
30
  .plot-padding { padding: 20px; }
31
  .eta-bar.svelte-1occ011.svelte-1occ011 {
@@ -34,7 +46,6 @@ css = """
34
  .center-text { text-align: center !important }
35
  .larger-gap { gap: 100px !important; }
36
  .symbols { text-align: center !important; margin: auto !important; }
37
-
38
  div.svelte-15lo0d8>*, div.svelte-15lo0d8>.form > * {
39
  min-width: 0px !important;
40
  }
 
25
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
26
 
27
  css = """
28
+ .custom-text {
29
+ --text-md: 20px !important;
30
+ --text-sm: 18px !important;
31
+ --block-info-text-size: var(--text-sm);
32
+ --block-label-text-size: var(--text-sm);
33
+ --block-title-text-size: var(--text-md);
34
+ --body-text-size: var(--text-md);
35
+ --button-small-text-size: var(--text-md);
36
+ --checkbox-label-text-size: var(--text-md);
37
+ --input-text-size: var(--text-md);
38
+ --prose-text-size: var(--text-md);
39
+ --section-header-text-size: var(--text-md);
40
+ }
41
  .input-image { margin: auto !important }
42
  .plot-padding { padding: 20px; }
43
  .eta-bar.svelte-1occ011.svelte-1occ011 {
 
46
  .center-text { text-align: center !important }
47
  .larger-gap { gap: 100px !important; }
48
  .symbols { text-align: center !important; margin: auto !important; }
 
49
  div.svelte-15lo0d8>*, div.svelte-15lo0d8>.form > * {
50
  min-width: 0px !important;
51
  }