Update README.md
Browse files
README.md
CHANGED
@@ -16,7 +16,182 @@ library_name: diffusers
|
|
16 |
|
17 |
join us: https://discord.gg/tPBsKDyRR5
|
18 |
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
## Introduction
|
22 |
|
|
|
16 |
|
17 |
join us: https://discord.gg/tPBsKDyRR5
|
18 |
|
19 |
+
|
20 |
+
<style>
|
21 |
+
|
22 |
+
.custom-table {
|
23 |
+
width: 100%;
|
24 |
+
border-collapse: collapse;
|
25 |
+
margin-top: 2em;
|
26 |
+
}
|
27 |
+
|
28 |
+
.custom-table td {
|
29 |
+
vertical-align: top;
|
30 |
+
padding: 10px;
|
31 |
+
box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.15);
|
32 |
+
}
|
33 |
+
|
34 |
+
.custom-image-container {
|
35 |
+
position: relative;
|
36 |
+
width: 100%;
|
37 |
+
margin-bottom: 0em;
|
38 |
+
overflow: hidden;
|
39 |
+
border-radius: 10px;
|
40 |
+
transition: transform .7s;
|
41 |
+
/* Smooth transition for the container */
|
42 |
+
}
|
43 |
+
|
44 |
+
.custom-image-container:hover {
|
45 |
+
transform: scale(1.05);
|
46 |
+
/* Scale the container on hover */
|
47 |
+
}
|
48 |
+
|
49 |
+
.custom-image-container:hover .custom-image {
|
50 |
+
opacity: 0
|
51 |
+
}
|
52 |
+
.custom-image-container:hover
|
53 |
+
.hover-image {
|
54 |
+
opacity: 1;
|
55 |
+
}
|
56 |
+
|
57 |
+
.custom-image {
|
58 |
+
width: 100%;
|
59 |
+
height: auto;
|
60 |
+
object-fit: cover;
|
61 |
+
border-radius: 10px;
|
62 |
+
transition: transform .7s, opacity .5s;
|
63 |
+
margin-bottom: 0em;
|
64 |
+
}
|
65 |
+
|
66 |
+
.hover-image {
|
67 |
+
position: absolute;
|
68 |
+
top: 0;
|
69 |
+
left: 0;
|
70 |
+
opacity: 0;
|
71 |
+
transition: opacity .5s;
|
72 |
+
}
|
73 |
+
|
74 |
+
.nsfw-filter {
|
75 |
+
filter: blur(8px); /* Apply a blur effect */
|
76 |
+
transition: filter 0.3s ease; /* Smooth transition for the blur effect */
|
77 |
+
}
|
78 |
+
|
79 |
+
.custom-image-container:hover .nsfw-filter {
|
80 |
+
filter: none; /* Remove the blur effect on hover */
|
81 |
+
}
|
82 |
+
|
83 |
+
.overlay {
|
84 |
+
position: absolute;
|
85 |
+
bottom: 0;
|
86 |
+
left: 0;
|
87 |
+
right: 0;
|
88 |
+
color: white;
|
89 |
+
width: 100%;
|
90 |
+
height: 60%;
|
91 |
+
display: flex;
|
92 |
+
flex-direction: column;
|
93 |
+
justify-content: center;
|
94 |
+
align-items: center;
|
95 |
+
font-size: 1vw;
|
96 |
+
font-style: bold;
|
97 |
+
text-align: center;
|
98 |
+
opacity: 0;
|
99 |
+
/* Keep the text fully opaque */
|
100 |
+
background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0) 100%);
|
101 |
+
transition: opacity .5s;
|
102 |
+
}
|
103 |
+
.custom-image-container:hover .overlay {
|
104 |
+
opacity: 1;
|
105 |
+
/* Make the overlay always visible */
|
106 |
+
}
|
107 |
+
.overlay-text {
|
108 |
+
background: linear-gradient(45deg, #130c28, #ca76e2);
|
109 |
+
-webkit-background-clip: text;
|
110 |
+
color: transparent;
|
111 |
+
/* Fallback for browsers that do not support this effect */
|
112 |
+
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
|
113 |
+
/* Enhanced text shadow for better legibility */
|
114 |
+
|
115 |
+
.overlay-subtext {
|
116 |
+
font-size: 0.75em;
|
117 |
+
margin-top: 0.5em;
|
118 |
+
font-style: italic;
|
119 |
+
}
|
120 |
+
|
121 |
+
.overlay,
|
122 |
+
.overlay-subtext {
|
123 |
+
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
|
124 |
+
}
|
125 |
+
|
126 |
+
</style>
|
127 |
+
|
128 |
+
|
129 |
+
<table class="custom-table">
|
130 |
+
<tr>
|
131 |
+
<td>
|
132 |
+
<div class="custom-image-container">
|
133 |
+
<div class="image-wrapper">
|
134 |
+
<img class="custom-image" src="sample/table/th-1.png" alt="sample1">
|
135 |
+
<img class="hover-image" src="sample/table/1.png" alt="sample1">
|
136 |
+
<div class="overlay" style="font-size: 1vw; font-style: bold;">
|
137 |
+
Stream in the forest
|
138 |
+
<div class="overlay-subtext" style="font-size: 0.75em; font-style: italic;">"by KBlueLeaf"</div>
|
139 |
+
</div>
|
140 |
+
</div>
|
141 |
+
</div>
|
142 |
+
</td>
|
143 |
+
<td>
|
144 |
+
<div class="custom-image-container">
|
145 |
+
<div class="image-wrapper">
|
146 |
+
<img class="custom-image" src="sample/table/th-2-1.png" alt="sample2">
|
147 |
+
<img class="hover-image" src="sample/table/2-1.png" alt="sample2">
|
148 |
+
<div class="overlay" style="font-size: 1vw; font-style: bold;">
|
149 |
+
The rise
|
150 |
+
<div class="overlay-subtext" style="font-size: 0.75em; font-style: italic;">"by KBlueLeaf"</div>
|
151 |
+
</div>
|
152 |
+
</div>
|
153 |
+
</div>
|
154 |
+
<table class="custom-table" style="margin: 0; padding: 0;">
|
155 |
+
<tr>
|
156 |
+
<td style="margin-top: 0; padding-top: 0; padding-left: 0;">
|
157 |
+
<div class="custom-image-container">
|
158 |
+
<div class="image-wrapper">
|
159 |
+
<img class="custom-image" src="sample/table/th-2-2-1.png" alt="sample3">
|
160 |
+
<img class="hover-image" src="sample/table/2-2-1.png" alt="sample3">
|
161 |
+
<div class="overlay" style="font-size: 1vw; font-style: bold;">
|
162 |
+
Looking back
|
163 |
+
<div class="overlay-subtext" style="font-size: 0.75em; font-style: italic;">"by KBlueLeaf"</div>
|
164 |
+
</div>
|
165 |
+
</div>
|
166 |
+
</div>
|
167 |
+
</td>
|
168 |
+
<td style="margin-top: 0; padding-top: 0; padding-right: 0;">
|
169 |
+
<div class="custom-image-container">
|
170 |
+
<div class="image-wrapper">
|
171 |
+
<img class="custom-image" src="sample/table/th-2-2-2-1.png" alt="sample4">
|
172 |
+
<img class="hover-image" src="sample/table/2-2-2-1.png" alt="sample4">
|
173 |
+
<div class="overlay" style="font-size: 1vw; font-style: bold;">
|
174 |
+
Flower
|
175 |
+
<div class="overlay-subtext" style="font-size: 0.75em; font-style: italic;">"by KBlueLeaf"</div>
|
176 |
+
</div>
|
177 |
+
</div>
|
178 |
+
</div>
|
179 |
+
<div class="custom-image-container">
|
180 |
+
<div class="image-wrapper">
|
181 |
+
<img class="custom-image" src="sample/table/th2-2-2-2-2.png" alt="sample5">
|
182 |
+
<img class="hover-image" src="sample/table/2-2-2-2.png" alt="sample5">
|
183 |
+
<div class="overlay" style="font-size: 1vw; font-style: bold;">
|
184 |
+
"The Cat"
|
185 |
+
<div class="overlay-subtext" style="font-size: 0.75em; font-style: italic;">"by KBlueLeaf"</div>
|
186 |
+
</div>
|
187 |
+
</div>
|
188 |
+
</div>
|
189 |
+
</td>
|
190 |
+
</tr>
|
191 |
+
</table>
|
192 |
+
</td>
|
193 |
+
</tr>
|
194 |
+
</table>
|
195 |
|
196 |
## Introduction
|
197 |
|