artificialguybr commited on
Commit
63ef02e
1 Parent(s): 77b1ab6

Update custom.css

Browse files
Files changed (1) hide show
  1. custom.css +112 -6
custom.css CHANGED
@@ -1,6 +1,112 @@
1
- #title{text-align: center;}
2
- #title h1{font-size: 2em;}
3
- #prompt input{width: 100%; border-radius: 4px;}
4
- #run_button{width: 100%; margin-top: 1em; border-radius: 4px;}
5
- #gallery{display:flex; flex-wrap: wrap; max-width: 300px;} /* Reduzindo o tamanho da galeria */
6
- #gallery .grid-wrap{min-height: 100%; max-width: 100px; max-height: 100px;} /* Reduzindo o tamanho das imagens da galeria */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Global styles */
2
+ body {
3
+ font-family: 'Arial', sans-serif;
4
+ line-height: 1.6;
5
+ color: #333;
6
+ background-color: #f5f5f5;
7
+ }
8
+
9
+ /* Title styles */
10
+ #title {
11
+ text-align: center;
12
+ padding: 20px 0;
13
+ background-color: #3498db;
14
+ color: white;
15
+ margin-bottom: 20px;
16
+ }
17
+
18
+ #title h1 {
19
+ font-size: 2.5em;
20
+ margin: 0;
21
+ }
22
+
23
+ /* Input styles */
24
+ #prompt input, #negative_prompt textarea {
25
+ width: 100%;
26
+ border-radius: 4px;
27
+ border: 1px solid #ddd;
28
+ padding: 10px;
29
+ font-size: 1em;
30
+ transition: border-color 0.3s ease;
31
+ }
32
+
33
+ #prompt input:focus, #negative_prompt textarea:focus {
34
+ border-color: #3498db;
35
+ outline: none;
36
+ }
37
+
38
+ /* Button styles */
39
+ #generate_button {
40
+ width: 100%;
41
+ margin-top: 1em;
42
+ border-radius: 4px;
43
+ background-color: #2ecc71;
44
+ color: white;
45
+ font-size: 1.1em;
46
+ padding: 10px;
47
+ border: none;
48
+ cursor: pointer;
49
+ transition: background-color 0.3s ease;
50
+ }
51
+
52
+ #generate_button:hover {
53
+ background-color: #27ae60;
54
+ }
55
+
56
+ /* Gallery styles */
57
+ #gallery {
58
+ display: flex;
59
+ flex-wrap: wrap;
60
+ justify-content: space-around;
61
+ max-width: 100%;
62
+ margin-top: 20px;
63
+ }
64
+
65
+ #gallery .grid-wrap {
66
+ min-height: 150px;
67
+ max-width: 150px;
68
+ max-height: 150px;
69
+ margin: 10px;
70
+ border-radius: 4px;
71
+ overflow: hidden;
72
+ box-shadow: 0 2px 5px rgba(0,0,0,0.1);
73
+ transition: transform 0.3s ease;
74
+ }
75
+
76
+ #gallery .grid-wrap:hover {
77
+ transform: scale(1.05);
78
+ }
79
+
80
+ /* Slider styles */
81
+ .gradio-slider {
82
+ margin-bottom: 15px;
83
+ }
84
+
85
+ .gradio-slider input[type="range"] {
86
+ width: 100%;
87
+ }
88
+
89
+ /* Dropdown styles */
90
+ .gradio-dropdown select {
91
+ width: 100%;
92
+ padding: 8px;
93
+ border-radius: 4px;
94
+ border: 1px solid #ddd;
95
+ font-size: 1em;
96
+ }
97
+
98
+ /* Result image styles */
99
+ #result img {
100
+ max-width: 100%;
101
+ border-radius: 4px;
102
+ box-shadow: 0 4px 8px rgba(0,0,0,0.1);
103
+ }
104
+
105
+ /* Responsive design */
106
+ @media (max-width: 768px) {
107
+ #gallery .grid-wrap {
108
+ min-height: 100px;
109
+ max-width: 100px;
110
+ max-height: 100px;
111
+ }
112
+ }