Text-to-Image
Diffusers
Safetensors
English
StableDiffusionXLPipeline
art
Inference Endpoints
KBlueLeaf commited on
Commit
0617709
1 Parent(s): 54c0806

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +24 -4
README.md CHANGED
@@ -25,6 +25,10 @@ tags:
25
  position: relative;
26
  width: 100%;
27
  margin: 0 auto;
 
 
 
 
28
  }
29
 
30
  .image-viewer input[type="radio"] {
@@ -34,18 +38,24 @@ tags:
34
  .image-viewer label {
35
  padding: 10px 20px;
36
  background-color: #B398F5;
 
37
  border: 1px solid #ccc;
38
  cursor: pointer;
39
- transition: background-color 0.3s ease;
40
- color: black
 
41
  }
42
 
43
  .image-viewer label:hover {
44
  background-color: #4C88F5;
 
 
45
  }
46
 
47
  .image-viewer input[type="radio"]:checked + label {
48
  background-color: #6296F5;
 
 
49
  }
50
 
51
  .image-container {
@@ -59,7 +69,7 @@ tags:
59
  top: 0;
60
  left: 0;
61
  height: 100%;
62
- max-width: 100%;
63
  object-fit: contain;
64
  opacity: 0;
65
  transition: opacity 0.5s ease;
@@ -71,10 +81,20 @@ tags:
71
  #image3:checked ~ .image-container img:nth-child(3) {
72
  opacity: 1;
73
  }
 
 
 
 
 
 
 
 
 
 
74
  </style>
75
  <div class="image-viewer">
76
  <input type="radio" id="image1" name="image-switcher" checked>
77
- <label for="image1">1</label>
78
  <input type="radio" id="image2" name="image-switcher">
79
  <label for="image2">2</label>
80
  <input type="radio" id="image3" name="image-switcher">
 
25
  position: relative;
26
  width: 100%;
27
  margin: 0 auto;
28
+ display: flex;
29
+ flex-flow: wrap;
30
+ align-items: center;
31
+ justify-content: center;
32
  }
33
 
34
  .image-viewer input[type="radio"] {
 
38
  .image-viewer label {
39
  padding: 10px 20px;
40
  background-color: #B398F5;
41
+ background-size: cover;
42
  border: 1px solid #ccc;
43
  cursor: pointer;
44
+ transition: 0.3s ease;
45
+ color: black;
46
+ margin: 10px;
47
  }
48
 
49
  .image-viewer label:hover {
50
  background-color: #4C88F5;
51
+ padding: 15px 25px;
52
+ margin: 5px;
53
  }
54
 
55
  .image-viewer input[type="radio"]:checked + label {
56
  background-color: #6296F5;
57
+ padding: 20px 30px;
58
+ margin: 0px;
59
  }
60
 
61
  .image-container {
 
69
  top: 0;
70
  left: 0;
71
  height: 100%;
72
+ width: 100%;
73
  object-fit: contain;
74
  opacity: 0;
75
  transition: opacity 0.5s ease;
 
81
  #image3:checked ~ .image-container img:nth-child(3) {
82
  opacity: 1;
83
  }
84
+
85
+ #image1l{
86
+ background-image: url("output-samples/01549.png");
87
+ }
88
+ #image2l{
89
+ background-image: url("output-samples/01550.png");
90
+ }
91
+ #image3l{
92
+ background-image: url("output-samples/01551.png");
93
+ }
94
  </style>
95
  <div class="image-viewer">
96
  <input type="radio" id="image1" name="image-switcher" checked>
97
+ <label for="image1" id="image1l">1</label>
98
  <input type="radio" id="image2" name="image-switcher">
99
  <label for="image2">2</label>
100
  <input type="radio" id="image3" name="image-switcher">