Skip to content

Commit

Permalink
Merge pull request #2844 from raspberrypi/iss-2811
Browse files Browse the repository at this point in the history
Add release version to all pico-sdk pages
  • Loading branch information
Alasdair Allan authored Mar 7, 2023
2 parents 0d27f00 + bfcdb87 commit b160048
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 18 deletions.
3 changes: 3 additions & 0 deletions jekyll-assets/_includes/tabs.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@
</ul>
</nav>
</div>
{% if page.dir contains "pico-sdk" %}
<p id="release">Release {{ site.doxygen_release }}</p>
{% endif %}
4 changes: 0 additions & 4 deletions jekyll-assets/_layouts/boxes.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
{% endif %}
{% include tabs.html %}

{% if page.dir contains "pico-sdk" %}
<p id="release">Release {{ site.doxygen_release }}</p>
{% endif %}

<div id="container">
<section id="box-content">
{% for item in site.data.index.tabs %}
Expand Down
14 changes: 0 additions & 14 deletions jekyll-assets/css/boxes.css
Original file line number Diff line number Diff line change
Expand Up @@ -64,24 +64,10 @@ div.subtitle.error-message p a {
color: #fff;
}

p#release {
text-align: right;
padding-top: 10px;
color: #888888;
font-size: 0.9em;
width: 1200px;
margin-left: auto;
margin-right: auto;
}

#container {
justify-content: center;
}

p#release + #container {
margin-top: 75px;
}

@media screen and (max-width: 1219px) {
p#release {
width: 800px;
Expand Down
14 changes: 14 additions & 0 deletions jekyll-assets/css/tabs.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,20 @@ ul#tab-container li.selected a {
color: #343434;
}

p#release {
text-align: right;
padding-top: 10px;
color: #888888;
font-size: 0.9em;
width: 1200px;
margin-left: auto;
margin-right: auto;
}

p#release + #container {
margin-top: 75px;
}

@media screen and (max-width: 912px) {
div#tab-menu {
height: auto;
Expand Down

0 comments on commit b160048

Please sign in to comment.