move install instructions button next to release notes link
This commit is contained in:
parent
be389c6db4
commit
21ef7f6b56
2 changed files with 15 additions and 11 deletions
|
|
@ -45,9 +45,14 @@
|
|||
Older bootloaders cannot load the firmware. See <i>Update UF2 Bootloader</i> below.</b>
|
||||
</p>
|
||||
{% endif %}
|
||||
<p>
|
||||
<a href="https://github.com/adafruit/circuitpython/releases/tag/{{ version.version }}">Release Notes for {{ version.version }}</a>
|
||||
</p>
|
||||
<div class="release-details">
|
||||
<p>
|
||||
<a href="https://github.com/adafruit/circuitpython/releases/tag/{{ version.version }}">Release Notes for {{ version.version }}</a>
|
||||
</p>
|
||||
{% if page.download_instructions != nil and page.download_instructions != "" %}
|
||||
<a class="download-button install-instructions-button" target="_blank" href="{{ page.download_instructions }}">INSTALL INSTRUCTIONS<i class="fas fa-arrow-circle-right" aria-hidden="true"></i></a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="download-details">
|
||||
{% comment %}
|
||||
Create a list of language codes and names so it can be sorted.
|
||||
|
|
@ -142,12 +147,6 @@
|
|||
version="{{ version.version }}"
|
||||
>OPEN INSTALLER <i class="fas fa-magic" aria-hidden="true"></i></button>
|
||||
{% endif %}
|
||||
{% if page.download_instructions != nil and page.download_instructions != "" %}
|
||||
<div>
|
||||
<a class="download-button" href="{{ page.download_instructions }}">INSTALLATION INSTRUCTIONS<i class="fas fa-arrow-circle-right" aria-hidden="true"></i></a>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% if version.modules %}
|
||||
|
|
|
|||
|
|
@ -58,7 +58,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
.download-details {
|
||||
.install-instructions-button{
|
||||
width: 100%;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.download-details, .release-details {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
|
|
@ -192,7 +197,7 @@
|
|||
grid-template-columns: 1fr 1fr;
|
||||
|
||||
.download {
|
||||
.download-details {
|
||||
.download-details, .release-details {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue