Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions jekyll-assets/_layouts/boxes.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,31 @@ <h1><a href="/documentation/"><b>Raspberry Pi</b> Documentation</a></h1>
</section>
</div>

<div id="related" role="complementary">
<div id="related-title">
<h2>Related resources</h2>
</div>
<div id="related-container" role="complementary">
<section id="related-content">
<a class="box" href="https://pip.raspberrypi.com/">
<span><img src="/documentation/images/full-sized/PIP.png" width="121" height="121" alt=""></span>
<span class="title">Product Information Portal</span>
<span>Compliance documentation</span>
</a>
<a class="box" href="https://www.raspberrypi.com/tutorials/">
<span><img src="/documentation/images/full-sized/Tutorials.png" width="121" height="121" alt=""></span>
<span class="title">Tutorials</span>
<span>Hands-on hardware and software tutorials</span>
</a>
<a class="box" href="https://forums.raspberrypi.com/">
<span><img src="/documentation/images/full-sized/Forums.png" width="121" height="121" alt=""></span>
<span class="title">Forums</span>
<span>User and product support forums</span>
</a>
</section>
</div>
</div>

{% include legal.html %}
{% include footer.html %}
{% include search.html %}
Expand Down
34 changes: 26 additions & 8 deletions jekyll-assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -234,13 +234,25 @@ div.subtitle p {
margin-right: 0px;
}

#container .section {
#container .section,
#related-container .section {
display: flex;
flex-direction: column;
width: 100%;
}

#docs-content #container {
#related-title{
width: 100%;
text-align: center;
}

#related-title h2{
padding-top: 20px;
font-size: 1.5em;
}

#docs-content #container,
#docs-content #related-container {
align-items: start;
}

Expand Down Expand Up @@ -520,7 +532,8 @@ li > a {
color: var(--subtle-text);
}

#container section#content {
#container section#content,
#related-container section#content {
flex-grow: 1;
}

Expand Down Expand Up @@ -1443,7 +1456,8 @@ input:not(:checked) ~ li ~ .itemcontents .sectlevel1 {
max-width: 100vw;
}

#container {
#container,
#related-container {
justify-content: center;
flex-wrap: wrap;
margin-left: 3px;
Expand Down Expand Up @@ -1544,7 +1558,8 @@ input:not(:checked) ~ li ~ .itemcontents .sectlevel1 {
#content {
margin-left: 0px;
}
#container {
#container,
#related-container {
}
}

Expand All @@ -1560,7 +1575,8 @@ input:not(:checked) ~ li ~ .itemcontents .sectlevel1 {
ul#tab-container li a {
display: none !important;
}
div#container {
div#container,
div#related-container {
margin-left: 0;
margin-right: 0;
justify-content: center !important;
Expand All @@ -1581,7 +1597,8 @@ input:not(:checked) ~ li ~ .itemcontents .sectlevel1 {
box-sizing: border-box;
}

section#box-content {
section#box-content,
section#related-content {
display: flex;
flex-wrap: wrap;
flex-direction: row;
Expand Down Expand Up @@ -1639,7 +1656,8 @@ div.subtitle.error-message p a {
color: var(--bg);
}

#container {
#container,
#related-container {
display: flex;
justify-content: center;
margin-right: 10px;
Expand Down