Commit
•
713b909
1
Parent(s):
9ec21ae
Create style.css
Browse files
style.css
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* style.css */
|
2 |
+
body {
|
3 |
+
background-color: #000; /* Black background */
|
4 |
+
color: #fff; /* White text */
|
5 |
+
font-family: Arial, sans-serif;
|
6 |
+
}
|
7 |
+
|
8 |
+
.gradio {
|
9 |
+
--color-bg: #000; /* Black background */
|
10 |
+
--color-text: #fff; /* White text */
|
11 |
+
--color-border: #808080; /* Grey borders */
|
12 |
+
--color-primary: #ff0000; /* Red for primary elements like buttons */
|
13 |
+
--color-primary-contrast: #fff; /* White text on primary elements */
|
14 |
+
}
|
15 |
+
|
16 |
+
/* Increasing the size of the visuals */
|
17 |
+
.image img, .audio audio {
|
18 |
+
width: 200%; /* Double the size */
|
19 |
+
height: auto;
|
20 |
+
}
|
21 |
+
|
22 |
+
/* Styling textboxes, images, and audios with grey borders */
|
23 |
+
.textbox, .image, .audio {
|
24 |
+
border: 2px solid #808080; /* Grey border */
|
25 |
+
padding: 10px;
|
26 |
+
margin-top: 10px;
|
27 |
+
background-color: #111; /* Slightly lighter black for the input/output boxes */
|
28 |
+
}
|
29 |
+
|
30 |
+
/* Button styling */
|
31 |
+
.button {
|
32 |
+
background-color: var(--color-primary);
|
33 |
+
color: var(--color-primary-contrast);
|
34 |
+
padding: 10px 20px;
|
35 |
+
border: none;
|
36 |
+
cursor: pointer;
|
37 |
+
font-size: 16px;
|
38 |
+
margin-top: 10px;
|
39 |
+
border-radius: 4px; /* Rounded corners for the button */
|
40 |
+
}
|
41 |
+
|
42 |
+
.button:hover {
|
43 |
+
background-color: #d10000; /* A darker shade of red on hover */
|
44 |
+
}
|
45 |
+
|
46 |
+
/* Overall border styling for the app container */
|
47 |
+
.container {
|
48 |
+
border: 3px solid #ff0000; /* Red border */
|
49 |
+
padding: 20px;
|
50 |
+
margin-top: 20px;
|
51 |
+
}
|
52 |
+
|
53 |
+
/* Adjust layout for elements to follow the button directly */
|
54 |
+
.row {
|
55 |
+
display: flex;
|
56 |
+
flex-direction: column; /* Stack children vertically */
|
57 |
+
align-items: center; /* Center children horizontally */
|
58 |
+
width: 100%;
|
59 |
+
}
|
60 |
+
|
61 |
+
/* Make visuals responsive to screen size */
|
62 |
+
@media (max-width: 768px) {
|
63 |
+
.image img, .audio audio {
|
64 |
+
width: 100%; /* Adjust size for smaller screens */
|
65 |
+
}
|
66 |
+
}
|