dwb2023 commited on
Commit
f9963d6
·
verified ·
1 Parent(s): 65830ee

Update styles.css

Browse files
Files changed (1) hide show
  1. styles.css +31 -28
styles.css CHANGED
@@ -1,29 +1,32 @@
1
- body {
2
- background-color: #F3F4F6; /* Light Gray */
3
- color: #374151; /* Dark Gray */
4
- }
5
- .gradio-container {
6
- font-family: Arial, sans-serif;
7
- }
8
- .gr-button {
9
- background-color: #1E3A8A; /* Deep Blue */
10
- color: white;
11
- border: none;
12
- }
13
- .gr-button:hover {
14
- background-color: #1D4ED8; /* Slightly lighter Blue for hover effect */
15
- }
16
- .gr-secondary-button {
17
- background-color: #FBBF24; /* Soft Yellow */
18
- color: black;
19
- border: none;
20
- }
21
- .gr-secondary-button:hover {
22
- background-color: #FACC15; /* Slightly lighter Yellow for hover effect */
23
- }
24
- .gr-textbox, .gr-markdown, .gr-examples {
25
- border-color: #1E3A8A; /* Deep Blue */
26
- }
27
- .gr-error {
28
- color: #EF4444; /* Red */
 
 
 
29
  }
 
1
+ /* Highlight active elements */
2
+ input[type="text"]:focus, button:hover, button:focus {
3
+ border: 2px solid #f1c40f; /* Gold border for emphasis */
4
+ box-shadow: 0 0 5px #f1c40f;
5
+ }
6
+
7
+ /* Add color accents to section headers */
8
+ h2, h3 {
9
+ color: #f39c12; /* Orange for headers */
10
+ border-bottom: 2px solid #f39c12; /* Optional: border for separation */
11
+ padding-bottom: 5px;
12
+ }
13
+
14
+ /* Add subtle background to examples */
15
+ .gr-examples {
16
+ background-color: #2c3e50; /* Dark background for examples section */
17
+ padding: 10px;
18
+ border-radius: 5px;
19
+ }
20
+
21
+ /* Button styling */
22
+ button {
23
+ background-color: #3498db; /* Blue background */
24
+ color: white; /* White text */
25
+ border: none; /* Remove default border */
26
+ padding: 10px 20px; /* Add padding */
27
+ border-radius: 5px; /* Rounded corners */
28
+ }
29
+
30
+ button:hover {
31
+ background-color: #2980b9; /* Darker blue on hover */
32
  }