pettankoutei commited on
Commit
9e9b50c
·
verified ·
1 Parent(s): 080e463

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +35 -74
README.md CHANGED
@@ -3,15 +3,8 @@ license: unknown
3
  ---
4
 
5
  <style>
6
- .title-container {
7
- display: flex;
8
- justify-content: center;
9
- align-items: center;
10
- height: 100vh; /* Adjust this value to position the title vertically */
11
- }
12
-
13
  .title {
14
- font-size: 2.5em;
15
  text-align: center;
16
  color: #333;
17
  font-family: "lucida sans unicode", "lucida grande", sans-serif;
@@ -28,85 +21,53 @@ license: unknown
28
  -webkit-background-clip: text;
29
  -webkit-text-fill-color: transparent;
30
  }
31
-
32
- .custom-table {
33
- table-layout: fixed;
34
- width: 100%;
35
- border-collapse: collapse;
36
- margin-top: 0em;
37
- }
38
-
39
- .custom-table td {
40
- width: 50%;
41
- vertical-align: top;
42
- padding: 10px;
43
- box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.15);
44
- }
45
- .custom-image-container {
46
- position: relative;
47
- width: 100%;
48
- margin-bottom: 0em;
49
- overflow: hidden;
50
- border-radius: 10px;
51
- transition: transform .7s;
52
- /* Smooth transition for the container */
53
  }
54
- .custom-image-container:hover {
55
- transform: scale(1.05);
56
- /* Scale the container on hover */
 
 
57
  }
58
- .custom-image {
59
- width: 100%;
60
- height: auto;
61
- object-fit: cover;
62
- border-radius: 10px;
63
- transition: transform .7s;
64
- margin-bottom: 0em;
 
65
  }
66
- .custom-button {
67
- width: auto;
68
- height: 100px;
69
- object-fit: cover;
70
- border-radius: 10px;
71
- transition: transform .7s;
72
- margin-bottom: 0em;
73
- display: block;
74
- margin-left: auto;
75
- margin-right: auto;
76
  }
77
-
78
  </style>
79
  <h1 class="title">
80
  <span>Pettanko Rouramashin PonySR v1</span>
81
  </h1>
82
- <table class="custom-table">
83
- <tr>
84
- <td>
85
- <div class="custom-image-container">
86
  <img class="custom-image" src="https://huggingface.co/pettankoutei/Loras/resolve/main/PonyDiff_v6/other_samples/PonySR_v1/sample_01.png" alt="sample1">
87
  </div>
88
- </td>
89
- <td>
90
- <div class="custom-image-container">
91
  <img class="custom-image" src="https://huggingface.co/pettankoutei/Loras/resolve/main/PonyDiff_v6/other_samples/PonySR_v1/sample_02.png" alt="sample2">
92
  </div>
93
- </td>
94
- <td>
95
- <div class="custom-image-container">
96
  <img class="custom-image" src="https://huggingface.co/pettankoutei/Loras/resolve/main/PonyDiff_v6/other_samples/PonySR_v1/sample_03.png" alt="sample1">
97
- </div>
98
- </td>
99
- </tr>
100
- </table>
101
- <table class="custom-table">
102
- <tr>
103
- <td>
104
- <div class="custom-image-container">
105
- <a href="https://www.buymeacoffee.com/pettankoutei" target="_blank"><img class="custom-button" src="https://huggingface.co/pettankoutei/Loras/resolve/main/bmac_button.png" alt="Buy me a cookie!" style="height: 100px;" /></a>
106
- </div>
107
- </td>
108
- </tr>
109
- </table>
110
 
111
  > Support me on Buy Me a Coffee! for early access of new content and exclusive models!
112
 
 
3
  ---
4
 
5
  <style>
 
 
 
 
 
 
 
6
  .title {
7
+ font-size: 3.5em;
8
  text-align: center;
9
  color: #333;
10
  font-family: "lucida sans unicode", "lucida grande", sans-serif;
 
21
  -webkit-background-clip: text;
22
  -webkit-text-fill-color: transparent;
23
  }
24
+ .image-container {
25
+ display: flex;
26
+ justify-content: center; /* Center the images */
27
+ gap: 10px; /* Adjust the gap between images */
28
+ position: relative; /* Position relative for absolute positioning of children */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  }
30
+
31
+ .image-wrapper {
32
+ position: relative; /* Position relative for the wrapper */
33
+ overflow: visible; /* Allow overflow for scaling */
34
+ width: 30%; /* Set a fixed width for the wrapper */
35
  }
36
+
37
+ .image-wrapper img {
38
+ width: 100%; /* Make the image fill the wrapper */
39
+ height: auto; /* Maintain aspect ratio */
40
+ transition: transform 0.3s ease; /* Smooth transition for the image */
41
+ position: relative; /* Position relative for z-index control */
42
+ z-index: 0; /* Default z-index */
43
+ border-radius: 15px; /* Rounded corners */
44
  }
45
+
46
+ .image-wrapper:hover img {
47
+ transform: scale(1.4); /* Scale effect on hover */
48
+ z-index: 10; /* Bring the hovered image to the front */
 
 
 
 
 
 
49
  }
 
50
  </style>
51
  <h1 class="title">
52
  <span>Pettanko Rouramashin PonySR v1</span>
53
  </h1>
54
+ <div class="image-container">
55
+ <div class="image-wrapper">
 
 
56
  <img class="custom-image" src="https://huggingface.co/pettankoutei/Loras/resolve/main/PonyDiff_v6/other_samples/PonySR_v1/sample_01.png" alt="sample1">
57
  </div>
58
+ <div class="image-wrapper">
 
 
59
  <img class="custom-image" src="https://huggingface.co/pettankoutei/Loras/resolve/main/PonyDiff_v6/other_samples/PonySR_v1/sample_02.png" alt="sample2">
60
  </div>
61
+ <div class="image-wrapper">
 
 
62
  <img class="custom-image" src="https://huggingface.co/pettankoutei/Loras/resolve/main/PonyDiff_v6/other_samples/PonySR_v1/sample_03.png" alt="sample1">
63
+ </div>
64
+ </div>
65
+ <div class="image-container">
66
+ <div class="image-wrapper">
67
+ <a href="https://www.buymeacoffee.com/pettankoutei" target="_blank"><img class="custom-button" src="https://huggingface.co/pettankoutei/Loras/resolve/main/bmac_button.png" alt="Buy me a cookie!" /></a>
68
+ </div>
69
+ </div>
70
+
 
 
 
 
 
71
 
72
  > Support me on Buy Me a Coffee! for early access of new content and exclusive models!
73