Jonas Wiesli commited on
Commit
28ad3fb
·
1 Parent(s): c113af0

adjusted rendering for images

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. style.css +1 -0
app.py CHANGED
@@ -10,7 +10,7 @@ theme = gr.themes.Monochrome(
10
  css = "@import url(https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap);#component-3," \
11
  "#component-4{margin-bottom:10px}.gradio-container{background-image:url(" \
12
  "\"file/img/bg.png\");background-size:contain;background-position:top;background-color:#cda678;font-family" \
13
- ":Silkscreen;position:relative}#component-4{" \
14
  "margin-top:auto}.tabs.svelte-btpldm{height:100%}button.svelte-btpldm {background-color: #cda678;border: 1px " \
15
  "solid #fff;margin-right: 2px}.tabitem{background-color:#002366;border:1px solid " \
16
  "#fff}#component-17,#component-25,#component-33,#component-41,#component-9{" \
 
10
  css = "@import url(https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap);#component-3," \
11
  "#component-4{margin-bottom:10px}.gradio-container{background-image:url(" \
12
  "\"file/img/bg.png\");background-size:contain;background-position:top;background-color:#cda678;font-family" \
13
+ ":Silkscreen;position:relative;image-rendering: pixelated}#component-4{" \
14
  "margin-top:auto}.tabs.svelte-btpldm{height:100%}button.svelte-btpldm {background-color: #cda678;border: 1px " \
15
  "solid #fff;margin-right: 2px}.tabitem{background-color:#002366;border:1px solid " \
16
  "#fff}#component-17,#component-25,#component-33,#component-41,#component-9{" \
style.css CHANGED
@@ -7,6 +7,7 @@
7
  background-color: #cda678;
8
  font-family: "Silkscreen";
9
  position: relative;
 
10
  }
11
 
12
  #component-3 {
 
7
  background-color: #cda678;
8
  font-family: "Silkscreen";
9
  position: relative;
10
+ image-rendering: pixelated;
11
  }
12
 
13
  #component-3 {