Dagfinn1962 commited on
Commit
1b3609a
1 Parent(s): b65c666

Update main.css

Browse files
Files changed (1) hide show
  1. main.css +95 -3
main.css CHANGED
@@ -1,9 +1,9 @@
1
- body {
2
  background: #FFB76B;
3
  background: -webkit-linear-gradient(to right, #FFB76B 0%, #FFA73D 30%, #FF7C00 60%, #FF7F04 100%);
4
  background: -moz-linear-gradient(to right, #FFB76B 0%, #FFA73D 30%, #FF7C00 60%, #FF7F04 100%);
5
  background: linear-gradient(to right, #FFB76B 0%, #FFA73D 30%, #FF7C00 60%, #FF7F04 100%);
6
-
7
  width: 95%;
8
  color: #FFFFFF;
9
  width: 100%;
@@ -68,4 +68,96 @@ a a:active a.hover
68
  font-weight: 700;
69
  font-size: 14px;
70
 
71
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ H1 {
2
  background: #FFB76B;
3
  background: -webkit-linear-gradient(to right, #FFB76B 0%, #FFA73D 30%, #FF7C00 60%, #FF7F04 100%);
4
  background: -moz-linear-gradient(to right, #FFB76B 0%, #FFA73D 30%, #FF7C00 60%, #FF7F04 100%);
5
  background: linear-gradient(to right, #FFB76B 0%, #FFA73D 30%, #FF7C00 60%, #FF7F04 100%);
6
+ font-family: 'IBM Plex Sans', sans-serif;
7
  width: 95%;
8
  color: #FFFFFF;
9
  width: 100%;
 
68
  font-weight: 700;
69
  font-size: 14px;
70
 
71
+ }
72
+
73
+ /*
74
+ This CSS file is modified from:
75
+ https://huggingface.co/spaces/DeepFloyd/IF/blob/main/style.css
76
+ */
77
+
78
+ h1 {
79
+ text-align: center;
80
+ }
81
+
82
+ .gradio-container {
83
+ font-family: 'IBM Plex Sans', sans-serif;
84
+ }
85
+
86
+ .gr-button {
87
+ color: white;
88
+ border-color: black;
89
+ background: black;
90
+ }
91
+
92
+ input[type='range'] {
93
+ accent-color: black;
94
+ }
95
+
96
+ .dark input[type='range'] {
97
+ accent-color: #dfdfdf;
98
+ }
99
+
100
+ .container {
101
+ max-width: 730px;
102
+ margin: auto;
103
+ }
104
+
105
+ .gr-button:focus {
106
+ border-color: rgb(147 197 253 / var(--tw-border-opacity));
107
+ outline: none;
108
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
109
+ --tw-border-opacity: 1;
110
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
111
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px var(--tw-ring-offset-width)) var(--tw-ring-color);
112
+ --tw-ring-color: rgb(191 219 254 / var(--tw-ring-opacity));
113
+ --tw-ring-opacity: .5;
114
+ }
115
+
116
+ .gr-form {
117
+ flex: 1 1 50%;
118
+ border-top-right-radius: 0;
119
+ border-bottom-right-radius: 0;
120
+ }
121
+
122
+ #prompt-container {
123
+ gap: 0;
124
+ }
125
+
126
+ #prompt-text-input,
127
+ #negative-prompt-text-input {
128
+ padding: .45rem 0.625rem
129
+ }
130
+
131
+ /* #component-16 {
132
+ border-top-width: 1px !important;
133
+ margin-top: 1em
134
+ } */
135
+
136
+ .image_duplication {
137
+ position: absolute;
138
+ width: 100px;
139
+ left: 50px
140
+ }
141
+
142
+ #component-0 {
143
+ max-width: 730px;
144
+ margin: auto;
145
+ padding-top: 1.5rem;
146
+ }
147
+
148
+ #share-btn-container {
149
+ display: flex; padding-left: 0.5rem !important; padding-right: 0.5rem !important; background-color: #000000; justify-content: center; align-items: center; border-radius: 9999px !important; width: 13rem; margin-left: auto;
150
+ }
151
+ #share-btn {
152
+ all: initial; color: #ffffff;font-weight: 600; cursor:pointer; font-family: 'IBM Plex Sans', sans-serif; margin-left: 0.5rem !important; padding-top: 0.25rem !important; padding-bottom: 0.25rem !important;
153
+ }
154
+ #share-btn * {
155
+ all: unset;
156
+ }
157
+ #share-btn-container div:nth-child(-n+2){
158
+ width: auto !important;
159
+ min-height: 0px !important;
160
+ }
161
+ #share-btn-container .wrap {
162
+ display: none !important;
163
+ }