Skip to content

Commit c2260a9

Browse files
katshann-raspberrymudge
authored andcommitted
Further tweaks and clearfix style for adjacent images.
1 parent 4de3d3a commit c2260a9

File tree

2 files changed

+37
-49
lines changed

2 files changed

+37
-49
lines changed

documentation/asciidoc/accessories/m2-hat-plus/about.adoc

Lines changed: 11 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,19 @@
11
[[m2-hat-plus]]
2-
[%notitle]
32
== About
43

54
[.clearfix]
65
--
76
[.left]
87
.The Raspberry Pi M.2 HAT+
9-
image::images/m2-hat-plus.jpg[width="50%"]
8+
image::images/m2-hat-plus.jpg[width="100%"]
109
[.left]
1110
.The Raspberry Pi M.2 HAT+ Compact TODO
12-
image::images/m2-hat-plus.jpg[width="50%"]
11+
image::images/m2-hat-plus.jpg[width="100%"]
1312
--
1413

1514
The Raspberry Pi M.2 HAT+ M Key and M.2 HAT+ Compact M Key enable you to connect M.2 peripherals such as NVMe drives and other PCIe accessories to Raspberry Pi 5's PCIe interface.
1615

17-
The M.2 HAT+ and M.2 HAT+ Compact adapter boards convert between the PCIe connector on Raspberry Pi 5 and a single M.2 M key edge connector.
18-
19-
* The M.2 HAT+ supports any device that uses the 2230 or 2242 form factor.
20-
* The M.2 HAT+ Compact supports any device that uses the 2230 form factor.
16+
The M.2 HAT+ and M.2 HAT+ Compact adapter boards convert between the PCIe connector on Raspberry Pi 5 and a single M.2 M key edge connector. The M.2 HAT+ supports any device that uses the 2230 or 2242 form factor; the M.2 HAT+ Compact supports any device that uses the 2230 form factor.
2117

2218
We provide the M.2 HAT+ in a standard and a compact format to serve different use cases:
2319

@@ -27,34 +23,23 @@ We provide the M.2 HAT+ in a standard and a compact format to serve different us
2723

2824
== Features
2925

30-
The M.2 HAT+ has the following features:
26+
The M.2 HAT+ and M.2 HAT+ Compact both have the following features:
3127

3228
* Single-lane PCIe 2.0 interface (500 MB/s peak transfer rate)
3329
* Supports devices that use the M.2 M key edge connector
3430
* Supplies up to 3A to connected M.2 devices
3531
* Power and activity LEDs
3632
* Conforms to the https://datasheets.raspberrypi.com/hat/hat-plus-specification.pdf[Raspberry Pi HAT+ specification], which allows Raspberry Pi OS to automatically detect the HAT+ and any connected devices
37-
* Supports devices with the 2230 or 2242 form factor
3833
* Includes:
3934
** ribbon cable
40-
** 16mm GPIO stacking header
41-
** 4 threaded spacers
42-
** 8 screws
35+
** Threaded spacers
36+
** Screws
4337
** 1 knurled double-flanged drive attachment screw to secure and support the M.2 peripheral
4438

45-
The M.2 HAT+ Compact has the following features:
39+
The M.2 HAT+ and M.2 HAT+ Compact differ in the following ways:
4640

47-
* Single-lane PCIe 2.0 interface (500 MB/s peak transfer rate)
48-
* Supports devices that use the M.2 M key edge connector
49-
* Supplies up to 3A to connected M.2 devices
50-
* Power and activity LEDs
51-
* Conforms to the https://datasheets.raspberrypi.com/hat/hat-plus-specification.pdf[Raspberry Pi HAT+ specification], which allows Raspberry Pi OS to automatically detect the HAT+ and any connected devices
52-
* Supports devices with the 2230 form factor
53-
* Includes:
54-
** ribbon cable
55-
** 3 threaded spacers
56-
** 6 screws
57-
** 1 knurled double-flanged drive attachment screw to secure and support the M.2 peripheral
41+
* M.2 HAT+ supports devices with the 2230 or 2242 form factor; M.2 HAT+ Compact only supports the 2030 form factor.
42+
* M.2 HAT+ also includes a 16mm GPIO stacking header; M.2 HAT+ Compact does not include this component.
5843

5944
[[m2-hat-plus-installation]]
6045
== Install
@@ -104,7 +89,7 @@ Then, reboot with `sudo reboot`.
10489
[[standard-installation]]
10590
=== Install the M.2 HAT+
10691

