Linoy Tsaban commited on
Commit
7bb19d4
·
1 Parent(s): 23c0e05

Create style.css

Browse files
Files changed (1) hide show
  1. style.css +123 -0
style.css ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ This CSS file is modified from:
3
+ https://huggingface.co/spaces/DeepFloyd/IF/blob/main/style.css
4
+ */
5
+ @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;700&display=swap');
6
+ body gradio-app{
7
+ background-image: url(https://i.imgur.com/m67bEzr.png) !important;
8
+ background-position: center -86px !important;
9
+ background-size: 1480px !important;
10
+ background-repeat: no-repeat !important;
11
+ background-color: #404eed !important;
12
+ }
13
+ h1, h3 {
14
+ text-align: center;
15
+ font-family: 'IBM Plex Sans', sans-serif;
16
+ }
17
+
18
+ .gradio-container {
19
+ font-family: 'IBM Plex Sans', sans-serif;
20
+ }
21
+
22
+ .gr-button {
23
+ color: white;
24
+ border-color: black;
25
+ background: black;
26
+ }
27
+
28
+ input[type='range'] {
29
+ accent-color: black;
30
+ }
31
+
32
+ .dark input[type='range'] {
33
+ accent-color: #dfdfdf;
34
+ }
35
+
36
+ .container {
37
+ max-width: 730px;
38
+ margin: auto;
39
+ padding-top: 1.5rem;
40
+ }
41
+
42
+ background-image: url("https://i.imgur.com/QU2HHmB.png");
43
+
44
+ .gr-button:focus {
45
+ border-color: rgb(147 197 253 / var(--tw-border-opacity));
46
+ outline: none;
47
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
48
+ --tw-border-opacity: 1;
49
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
50
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px var(--tw-ring-offset-width)) var(--tw-ring-color);
51
+ --tw-ring-color: rgb(191 219 254 / var(--tw-ring-opacity));
52
+ --tw-ring-opacity: .5;
53
+ }
54
+
55
+ .gr-form {
56
+ flex: 1 1 50%;
57
+ border-top-right-radius: 0;
58
+ border-bottom-right-radius: 0;
59
+ }
60
+
61
+ #prompt-container {
62
+ gap: 0;
63
+ }
64
+
65
+ #prompt-text-input,
66
+ #negative-prompt-text-input {
67
+ padding: .45rem 0.625rem
68
+ }
69
+
70
+ /* #component-16 {
71
+ border-top-width: 1px !important;
72
+ margin-top: 1em
73
+ } */
74
+
75
+ .image_duplication {
76
+ position: absolute;
77
+ width: 100px;
78
+ left: 50px
79
+ }
80
+
81
+ #component-0 {
82
+ max-width: 1048px;
83
+ margin: auto;
84
+ }
85
+
86
+ #share-btn-container {
87
+ 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;
88
+ }
89
+ #share-btn {
90
+ 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;
91
+ }
92
+ #share-btn * {
93
+ all: unset;
94
+ }
95
+ #share-btn-container div:nth-child(-n+2){
96
+ width: auto !important;
97
+ min-height: 0px !important;
98
+ }
99
+ #share-btn-container .wrap {
100
+ display: none !important;
101
+ }
102
+ #lora_image button{
103
+ height: 126px; width: 100%
104
+ }
105
+ #input_image img, #output_image img, #lora_image img{
106
+ object-fit: cover
107
+ }
108
+ .output_column_reverse{
109
+ flex-direction: column-reverse !important;
110
+ }
111
+ #total_box{
112
+ background-color: rgba(0, 0, 0, 0.5);
113
+ backdrop-filter: blur(5px);
114
+ }
115
+ *{transition: width 0.5s ease, height 0.5s ease, flex-grow 0.5s ease}
116
+ #run_again{margin-top: 1em}
117
+ @media print{
118
+ #input_image, #output_image{height: 356px !important}
119
+ #run_again{display: none !important}
120
+ h3{display: none !important}
121
+ footer{display: none !important}
122
+ #iccv_logo{display: block !important}
123
+ }