Albert-NHWang commited on
Commit
f54a095
1 Parent(s): bdde79a

Create style.css

Browse files
Files changed (1) hide show
  1. style.css +91 -0
style.css ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ This CSS file is modified from:
3
+ https://huggingface.co/spaces/DeepFloyd/IF/blob/main/style.css
4
+ */
5
+
6
+ h1 {
7
+ text-align: center;
8
+ }
9
+
10
+ .gradio-container {
11
+ font-family: 'IBM Plex Sans', sans-serif;
12
+ }
13
+
14
+ .gr-button {
15
+ color: white;
16
+ border-color: black;
17
+ background: black;
18
+ }
19
+
20
+ input[type='range'] {
21
+ accent-color: black;
22
+ }
23
+
24
+ .dark input[type='range'] {
25
+ accent-color: #dfdfdf;
26
+ }
27
+
28
+ .container {
29
+ max-width: 730px;
30
+ margin: auto;
31
+ }
32
+
33
+ .gr-button:focus {
34
+ border-color: rgb(147 197 253 / var(--tw-border-opacity));
35
+ outline: none;
36
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
37
+ --tw-border-opacity: 1;
38
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
39
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px var(--tw-ring-offset-width)) var(--tw-ring-color);
40
+ --tw-ring-color: rgb(191 219 254 / var(--tw-ring-opacity));
41
+ --tw-ring-opacity: .5;
42
+ }
43
+
44
+ .gr-form {
45
+ flex: 1 1 50%;
46
+ border-top-right-radius: 0;
47
+ border-bottom-right-radius: 0;
48
+ }
49
+
50
+ #prompt-container {
51
+ gap: 0;
52
+ }
53
+
54
+ #prompt-text-input,
55
+ #negative-prompt-text-input {
56
+ padding: .45rem 0.625rem
57
+ }
58
+
59
+ /* #component-16 {
60
+ border-top-width: 1px !important;
61
+ margin-top: 1em
62
+ } */
63
+
64
+ .image_duplication {
65
+ position: absolute;
66
+ width: 100px;
67
+ left: 50px
68
+ }
69
+
70
+ #component-0 {
71
+ max-width: 730px;
72
+ margin: auto;
73
+ padding-top: 1.5rem;
74
+ }
75
+
76
+ #share-btn-container {
77
+ 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;
78
+ }
79
+ #share-btn {
80
+ 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;
81
+ }
82
+ #share-btn * {
83
+ all: unset;
84
+ }
85
+ #share-btn-container div:nth-child(-n+2){
86
+ width: auto !important;
87
+ min-height: 0px !important;
88
+ }
89
+ #share-btn-container .wrap {
90
+ display: none !important;
91
+ }