Add Pi orientation graphic to legend

This commit is contained in:
Phil Howard 2020-08-20 00:25:28 +01:00
parent 77d8f24149
commit 6d1171cb49
4 changed files with 67 additions and 46 deletions

View File

@ -4,6 +4,7 @@
{{nav}}
</nav>
<div id="legend">
<div>
<h2>Legend</h2>
<p>Orientate your Pi with the GPIO on the right and the HDMI port on the left.</p>
<ul>
@ -51,6 +52,8 @@
</li>
</ul>
</div>
<img src="{{resource_url}}pi-orientation.png" />
</div>
</div>
<div id="content">
<div id="interfaces">

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

View File

@ -602,6 +602,14 @@ nav {
margin-top:5px;
margin-bottom:5px;
}
div {
width: 300px;
float: left;
display: block;
}
img {width:196px;height:auto;margin-top:4px;
float: left;
display: block;}
p {
font-size:$base-font-size * 0.7;
padding: 0 10px 10px 0;

View File

@ -459,6 +459,16 @@ nav {
#legend h2 {
margin-top: 5px;
margin-bottom: 5px; }
#legend div {
width: 300px;
float: left;
display: block; }
#legend img {
width: 196px;
height: auto;
margin-top: 4px;
float: left;
display: block; }
#legend p {
font-size: 0.84em;
padding: 0 10px 10px 0; }