107-
Follow these steps to install the M.2 HAT+. To install the M.2 HAT+ Compact go to xref:#compact-installation[Install the M.2 HAT+ Compact] instead.
92+
Follow these steps to install the M.2 HAT+. To install the M.2 HAT+ Compact go to <<compact-installation>> instead.
10893

10994
==== (Optional) Install the Active Cooler
11095

@@ -165,7 +150,7 @@ image::images/m2-hat-plus-installation-07.png[width="80%"]
165150
[[compact-installation]]
166151
=== Install the M.2 HAT+ Compact
167152

168-
Follow these steps to install the M.2 HAT+ Compact. To install the M.2 HAT+ go to xref:#standard-installation[Install the M.2 HAT+] instead.
153+
Follow these steps to install the M.2 HAT+ Compact. To install the M.2 HAT+ go to <<standard-installation>> instead.
169154

170155
==== Install the mounting hardware
171156

jekyll-assets/css/style.css

Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ h1 {
102102
background: transparent;
103103
}
104104

105-
body, article, div, nav, h1, h2, h3, h4, p {
105+
body, article, div, nav, h1, h2, h3, h4, p {
106106
display: block;
107107
font-family: 'Roboto', sans-serif;
108108
margin: 0;
@@ -690,7 +690,7 @@ nav#mobile-contents li {
690690
padding-left: 1rem;
691691
}
692692
693-
#content h5,
693+
#content h5,
694694
#content h6 {
695695
position: relative;
696696
margin-left: -1rem;
@@ -701,11 +701,11 @@ nav#mobile-contents li {
701701
display: none;
702702
}
703703
704-
h1 .anchor,
705-
h2 .anchor,
706-
h3 .anchor,
707-
h4 .anchor,
708-
h5 .anchor,
704+
h1 .anchor,
705+
h2 .anchor,
706+
h3 .anchor,
707+
h4 .anchor,
708+
h5 .anchor,
709709
h6 .anchor {
710710
position: absolute;
711711
top: 0px;
@@ -718,7 +718,7 @@ h6 .anchor {
718718
padding-top: .05em;
719719
}
720720
721-
h1 .anchor,
721+
h1 .anchor,
722722
h2 .anchor {
723723
top: -5px;
724724
}
@@ -727,27 +727,27 @@ h3 .anchor {
727727
top: -3px;
728728
}
729729
730-
h4 .anchor,
731-
h5 .anchor,
730+
h4 .anchor,
731+
h5 .anchor,
732732
h6 .anchor {
733733
top: -2px;
734734
}
735735
736-
h1:hover .anchor,
737-
h2:hover .anchor,
738-
h3:hover .anchor,
739-
h4:hover .anchor,
740-
h5:hover .anchor,
736+
h1:hover .anchor,
737+
h2:hover .anchor,
738+
h3:hover .anchor,
739+
h4:hover .anchor,
740+
h5:hover .anchor,
741741
h6:hover .anchor {
742742
color: var(--accent);
743743
visibility: visible;
744744
}
745745
746-
h1 .anchor::before,
747-
h2 .anchor::before,
748-
h3 .anchor::before,
749-
h4 .anchor::before,
750-
h5 .anchor::before,
746+
h1 .anchor::before,
747+
h2 .anchor::before,
748+
h3 .anchor::before,
749+
h4 .anchor::before,
750+
h5 .anchor::before,
751751
h6 .anchor::before {
752752
content: "\00a7";
753753
}
@@ -1210,7 +1210,7 @@ div.memitem {
12101210
padding: 10px;
12111211
}
12121212

1213-
table.params,
1213+
table.params,
12141214
p.returns {
12151215
font-weight: 300;
12161216
}
@@ -1547,7 +1547,7 @@ input:not(:checked) ~ li ~ .itemcontents .sectlevel1 {
15471547
footer,
15481548
div.toptitle,
15491549
div.toptitle h1,
1550-
nav#contents,
1550+
nav#contents,
15511551
div#search-container,
15521552
div#tab-menu,
15531553
ul#tab-container li,
@@ -1609,7 +1609,7 @@ a.box span {
16091609
text-align: center;
16101610
}
16111611

1612-
a.box span.title,
1612+
a.box span.title,
16131613
a.box[href*='/pico-sdk/'] span.title {
16141614
color: var(--textcolor);
16151615
font-size: 1.1em;
@@ -1720,3 +1720,6 @@ ul#tab-container li.selected a {
17201720
width: 100%;
17211721
}
17221722
}
1723+
1724+
.clearfix::before,.clearfix::after,.float-group::before,.float-group::after{content:"";display:table}
1725+
.clearfix::after,.float-group::after{clear:both}

0 commit comments

Comments
 (0)