BhumikaMak commited on
Commit
f323ab3
·
verified ·
1 Parent(s): a91d21f

updated body background

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -62,12 +62,16 @@ def view_model(selected_models):
62
  # CSS to style the Gradio components and HTML content
63
  custom_css = """
64
  body {
65
- background-position: center;
66
- background-size: cover;
 
67
  background-attachment: fixed;
68
  height: 100%; /* Ensure body height is 100% of the viewport */
69
  margin: 0;
70
  overflow-y: auto; /* Allow vertical scrolling */
 
 
 
71
  }
72
  .custom-row {
73
  display: flex;
@@ -85,7 +89,7 @@ body {
85
 
86
  /* Custom border styles for all Gradio components */
87
  .gradio-container, .gradio-row, .gradio-column, .gradio-input, .gradio-image, .gradio-checkgroup, .gradio-button, .gradio-markdown {
88
- border: 3px solid black !important; /* Border width and color */
89
  border-radius: 8px !important; /* Rounded corners */
90
  }
91
 
 
62
  # CSS to style the Gradio components and HTML content
63
  custom_css = """
64
  body {
65
+ background-color: #f4f4f4; /* Light grey background */
66
+ background-image: radial-gradient(circle, #dcdcdc 1px, transparent 1px); /* Dotted pattern */
67
+ background-size: 20px 20px; /* Size of the dots */
68
  background-attachment: fixed;
69
  height: 100%; /* Ensure body height is 100% of the viewport */
70
  margin: 0;
71
  overflow-y: auto; /* Allow vertical scrolling */
72
+ color: #E6E6FA; /* Text color */
73
+ font-family: 'Papyrus', cursive; /* Font */
74
+ font-size: 14px; /* Font size */
75
  }
76
  .custom-row {
77
  display: flex;
 
89
 
90
  /* Custom border styles for all Gradio components */
91
  .gradio-container, .gradio-row, .gradio-column, .gradio-input, .gradio-image, .gradio-checkgroup, .gradio-button, .gradio-markdown {
92
+ border: 3px #800000 !important; /* Border width and color */
93
  border-radius: 8px !important; /* Rounded corners */
94
  }
95