Skip to content

Commit 48075e8

Browse files
committed
Center the bottom four icons and change carousel control's color
1 parent 4a2b0e3 commit 48075e8

File tree

3 files changed

+15
-16
lines changed

3 files changed

+15
-16
lines changed

_includes/carousel.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,13 @@
8888
cursor: pointer;
8989
border-width: 5px 5px 0 0;
9090
border-style: solid;
91-
border-color: #fafafa;
91+
border-color: #473838;
9292
opacity: 0.35;
93-
opacity: 1;
9493
outline: 0;
9594
z-index: 3;
9695
}
9796
.carousel__control:hover {
98-
opacity: 1;
97+
opacity: 0.5;
9998
}
10099
.carousel__control--backward {
101100
left: 20px;
@@ -168,7 +167,7 @@
168167
width: 30px;
169168
}
170169
.carousel__indicator {
171-
background-color: #fafafa;
170+
background-color: #473838;
172171
}
173172
{% for item in page.carousels[number].images %}
174173
.carousel__slide:nth-of-type({{ forloop.index }}),

_sass/_theme.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ select {
629629
}
630630

631631
//Three icons of the main page (as in QuPath)
632-
.three-icon-frame {
632+
.four-icon-frame {
633633
display: block;
634634
position: relative;
635635
align-content: center;
@@ -703,12 +703,12 @@ ul.feature-icons {
703703
margin-top: 20px;
704704
max-width: 80%;
705705
}
706-
.three-icons-title:link {
706+
.four-icons-title:link {
707707
color: $dark-grey;
708708
margin-bottom: 5px;
709709
text-decoration: none;
710710
}
711-
.three-icons-text {
711+
.four-icons-text {
712712
position: relative;
713713
max-width: 200px;
714714
overflow: auto;

index.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -298,39 +298,39 @@ python -c 'import torch; print(torch.cuda.is_available())'
298298
</div>
299299

300300

301-
<div id="three-icons" class="three-icon-frame last_item">
301+
<div id="four-icons" class="three-icon-frame last_item central_width">
302302
<ul class="feature-icons">
303303
<li>
304304
<a href="https://biapy.readthedocs.io/en/latest/" target="_blank" rel="noopener noreferrer" tabindex="-1" aria-label="follow this link to learn more about biapy" class="icons-color blue1-color">
305305
<img src="../assets/images/icons/file-lines-regular.svg" class="docs-icon" alt="docs icon">
306306
</a>
307-
<h4><a href="https://biapy.readthedocs.io/en/latest/" target="_blank" rel="noopener noreferrer" class="three-icons-title" aria-label="follow this link to learn more about biapy">Docs</a>
307+
<h4><a href="https://biapy.readthedocs.io/en/latest/" target="_blank" rel="noopener noreferrer" class="four-icons-title" aria-label="follow this link to learn more about biapy">Docs</a>
308308
</h4>
309-
<p class="three-icons-text">Find BiaPy step-by-step guides, video tutorials and more on <a href="https://biapy.readthedocs.io/en/latest/" target="_blank" rel="noopener noreferrer">ReadTheDocs</a></p>
309+
<p class="four-icons-text">Find BiaPy step-by-step guides, video tutorials and more on <a href="https://biapy.readthedocs.io/en/latest/" target="_blank" rel="noopener noreferrer">ReadTheDocs</a></p>
310310
</li>
311311
<li>
312312
<a href="https://forum.image.sc/tag/biapy" target="_blank" rel="noopener noreferrer" tabindex="-1" aria-label="follow this link to access discussions on the image.sc forum" class="icons-color blue2-color">
313313
<img src="../assets/images/icons/comments-regular.svg" class="comment-icon" alt="commnets icon">
314314
</a>
315-
<h4><a href="https://forum.image.sc/tag/biapy" target="_blank" rel="noopener noreferrer" class="three-icons-title" aria-label="follow this link to access discussions on the image.sc forum">Discuss</a>
315+
<h4><a href="https://forum.image.sc/tag/biapy" target="_blank" rel="noopener noreferrer" class="four-icons-title" aria-label="follow this link to access discussions on the image.sc forum">Discuss</a>
316316
</h4>
317-
<p class="three-icons-text">Join other BiaPy users and search discussions on <a href="https://forum.image.sc/tag/biapy" target="_blank" rel="noopener noreferrer">image.sc</a></p>
317+
<p class="four-icons-text">Join other BiaPy users and search discussions on <a href="https://forum.image.sc/tag/biapy" target="_blank" rel="noopener noreferrer">image.sc</a></p>
318318
</li>
319319
<li>
320320
<a href="https://github.com/BiaPyX/BiaPy" target="_blank" rel="noopener noreferrer" tabindex="-1" aria-label="follow this link to the biapy github code base" class="icons-color blue3-color">
321321
<img src="../assets/images/icons/code-solid.svg" class="code-icon" alt="code icon">
322322
</a>
323-
<h4><a href="https://github.com/BiaPyX/BiaPy" target="_blank" rel="noopener noreferrer" class="three-icons-title" aria-label="follow this link to the biapy github code base">Develop</a>
323+
<h4><a href="https://github.com/BiaPyX/BiaPy" target="_blank" rel="noopener noreferrer" class="four-icons-title" aria-label="follow this link to the biapy github code base">Develop</a>
324324
</h4>
325-
<p class="three-icons-text">Check out BiaPy's source code on <a href="https://github.com/BiaPyX/BiaPy" target="_blank" rel="noopener noreferrer">GitHub</a></p>
325+
<p class="four-icons-text">Check out BiaPy's source code on <a href="https://github.com/BiaPyX/BiaPy" target="_blank" rel="noopener noreferrer">GitHub</a></p>
326326
</li>
327327
<li>
328328
<a href="https://biapy.readthedocs.io/en/latest/get_started/faq.html" target="_blank" rel="noopener noreferrer" tabindex="-1" aria-label="follow this link to the biapy FAQ & Troubleshooting section" class="icons-color blue4-color">
329329
<img src="../assets/images/icons/troubleshooting.svg" class="code-icon" alt="code icon">
330330
</a>
331-
<h4><a href="https://biapy.readthedocs.io/en/latest/get_started/faq.html" target="_blank" rel="noopener noreferrer" class="three-icons-title" aria-label="follow this link to the biapy FAQ & Troubleshooting section">Troubleshooting</a>
331+
<h4><a href="https://biapy.readthedocs.io/en/latest/get_started/faq.html" target="_blank" rel="noopener noreferrer" class="four-icons-title" aria-label="follow this link to the biapy FAQ & Troubleshooting section">Troubleshooting</a>
332332
</h4>
333-
<p class="three-icons-text">Check out usage tips and documented errors in our <a href="https://biapy.readthedocs.io/en/latest/get_started/faq.html" target="_blank" rel="noopener noreferrer">FAQ & Troubleshooting</a> section</p>
333+
<p class="four-icons-text">Check out usage tips and documented errors in our <a href="https://biapy.readthedocs.io/en/latest/get_started/faq.html" target="_blank" rel="noopener noreferrer">FAQ & Troubleshooting</a> section</p>
334334
</li>
335335
</ul>
336336
</div>

0 commit comments

Comments
 (0)