KBlueLeaf commited on
Commit
d7c5680
1 Parent(s): 484dc44

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -5
README.md CHANGED
@@ -22,9 +22,10 @@ join us: https://discord.gg/tPBsKDyRR5
22
  .image-viewer label {padding: 18px;background-color: #B398F5;background-size: cover;background-position: center;border: 1px solid #ccc;cursor: pointer;color: black;margin: 9px;}
23
  .image-viewer label:hover {background-color: #4C88F5;padding: 21px;margin: 6px;}
24
  .image-viewer input[type="radio"]:checked + label {background-color: #6296F5;padding: 27px;margin: 0px;}
25
- .image-container {position: relative;width: 100%;height: 50vh;}
26
- .image-container img {position: absolute;top: 0;left: 0;height: 100%;width: 100%;object-fit: contain;opacity: 0;transition: opacity 0.5s ease;}
27
- #image1:checked ~ .image-container img:nth-child(1),#image2:checked ~ .image-container img:nth-child(2),#image3:checked ~ .image-container img:nth-child(3),#image4:checked ~ .image-container img:nth-child(4),#image5:checked ~ .image-container img:nth-child(5),#image6:checked ~ .image-container img:nth-child(6),#image7:checked ~ .image-container img:nth-child(7),#image8:checked ~ .image-container img:nth-child(8),#image9:checked ~ .image-container img:nth-child(9) {opacity: 1;}
 
28
  #image1l{background-image: url("/KBlueLeaf/Kohaku-XL-Zeta/resolve/main/sample-images/02062.jpg");}
29
  #image2l{background-image: url("/KBlueLeaf/Kohaku-XL-Zeta/resolve/main/sample-images/02081.jpg");}
30
  #image3l{background-image: url("/KBlueLeaf/Kohaku-XL-Zeta/resolve/main/sample-images/02082.jpg");}
@@ -48,13 +49,14 @@ join us: https://discord.gg/tPBsKDyRR5
48
  <label for="image5" id="image5l"></label>
49
  <input type="radio" id="image6" name="image-switcher">
50
  <label for="image6" id="image6l"></label>
51
- <input type="radio" id="image7" name="image-switcher">
52
  <label for="image7" id="image7l"></label>
53
- <input type="radio" id="image8" name="image-switcher" checked>
54
  <label for="image8" id="image8l"></label>
55
  <input type="radio" id="image9" name="image-switcher">
56
  <label for="image9" id="image9l"></label>
57
  <div class="image-container">
 
58
  <img src="sample-images/02062.jpg" alt="image1" />
59
  <img src="sample-images/02081.jpg" alt="image2" />
60
  <img src="sample-images/02082.jpg" alt="image3" />
@@ -66,7 +68,9 @@ join us: https://discord.gg/tPBsKDyRR5
66
  <img src="sample-images/02089.jpg" alt="image9" />
67
  </div>
68
  </div>
 
69
 
 
70
 
71
  ## Highlights
72
  - Resume from Kohaku-XL-Epsilon rev2
 
22
  .image-viewer label {padding: 18px;background-color: #B398F5;background-size: cover;background-position: center;border: 1px solid #ccc;cursor: pointer;color: black;margin: 9px;}
23
  .image-viewer label:hover {background-color: #4C88F5;padding: 21px;margin: 6px;}
24
  .image-viewer input[type="radio"]:checked + label {background-color: #6296F5;padding: 27px;margin: 0px;}
25
+ .image-container {position: relative;width: 100%;height: 50vh;margin: 1rem 1rem 0 0;}
26
+ .inner-container {position: absolute;width:100%;height: 100%;display: flex;align-items: center;justify-content: center;}
27
+ .inner-container img {border-radius: 10px;max-height: 100%;max-width: 100%;height: 0;width: 0;opacity: 0;transition: opacity 0.5s ease, height 0.25s ease, width 0.25s ease;}
28
+ #image1:checked ~ .image-container img:nth-child(1),#image2:checked ~ .image-container img:nth-child(2),#image3:checked ~ .image-container img:nth-child(3),#image4:checked ~ .image-container img:nth-child(4),#image5:checked ~ .image-container img:nth-child(5),#image6:checked ~ .image-container img:nth-child(6),#image7:checked ~ .image-container img:nth-child(7),#image8:checked ~ .image-container img:nth-child(8),#image9:checked ~ .image-container img:nth-child(9) {height: auto; width:auto; opacity: 1;}
29
  #image1l{background-image: url("/KBlueLeaf/Kohaku-XL-Zeta/resolve/main/sample-images/02062.jpg");}
30
  #image2l{background-image: url("/KBlueLeaf/Kohaku-XL-Zeta/resolve/main/sample-images/02081.jpg");}
31
  #image3l{background-image: url("/KBlueLeaf/Kohaku-XL-Zeta/resolve/main/sample-images/02082.jpg");}
 
49
  <label for="image5" id="image5l"></label>
50
  <input type="radio" id="image6" name="image-switcher">
51
  <label for="image6" id="image6l"></label>
52
+ <input type="radio" id="image7" name="image-switcher" checked>
53
  <label for="image7" id="image7l"></label>
54
+ <input type="radio" id="image8" name="image-switcher">
55
  <label for="image8" id="image8l"></label>
56
  <input type="radio" id="image9" name="image-switcher">
57
  <label for="image9" id="image9l"></label>
58
  <div class="image-container">
59
+ <div class="inner-container">
60
  <img src="sample-images/02062.jpg" alt="image1" />
61
  <img src="sample-images/02081.jpg" alt="image2" />
62
  <img src="sample-images/02082.jpg" alt="image3" />
 
68
  <img src="sample-images/02089.jpg" alt="image9" />
69
  </div>
70
  </div>
71
+ </div>
72
 
73
+ ---
74
 
75
  ## Highlights
76
  - Resume from Kohaku-XL-Epsilon rev2